API
GET/api/billing
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/billing"
{  "plan": "string",  "billing_kind": null,  "vat_id": null,  "subscription": null,  "prices": [    {      "plan": "string",      "gross_cents": 0,      "net_cents": 0,      "vat_cents": 0,      "vat_basis_points": 0,      "currency": "string",      "unused_period_cents": 0,      "due_cents": 0,      "due_net_cents": 0,      "due_vat_cents": 0,      "offer": null    }  ],  "terms_version": "string",  "withdrawal_instruction_version": "string",  "available": true,  "immediate_performance_sentences": [    {      "id": "string",      "language": "string",      "label": "string",      "note": "string"    }  ]}
POST/api/billing/checkout
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/billing/checkout"
{  "checkout_url": "string"}
POST/api/billing/schedule
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/billing/schedule"
{  "plan": "string",  "billing_kind": null,  "vat_id": null,  "subscription": null,  "prices": [    {      "plan": "string",      "gross_cents": 0,      "net_cents": 0,      "vat_cents": 0,      "vat_basis_points": 0,      "currency": "string",      "unused_period_cents": 0,      "due_cents": 0,      "due_net_cents": 0,      "due_vat_cents": 0,      "offer": null    }  ],  "terms_version": "string",  "withdrawal_instruction_version": "string",  "available": true,  "immediate_performance_sentences": [    {      "id": "string",      "language": "string",      "label": "string",      "note": "string"    }  ]}
GET/api/billing/invoices
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/billing/invoices"
{  "invoices": [    {      "number": 0,      "kind": "string",      "issued_on": "2019-08-24",      "issued_at": "2019-08-24T14:15:22Z",      "description": "string",      "net_cents": 0,      "vat_cents": 0,      "gross_cents": 0,      "vat_basis_points": 0,      "currency": "string",      "corrects_number": null,      "pdf_url": "string"    }  ],  "complete": true}
GET/api/billing/invoices/{number}/pdf
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

Path Parameters

number*integer
Match^-?(?:0|[1-9]\d*)$
Formatint64

Response Body

application/pdf

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.tigby.eu/api/billing/invoices/0/pdf"
"string"