API
GET/api/withdrawal-instruction

Response Body

application/json

application/problem+json

curl -X GET "https://api.tigby.eu/api/withdrawal-instruction"
{  "version": "string",  "texts": [    {      "language": "string",      "function_address": "string",      "instruction": [        {          "kind": "string",          "text": null,          "lines": null        }      ],      "form": [        {          "kind": "string",          "text": null,          "lines": null        }      ]    }  ]}
POST/api/withdrawals

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/withdrawals" \  -H "Content-Type: application/json" \  -d '{    "name": null,    "email": null,    "customer_reference": null,    "ordered_on": null,    "invoice_number": null,    "details": null,    "language": null  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "received_at": "2019-08-24T14:15:22Z",  "acknowledged": true}
GET/api/billing/withdrawal
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/withdrawal"
{  "email": "string",  "orders": [    {      "payment_id": "d43b87f9-9e28-4802-8eaa-6ee91a40ea71",      "kind": "string",      "plan": null,      "amount_cents": 0,      "currency": "string",      "ordered_at": "2019-08-24T14:15:22Z",      "payment_reference": "string",      "invoice_number": null,      "within_fourteen_days": true    }  ]}
POST/api/billing/withdrawal
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

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://api.tigby.eu/api/billing/withdrawal" \  -H "Content-Type: application/json" \  -d '{    "name": null,    "email": null,    "payment_id": null,    "details": null  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "received_at": "2019-08-24T14:15:22Z",  "acknowledged": true}