SEND PIN BY EMAIL
User can get PIN by email.
Host:
Test: https://mob.caratipay.com/Live: https://wallet.caratipay.com/
How to get PIN by email?
The POST request will be send over HTTPS to the
prepaidServices/PrepaidService/sendPINByEmail
endpoint.
Sample Request
Sample Response
Language:
NOTE:
- customerId – unique customer id of wallet.
- walletOwnerId – unique wallet owner id provided by Caratipay
- 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
List of response code from API
Response Code | Message |
---|---|
1 | Successfully sent PIN by Email |
2 | Failed to send PIN |
3 | Invalid Request |
5 | Card Not Found |