POSTFunding/Disbursal Account List API
Use Case
This API is used to fetch the details (balance, guid) of funding account and all disbursal accounts.
HTTP Headers
ATTRIBUTE | DESCRIPTION |
---|---|
x-mid string(50) |
Paytm provides MID as a unique identifier to each merchant. For your staging MID, click here. You get the production MID post the account activation. |
x-checksum string(108) |
Signature encryption for validation. It's value to be sent should be the checksum string created by using Paytm checksum library. Note: Create the signature using all the request parameters. |
Request Attributes
Body
Attribute | Description |
---|---|
subwalletGuid string optional | Sub wallet/disbursal account GUID. This is available on Paytm dashboard |
Response Attributes
Body
Attribute | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
statusCode string | Failure reason code where status is FAILURE. A detailed list of statusCode is mentioned at the bottom of this page. | ||||||||||||||
status string | Disbursal request status. It can be FAILURE or ACCEPTED or SUCCESS. | ||||||||||||||
statusMessage string | Description of each statusCode. | ||||||||||||||
result object | List of funding accounts / disbrusal accounts | ||||||||||||||
Result +
|
Response Codes & Messages
statusCode | status | statusMessage |
---|---|---|
DE_001 | SUCCESS | Request Successfully fullfilled. |
DE_1001 | FAILURE | Unable to process the request, Please check and try again. |
DE_1002 | FAILURE | Invalid merchant. |
DE_1003 | FAILURE | Sub wallet not found. |
DE_1006 | FAILURE | Merchant is inactive. |
DE_1007 | FAILURE | Wallet could not be found, please verify walletGuid. |
DE_1009 | FAILURE | Sub wallet guid is not associated with this merchant. |
DE_1017 | FAILURE | Unable to fetch subwallet of merchant. |
curl -X POST 'https://staging-dashboard.paytm.com/bpay/api/v1/account/list' \
--header 'Content-Type: application/json' \
--header 'x-mid: {mid}' \
--header 'x-checksum: {checksum}' \
--data '[]'