Get Prepaid Card
User can fetch prepaid card details.
User wil get masked card number, card
token, card holder name, expiration date and currency of prepaid card.
How to get prepaid card details?
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 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 card |
2 | Failed to fetch card details |
3 | Invalid Request |
5 | Card Not Found |