Skip to main content

Step 2: Get Customer Cards

Retrieve stored card token(s) linked to a customer. You will use the card_token from this response for card verification and withdrawals.

Endpoint Information

Name: Get Customer Cards
Method: GET
URL: {{stg_url}}/api/v1/get-withdrawal-customer/card

Authentication

Type: Basic Auth

  • Username: App Key
  • Password: Secret Key

Query Parameters

ParameterRequiredDescription
merchantAccountIdYesYour merchant account ID
customerReferenceIdNoCustomer reference from your system
emailNoCustomer email

Response

Success Response

{
"success": true,
"message": "success",
"data": [
{
"card_token": "b1fbc631-8089-4000-806c-4984adacb3b3",
"card_number": "411111XXXXXX1111",
"expiry_date": "*******",
"card_type": "VISA",
"card_name": "JO****OE",
"customer": {
"customer_reference_id": "8160a328-4906-4835-9071-599702e96f33",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]"
},
"solution": {
"alias_name": "Trust Payments"
}
}
]
}