Withdraw Money Mode
Get widthdraw mode for withdrawing money.
How to get withdraw modes?
The POST request will be send over HTTPS to the
endpoint.
NOTE:
Pass AuthToken in header for each request Auth API
Sample Request
Sample Response
NOTE:
- verificationHash – SHA256Algorithm.generateSHA256Hash(secKey.trim()+customerId.trim()+walletOwnerId.trim())
- If single withdraw mode, response is in JSON object and if multiple withdraw modes, response is in JSON Array
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
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 |
fromCurrencyCode | Sender's currency | A [a-zA-Z] {3} |
Yes |
verificationHash | Verification Hash has collected combination of parameters. | String | Yes |
walletOwnerId | Provided by 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 |
cardFirstSix | User's Card number First six digits | N6 [0-9]{6} |
Yes |
cardLastFour | User's Card number Last four digits | N4 0-9{4} |
Yes |
paymentMode | Payment method for paying amount. For ex: CC for Credit Cards | AN32 [a-zA-Z0-9] {1,32} |
Yes |
paymentBrand | Type of Card while placing the transaction.For ex: VISA, MC | AN32 [a-zA-Z0-9] {1,32} |
Yes |
trackingId | Unique transaction Id for Load money operation. | N50 [0-9] {50} |
Yes |
Response Code | Message |
---|---|
1 | Success |
2 | Fail |
3 | Invalid Request |