Transfer
Wallet user can send wallet account to another wallet account user.
User can send money to another wallet
user to same currency or different currency wallet user.
How to money?
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:
- isMoneyFromRequest – keep false
- requestId - keep 0
- telnocc - country code to whom you want to send
- toMobile – mobile number to whom you want to send
- fromMobile – your registered mobile number with country code
- isTosOfTWAccepted – Terms of services for wallet (true)
- from_cust_id – you will get cust id in login API response
- verificationHash – SHA256Algorithm.generateSHA256Hash(secKey.trim()+amount.trim()+telnocc.trim()+toMobile.trim()+from_cust_id.trim()+fromMobile.trim()+from_cust_name.trim()+comment.trim()+walle tOwnerId.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><amount><telnocc><toMobile><from_cust_id><fromMobile><from_cust_name><comment><walletOwnerId>
Sample Code
Request Parameters
This reference lists all the standard flow parameters to be send in request.
Parameter | Description | Format | Required |
---|---|---|---|
amount | Amount of the transaction.. | N [0-9] |
Yes |
telnocc | Country code to whom you want to send. | N [0-9] |
Yes |
toMobile | Receiver's mobile number. | N [0-9] |
Yes |
from_cust_id | Sender's Customer ID. | N [0-9] |
Yes |
fromMobile | Sender's mobile number (with country code eg.91) | N [0-9] |
Yes |
from_cust_name | Sender's name | A255 | Yes |
comment | Description of the transaction | AN [0-9] |
Yes |
walletOwnerId | Provided by Unique id. | N20
[0-9] |
Yes |
fromCurrencyCode | Sender's currency | AN [0-9] |
Yes |
isMoneyFromRequest | Amount sent from pending list (set true) or directly from send money (set false) | A255 | Yes |
requestId | Amount sent from pending list pass request Id or pass 0 | N [0-9] |
Yes |
vendorName | Amount sent to merchant (Merchant name) | A255 | Yes |
vendorUserId | Amount sent to merchant (Merchant user id) | AN255 [a-zA-Z0-9] {255} |
Yes |
vendorUserPassword | Amount sent to merchant (Merchant password) | AN255 [a-zA-Z0-9] {255} |
Yes |
verificationHash | Verification Hash has collected combination of parameters. | String | Yes |
Response Parameters
This reference list lists all the standard flow parameters to be received in response.
Parameter | Description | Format | Required |
---|---|---|---|
to_cust_name | Receiver's Name of the sent amount. | A255 [a-zA-Z] |
Yes |
amount | Amount of the transaction. | N50 [0-9] {1,50} |
Yes |
responseCode | Response code | [a-zA-Z0-9] | Yes |
Response Code | Message |
---|---|
1 | Success |
2 | Fail |
3 | Invalid Request |
5 | Not found |