POST
Attach a reusable payment method to a customer

Authorizations

x-api-key
string
header
required

Server-side merchant API key. Never expose it in browser code.

Headers

Idempotency-Key
string

Retry-safe key for create operations.

Path Parameters

id
string
required

The resource identifier returned by the merchant API.

Body

application/json
clientToken
string
required

Response

Payment method attached

id
string
required
type
enum<string>
required
Available options:
card,
bank
reusable
boolean
required
customerId
string
billingDetails
object