Cancel Pending Amount Request
User can cancel the amount request.
Host:
Test: https://mob.paymentplug.com/
Live: https://wallet.paymentplug.com/
How to cancel the request?
The POST request will be send over HTTPS to thewalletServices/WalletServices/cancelPendingRequestMoneyendpoint.
NOTE:
Pass AuthToken in header for each request Auth API
Sample Request
Sample Response
NOTE :
- customerId – You will get to customerId from list of pending request.
- requestId – You get requestId from the list of Pending request
- verificationHash – SHA256Algorithm.generateSHA256Hash(secKey.trim()+customerId.trim()+requestId.trim())
- walletOwnerId – Provided by Paymentplug
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 > < requestId >
Sample code
Request Parameters
This reference lists all the standard flow parameters to be send in request.
Parameter | Description | Format | Required |
---|---|---|---|
customerId | Generated unique customer id on per user sign up | N [0-9] |
Yes |
requestId | Amount sent from pending list pass request Id or pass 0 | N [0-9] |
Yes |
verificationHash | Verification Hash has collected combination of parameters. | String | Yes |
walletOwnerId | Provided by Paymentplug Unique id. | N20
[0-9] |
Yes |
Response Parameters
This reference list lists all the standard flow parameters to be received in response.
Parameter | Description | Format | Required |
---|---|---|---|
responseCode | Response code | [a-zA-Z0-9] | Yes |
List of response code from API
Response Code | Message |
---|---|
1 | Success |
2 | Fail |
3 | Invalid Request |