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:

  • custId – unique customer id of wallet.
  • walletOwnerId – unique wallet owner id provided by paymentz
  • verificationHash – SHA256Algorithm.generateSHA256Hash(secKey.trim() +custId.trim() + walletOwnerId.trim)


How to generate verification hash?

Verification Hash has to be calculated with following combination and need to be send along with the authentication parameters in each server-to-server request:
<secKey><custId><walletOwnerId>


Sample Code

List of response code from API

Response Code Message
1 Successfully fetched amount
2 Failed to fetch balance amount
3 Invalid Request
5 Card Not Found
Copyright © . All Rights Reserved