API
GET/api/credit
AuthorizationBearer <token>

An Admin Key (tigby_admin_…) for Org-level calls, an Identity Key (tigby_id_…) for one Identity's own resources, or a console session (tigby_sess_…). Sent as Authorization: Bearer <key>.

In: header

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://api.tigby.eu/api/credit"
{  "balance_cents": 0,  "currency": "string",  "spend_beyond_limits": true,  "available": true,  "spendable": true,  "steps": [    {      "gross_cents": 0,      "net_cents": 0,      "vat_cents": 0,      "vat_basis_points": 0    }  ],  "held": true,  "immediate_performance_sentences": [    {      "id": "string",      "language": "string",      "label": "string",      "note": "string"    }  ]}
PATCH/api/credit
AuthorizationBearer <token>

An Admin Key (tigby_admin_…) for Org-level calls, an Identity Key (tigby_id_…) for one Identity's own resources, or a console session (tigby_sess_…). Sent as Authorization: Bearer <key>.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

curl -X PATCH "https://api.tigby.eu/api/credit"
{  "balance_cents": 0,  "currency": "string",  "spend_beyond_limits": true,  "available": true,  "spendable": true,  "steps": [    {      "gross_cents": 0,      "net_cents": 0,      "vat_cents": 0,      "vat_basis_points": 0    }  ],  "held": true,  "immediate_performance_sentences": [    {      "id": "string",      "language": "string",      "label": "string",      "note": "string"    }  ]}
POST/api/credit/load
AuthorizationBearer <token>

An Admin Key (tigby_admin_…) for Org-level calls, an Identity Key (tigby_id_…) for one Identity's own resources, or a console session (tigby_sess_…). Sent as Authorization: Bearer <key>.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

curl -X POST "https://api.tigby.eu/api/credit/load"
{  "checkout_url": "string"}