Confirm Sufficient Balance for Prepaid Cards

This API handles requests to confirm Sufficient Balance for Prepaid Cards. It returns a 'YES' if the Card Balance of the Prepaid Card is greater than or equal to the transaction amount passed in the request or return 'NO' otherwise.

Request Message description

Field #Field nameData typeMax lengthRequiredDescription
1panstring16 to 19trueCard Personal Account Number (PAN)
2transactionAmountnumbertrueTransaction Amount to compare card balance against.

POST /card-management/api/v1/card/prepaid/confirm_balance
Authorization = Bearer Token

Sample Request

  "pan": "5060990000000151002",
  "transactionAmount": 25000

Response Message  field description

Field #Field nameDescription
1codeInternal Response Code
2descriptionSuccessful or Error Message
3correlationIdRequest identifier
4errorsErrors array if any errors exists.
5isSufficientReturns 'YES' if balance is Sufficient else returns 'NO'

Sample Response (success)

  "code": "00",
  "description": "Successful",
  "correlationId": "5a5d0875a56645498f29643ac2d53e06",
  "isSufficient": "YES"

Sample Response (failure)

  "code": "10404",
  "description": "Card not found",
  "correlationId": "2aa197eda43540a4ad85b8d0bf570871"