Confirm Sufficient Balance for Debit Cards
This API handles requests to confirm sufficient balance for debit card accounts. It return a 'YES' if the Account Balance of the Debit Card Account is greater than or equal to the transaction amount passed in the request or return 'NO' otherwise.
Request Message description
Field # | Field name | Data type | Max length | Required | Description |
---|---|---|---|---|---|
1 | issuerNr | int | 3 | true | Issuer Number |
2 | accountId | string | 10 to 28 | true | Account ID or Number |
3 | accountType | string | 2 to 2 | true | Account Type |
4 | transactionAmount | number | true | Transaction Amount to compare card balance against. |
POST /card-management/api/v1/card/debit/confirm_balance
Authorization = Bearer Token
Sample Request
{
"issuerNr": 2,
"accountId": "0123456789",
"accountType": "20",
"transactionAmount": 100
}
Response Message field description
Field # | Field name | Description |
---|---|---|
1 | code | Internal Response Code |
2 | description | Successful or Error Message |
3 | correlationId | Request identifier |
4 | errors | Errors array if any errors exists. |
5 | isSufficient | Returns 'YES' if balance is Sufficient else returns 'NO' |
Sample Response (success)
{
"code": "00",
"description": "Successful",
"correlationId": "5a5d0875a56645498f29643ac2d53e06",
"isSufficient": "YES"
}
Sample Response (failure)
{
"code": "10500",
"description": "Error Processing Request",
"correlationId": "2aa197eda43540a4ad85b8d0bf570871"
}
Updated 8 months ago