Skip to main content
API documentation

8 endpoints

Clients

The registry of your end customers and their saved payment methods, reused for subscriptions and recurring charges without re-entering details.

Endpoint names and descriptions come from the OpenAPI contract, in English — they cannot drift from the API.

In plain English

Your customer directory, and the cards they agreed to save.

When to use it

Whenever you want to recognise a customer from one payment to the next: recurring billing, a saved card reused by subscriptions, or simply a per-customer history.

How to integrate it

  1. 1Create the client once, keep their id on your side.
  2. 2List their saved payment methods so you can offer them a repeat payment without re-entering a card.
  3. 3Set a default method — that is the one a subscription will charge.
  4. 4Delete a payment method as soon as the customer asks: it is their data, not yours.
GET

Retrieve a client

Fetches a single client by its UUID.

FieldTypeInRequiredDescription
idstring (uuid)pathRequiredClient UUID.
PUT

Update a client

Updates a client's name, e-mail and/or phone.

Schema · UpdateClientRequest

FieldTypeInRequiredDescription
idstring (uuid)pathRequired
namestringbodyOptionalClient full name. Optional; only applied when present.
emailstringbodyOptionalClient email address. Optional; only applied when present.
phonestringbodyOptionalClient phone number. Optional; only applied when present.
DELETE204

Delete a client

Deletes a client. Returns 204 No Content. Fails if the client still has active subscriptions.

FieldTypeInRequiredDescription
idstring (uuid)pathRequired
POST

Set a client's default payment method

Marks one client-owned payment method as the default for new auto-pay subscriptions.

FieldTypeInRequiredDescription
idstring (uuid)pathRequired
paymentMethodIdstring (uuid)pathRequired
GET

List clients

Returns the account's saved clients as a paginated Page.

FieldTypeInRequiredDescription
originenumqueryOptionalFilter by creation origin (API or DASHBOARD).Values APIDASHBOARD
pageablePageablequeryRequired
POST201

Create a client

Creates a reusable customer record for this account.

Schema · CreateClientRequest

FieldTypeInRequiredDescription
namestringbodyRequiredClient full name.
emailstringbodyOptionalOptional client e-mail.
phonestringbodyOptionalOptional client phone (E.164).
GET200

List a client's saved payment methods

Returns safe local payment-method identifiers and masked card metadata. Provider card tokens, CVV plaintext and CVV ciphertext are never returned.

FieldTypeInRequiredDescription
idstring (uuid)pathRequired
DELETE204

Delete a client's payment method

Deletes the provider token and soft-deletes its local mirror. Subscriptions using it fall back to customer-present checkout on their next attempt.

FieldTypeInRequiredDescription
idstring (uuid)pathRequired
paymentMethodIdstring (uuid)pathRequired

Talk to an integrator

A question about integration?

Our technical team supports integrators from the first sandbox call through to go-live.