TRANSFER
1.Overview
Use this API to transfer funds to users(use fundAccountId).
2.Request Info
Key |
Value |
Content-Type |
application/json |
version |
1.0 |
2.2 Request Data
Name |
Description |
Type |
Required |
appId |
Unique identifier assigned to a third-party application platform |
string |
true |
merchantId |
Unique identifier assigned to a third-party merchant |
string |
true |
timestamp |
Request timestamp |
timestamp |
true |
sign |
Data signature |
string |
true |
revFundAccountId |
Newpay user fund account ID |
string |
true |
orderAmt |
transfer amount |
string |
true |
currency |
currency |
string |
true |
orderDesc |
desc |
string |
true |
2.3 Response Data
Name |
Description |
Type |
success |
Success flag: true/false |
boolean |
message |
Response message |
string |
code |
Reponse code |
string |
timestamp |
Response timestamp |
long |
data |
Result |
object |
> appId |
Unique identifier assigned to a third-party application platform |
string |
> sign |
Data signature |
string |
> tranAbbr |
Transaction Type |
string |
> tranNo |
Transaction Number |
string |
> currency |
currency |
string |
> orderAmt |
order amount |
string |
> orderDesc |
desc |
string |
> orderNo |
transfer order number |
string |
3. Example Data
3.1 Request
{
"appId": "3514d69403bc4ce1a8fafb6415a31018",
"timestamp": 1687494500726,
"sign": "{{sign}}",
"revFundAccountId": 1001211005000526,
"orderAmt": "55",
"currency": "LAK"
}
3.2 Response
{
"success": true,
"message": "success",
"data": {
"appId": "5afa28d9dfe94830ad67cd3a61ab8978",
"sign": "R2fZH0vFRu58OMYYeyb3Sq9mPrIiMo6BS1jALw0vEuPSYMnr8E0rRaga0v2MosIhpw7204r646b4GtuewMexKlSKtSKYpiUzWKT0aIOugnfGF9GRhnLcxIwNtkbODj+OgxE2HiZq5FMxkZmprjJ9uczpyYE6JrCVASRAn/P1TczFiz4bfNMEVBUZHNMNnIUVEAkM57lgrrhAPWxplJJCHuCspMfxoixz2XBBHrBZoH1mwQfEtPobxUvu4yF9MlL+LEesRTCTJRlx+dr8iXo0LDqigH6HZDUpkyKkQ92hdr1+ZIQkhMKTq0sv8A61za18ndxP+0cManPgCkfj+lF8AA==",
"tranAbbr": null,
"tranNo": "00012023062300000008",
"currency": "LAK",
"orderAmt": "55",
"orderDesc": null,
"orderNo": "202306234000001067"
},
"code": "0",
"timestamp": "1662521235625"
}
4. Response Code
Code |
Description |
0 |
success |
E9999 |
unknow error |
B11095 |
Illegal request |
Z00046 |
whitelist authentication failed |
Z00003 |
appid field wrong |
Z00007 |
sign field verification failed |
Z00020 |
orderAmt field illegal(when the currency is LAK, no decimals are allowed) |
Z00001 |
appid field illegal |
Z00004 |
timestamp field illegal |
Z00005 |
sign field illegal |
Z00016 |
currency field illegal |
Z00018 |
orderAmt field illegal |
Z00039 |
transaction failed |
Z01029 |
merchant or user status exception |