cURL
curl --request POST \ --url https://commerce1.on-hellgate.dev/customers/{customer_id}/setups \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "type": "SEPA_MANDATE", "data": {} } '
{ "created_at": "2023-11-07T05:31:56Z", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "IN_PROGRESS", "type": "CARD", "updated_at": "2023-11-07T05:31:56Z", "data": {}, "external_id": "<string>", "failure_details": [ { "classifier": "<string>", "message": "<string>" } ], "payment_method": { "token": "<string>" } }
Identifies the account. Required when authenticating via mTLS — omit when using an API key (account is inferred from the key).
Customer ID
Body
SEPA_MANDATE
Success
IN_PROGRESS
SUCCESS
FAILURE
CARD
ACH_MANDATE
Show child attributes