curl --request GET \
--url https://sandbox.dollarpe.xyz/cms/api/v1/bank/list/{customer_id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-SIGNATURE: <api-key>' \
--header 'X-TIMESTAMP: <api-key>'{
"status": true,
"message": "Success",
"data": {
"count": 1,
"next": null,
"previous": "<url>",
"results": [
{
"id": "4e6f1b20-a73c-11ec-b909-0242ac120002",
"customer_id": "550e8400-e29b-41d4-a716-446655440000",
"account_number": "123456789012",
"ifsc": "ABC123456",
"account_name": "Sandbox Technologies Pvt Ltd",
"vpa": "testing@upi",
"bank_account_type": "ACCOUNT_DETAILS",
"bank_account_status": "VERIFIED",
"failure_reason": "null"
}
]
}
}Fetch all bank accounts for a customer
curl --request GET \
--url https://sandbox.dollarpe.xyz/cms/api/v1/bank/list/{customer_id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-SIGNATURE: <api-key>' \
--header 'X-TIMESTAMP: <api-key>'{
"status": true,
"message": "Success",
"data": {
"count": 1,
"next": null,
"previous": "<url>",
"results": [
{
"id": "4e6f1b20-a73c-11ec-b909-0242ac120002",
"customer_id": "550e8400-e29b-41d4-a716-446655440000",
"account_number": "123456789012",
"ifsc": "ABC123456",
"account_name": "Sandbox Technologies Pvt Ltd",
"vpa": "testing@upi",
"bank_account_type": "ACCOUNT_DETAILS",
"bank_account_status": "VERIFIED",
"failure_reason": "null"
}
]
}
}| API Status Code | Response | Reason |
|---|---|---|
| 400 | Customer not found or access denied | Customer not found |
| 400 | Customer not found or access denied | Customer does not belong to the organization |
| 500 | Internal Server Error. | Internal Server Error |
API Key for authentication
Current timestamp in seconds since epoch
HMAC SHA256 signature of the request encoded in Base64
Customer's unique identifier