Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The identifier of the merchant that this customer will be associated with. This merchant must already exist in the system.
"67e55044-10b1-426f-9247-bb680e5fe0c8"
(Optional) An external customer reference ID used to tie this customer to a customer in an external system.
"cus_1234abcd"
"sub_1234abcd"
The details for a new payment method that will be linked to the created customer. Either provide this or paymentMethodId to use an existing payment method. If both are provided, the paymentMethodId
takes precedence.
Response
Ok
The unique identifier that represents the customer
"1234567890abcdef"
The external customer reference ID used to tie this customer to a customer in an external system.
"1234567890abcdef"
The payment methods configured for this customer to make payments with.
The date the customer record was created, represented as a Unix timestamp in seconds.
1716211200