cURL
Payment methods
Create a payment method
Used to create a payment method.
POST
cURL
This endpoint does not accept payment details. It initiates a flow that the customer completes themselves: they receive an email containing a secure link where they enter their payment information.
The payment method is therefore not usable for billing when the response returns — treat the
201 as confirmation that the flow has started, not that the payment method is ready. In a portal UI, prompt the customer to check their inbox rather than waiting on the response.Authorizations
Headers
Unique identifier of the tenant in the system (usually a store identifier)
Response
201 - application/json
Default Response
Customer id when not expanded, or the full Customer object when the field name is included in the expand query parameter.
Minimum string length:
1Example:
"7654321"
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7