Wallet
How to use Wallet to submit a payout in Pakistan.
Last updated
{
"code": 200,
"msg": "success",
"time": 1628580845,
"data": {
"id": "TS202108100734054iRiUZFPXfQBPE",
"custom_code": "custom_code9982674851738108",
"arrival_amount": "50.01",
"arrival_currency": "PKR",
"source_amount": "50.01",
"source_currency": "PKR",
"status": "IN_PROCESSING"
}
}{
"code": 4001000,
"msg": "invalid parameter",
"time": 1637224716,
"data": {
"err": "error detail message"
}
}{
"code": 4004003,
"msg": "permission denied",
"time": 1637224716,
"data": {}
}{
"code": 5001000,
"msg": "system error",
"time": 1637224716,
"data": {
"err": "error detail message"
}
}{
"code": 5001003,
"msg": "fee not configured",
"time": 1637224716,
"data": {
... ...
}
}{
"code": 5001102,
"msg": "balance insufficient",
"time": 1637224716,
"data": {
... ...
}
}curl --location --request POST 'https://sandbox.transfersmile.com/api/payout' \
--header 'AppId: 94FAC**********************68548' \
--header 'Authorization: d6181db0d6548b94b162e75d095b59147172d914699f83b2bd17951a671b6302' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "testname", //Not required
* "account": "03******201", // just for test in sandbox. Always start with '03' and 11 digits in total.
* "account_type": "PHONE",
* "method": "Wallet",
* "channel": "Easypaisa", //Easypaisa or JazzCash
* "custom_code" : "custom_code9982674851738108",
* "fee_bear": "merchant",
* "amount": "50.01",
* "source_currency": "PKR",
* "arrival_currency": "PKR",
* "notify_url": "https://notify.url",
* "additional_remark": "pagsmile payout test",
* "country": "PAK"
}'