Invoices

Create a checkout: a hosted link, or with email and payment method an invoice

POST
/v1/stores/{storeId}/checkouts

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/stores/string/checkouts" \  -H "Content-Type: application/json" \  -d '{}'
{  "type": "session",  "url": "string",  "invoiceId": "4f163819-178d-470c-a246-d6768476a6ec",  "invoiceUrl": "string",  "expiresAt": "string"}