curl --request POST \
--url https://sandbox.dollarpe.xyz/cms/api/v1/bank/create \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-SIGNATURE: <api-key>' \
--header 'X-TIMESTAMP: <api-key>' \
--data '
{
"customer_id": "c2cf861b-342b-4318-a90e-85cd0312e82f",
"account_number": "7627389201",
"ifsc": "SBI0001829IU",
"account_name": "Sandbox Technologies Pvt Ltd"
}
'{
"status": true,
"message": "Success",
"data": {
"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"
}
}Add a new bank account for a customer.
curl --request POST \
--url https://sandbox.dollarpe.xyz/cms/api/v1/bank/create \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-SIGNATURE: <api-key>' \
--header 'X-TIMESTAMP: <api-key>' \
--data '
{
"customer_id": "c2cf861b-342b-4318-a90e-85cd0312e82f",
"account_number": "7627389201",
"ifsc": "SBI0001829IU",
"account_name": "Sandbox Technologies Pvt Ltd"
}
'{
"status": true,
"message": "Success",
"data": {
"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 |
| 400 | Customer is unverified | Customer is not KYC verified |
| 400 | VPA already in use | UPI ID is already in use |
| 400 | Maximum 3 UPI IDs allowed | 3 UPI IDs are already added for the customer |
| 400 | Account number already in use | Account number is already in use |
| 400 | Maximum 3 bank account details allowed | 3 Bank Accounts are already added for the customer |
| 400 | KYC already in use | KYC is being used by another customer |
| 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