Skip to main content
PATCH
Update a customer

Authorizations

X-Suby-Api-Key
string
header
required

Secret API key. sk_live_… (production) or sk_sandbox_… (sandbox).

Path Parameters

id
string
required
Example:

"cus_abc123"

Body

application/json
firstName
string
Maximum string length: 100
lastName
string
Maximum string length: 100
billingAddress
object | null
isBusiness
boolean

Standing B2B status · what a charge taken with nobody on the page (an off-session debit, a renewal) is priced on. Drives the MoR VAT reverse-charge, 0% except France.

businessName
string | null

Company name · doubles as the card holder name on a B2B charge.

Maximum string length: 200
taxId
string | null

Buyer VAT / fiscal number.

Maximum string length: 60
externalRef
string

Empty string clears it.

Maximum string length: 120

Response

Customer updated

success
boolean
required
Example:

true

data
object
required

Endpoint-specific payload.

message
string