Get Prepaid Card Balance
Fetch prepaid card balance.
How to get card balance?
The POST request will be send over HTTPS to the
endpoint.
Sample Request
Sample Response
NOTE:
- customerId – unique customer id of wallet.
- walletOwnerId – unique wallet owner id provided by
- verificationHash – SHA256Algorithm.generateSHA256Hash(secKey.trim() +customerId.trim() + walletOwnerId.trim)
How to generate verification hash?
Verification Hash has to be calculated with following combinationfollowing
combination using SHA256 algorithm and need to be send along with the authentication parameters in each
server-to-server request:
<secKey><customerId><walletOwnerId>
Sample Code
Response Code | Message |
---|---|
1 | Successfully fetched amount |
2 | Failed to fetch balance amount |
3 | Invalid Request |
5 | Card Not Found |