Work in progress. Some documented features are not live yet.

Create credit

POST
/v1/credits

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/credits" \  -H "Content-Type: application/json" \  -d '{    "key": "string",    "name": "string",    "unit": "string"  }'
{  "revision": 1,  "id": "string",  "key": "string",  "name": "string",  "unit": "string",  "createdAt": 0}