Skip to main content

Step 1: Add Customer

Before processing withdrawals with a card token, you must first create a customer token. The token will only be visible once during creation — store it securely.

Endpoint

POST /api/v1/add-customer

Request Body

{
"firstName": "Don",
"lastName": "Danny",
"email": "[email protected]",
"dob": "1995-01-10",
"contactNumber": "+1234567890",
"merchantAccountId": "{{your_account_no}}",
"addressDetails": {
"country": "Sweden",
"state": "Stockholm",
"city": "Stockholm",
"address": "11/A, Stockholm",
"zipCode": "11234"
}
}

Response Example

{
"success": true,
"message": "Success",
"data": {
"customer_reference_id": "b86c68e5-9a14-4e49-b55e-e7f2285110a9",
"token": "56f74d8274c1cb387e1ad24895905c18",
"expire_at": "2026-03-02"
}
}