Request
User can send money request to another waller user.
Host :
Test: https://mob.paymentplug.com/
Live: https://wallet.paymentplug.com/
How to request ?
The POST request will be send over HTTPS to the walletServices/WalletServices/requestMoneyToCustomerendpoint.
NOTE:
Pass AuthToken in header for each request Auth API
Sample Request
Sample Response
NOTE:
- telnocc – country code to whom you want to request
- toMobile – mobile number to whom you want to request
- fromMobile - your registered mobile number with country code
- fromCustid – you will get cust id in login API response
- verificationHash – SHA256Algorithm.generateSHA256Hash(secKey.trim()+requestAmount.trim()+telnocc.trim()+toMobile.trim()+requestComment.trim()+fromCustid.trim()+fromCustomerName.trim()+ fromMobile.trim())
Checksum 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 > < requestAmount > < telnocc > < toMobile > < requestComment > < fromCustid > < fromCustomerName > < fromMobile >
Sample code
Request Parameters
This reference lists all the standard flow parameters to be send in request.
Parameter | Description | Format | Required |
---|---|---|---|
requestAmount | Description: Request amount to recipient | Format: N [0-9] |
Required: Yes |
telnocc | Description: Country code to whom you want to send. | Format: N [0-9] |
Required: Yes |
toMobile | Description: Receiver's mobile number. | Format: N [0-9] |
Required: Yes |
fromCustid | Description: Sender's Customer ID. | Format: N [0-9] |
Required: Yes |
fromMobile | Description: Sender's mobile number (with country code eg.91) | Format: N [0-9] |
Required: Yes |
fromCustomerName | Description: Sender's name | Format: A255 | Required: Yes |
requestComment | Description: Description of the transaction | Format: AN [0-9] |
Required: Yes |
walletOwnerId | Description: Provided by Paymentplug Unique id. | Format: N20 [0-9] |
Required: Yes |
fromCurrencyCode | Description: Sender's currency | Format: AN [0-9] |
Required: Yes |
isMoneyFromRequest | Description: Amount sent from pending list (set true) or directly from send money (set false) | Format: A255 | Required: Yes |
requestId | Description: Amount sent from pending list pass request Id or pass 0 | Format: N [0-9] |
Required: Yes |
verificationHash | Description: Verification Hash has collected combination of parameters. | Format: String | Required: Yes |
Response Parameters
This reference list lists all the standard flow parameters to be received in response.
Parameter | Description | Format | Required |
---|---|---|---|
customerName | 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 |
List of response code from API
Response Code | Message |
---|---|
1 | Success |
2 | Fail |
3 | Invalid Request |