P2P Transfer
Get Transfer Data
GET
‎https://<domain>/<api prefix>/<version>/user/p2p/transfer/
This API endpoint will return p2p transfer charges and user data.
Query Parameters
Name | Type | Description |
---|---|---|
wallet | string | wallet key, default is wallet1 |
reciever | string | username |
Headers
Name | Type | Description |
---|---|---|
apikey* | string | Apikey |
Authorization* | string | Bearer access token |
Sample Code
Node
PHP
Error Responses
Status Code | Error Type | FIeld | Description |
401 | Request Failed | P2P transactions are disabled, Please contact your administrator. | |
400 | Validation Error | wallet | P2P transactions are disabled for this wallet, Please contact your administrator or invalid wallet. |
400 | Validation Error | reciever | This field is required. Reciever not found. Self transfer not allowed. |
P2P Transfer
POST
‎https://<domain>/<api prefix>/<version>/user/p2p/transfer/
This API endpoint will perform a p2p transfer.
Headers
Name | Type | Description |
---|---|---|
apikey* | string | Apikey |
Authorization* | string | Bearer access token |
Request Body
Name | Type | Description |
---|---|---|
wallet | string | wallet key |
transfer_amount | string | transfer amount |
reciever | string | reciever username |
form_key | string | form key |
token_checksum_field | string | token checksum |
token_field | string | mail token |
Sample Code
Node
PHP
Error Responses
Status Code | Error Type | FIeld | Description |
400 | Validation Error | wallet | This field is required. This field may not be blank. P2P transactions are disabled for this wallet, Please contact your administrator or invalid wallet. |
400 | Validation Error | transfer_amount | This field is required. This field may not be blank. Minimum transaction amount is <min_amount>. Transaction Limit is <max_amount>. Ensure this field has no more than 7 characters. Only integers are allowed. Entered amount is greater than wallet balance. Invalid amount. |
400 | Validation Error | reciever | This field is required. This field may not be blank. Reciever user not found. Self transfer not allowed. |
400 | Validation Error | form_key | This field is required. This field may not be blank. You have another form running, Please reload. |
400 | Validation Error | token_checksum_field | This field is required. This field may not be blank. |
400 | Validation Error | token_field | This field is required. This field may not be blank. Token is not matching. Only numeric characters are allowed. |
401 | Request Failed | P2P transactions are disabled, Please contact your administrator. |
Last updated