Get Card Token
Retrieve a card token for a withdrawal customer.
Endpoint Information
Name: Get Card Token
Method: GET
URL: {{base_url}}/api/v1/get-withdrawal-customer/card?merchantAccountId={{your_account_no}}&customerReferenceId={{customer_reference_id}}&email={{customer_email_address}}
Authentication
Type: Basic Auth
- Username: App Key
- Password: Secret Key
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",
"middle_name": null,
"last_name": "Doe",
"email": "[email protected]"
},
"solution": {
"alias_name": "Trust Payments"
}
}
]
}