Step 5: Get Customer APM Account Token
Retrieve existing APM account tokens for a customer.
Endpoint
GET /api/v1/apm/get-customer-account-token
Authentication
Basic Auth (App Key / Secret Key)
Example Request
GET {{stg_url}}/api/v1/apm/get-customer-account-token?customerReferenceId=16275a38-a270-4c6d-960a-70781ae1823a&[email protected]&merchantAccountId={{account_no}}&type=payout
Notes
typeis optional/nullable and can bepayinorpayout.
Example Response
{
"success": true,
"message": "success",
"data": [
{
"name": "InPay - BHD",
"accountToken": "f27a85e6-b10e-418c-9b2e-3027d5d6d990",
"logo": "https://centralisera-staging.s3.amazonaws.com/solution/logo/itkuozmmEPYjfWeR1LO5zR6cVpcDwFf5DoF4NU71.png",
"type": "Alternative Payments Methods",
"payment_type": "APM (EFT Instant)",
"customer": {
"customer_reference_id": "8f45e6b2-5c6e-4c29-aa3a-49cedc1b178a",
"first_name": "Johnny",
"middle_name": null,
"last_name": "Doe",
"email": "[email protected]"
}
}
]
}