BankTransfer
How to use BankTransfer to submit a payout in Russia.
Post
https://api.luxtak.com/api/payout
Submit a payout by BankTransfer in Russia
This endpoint allows you to submit a payout by BankTransfer in Russia.
Parameters
Header
| Parameter | Type | Description |
|---|---|---|
| Content-Type* | string | application/json; chartset=UTF-8 |
| AppId* | string | Your App ID in payout platform |
| Authorization* | string | SHA256($sorted_params + $app_key) |
Body
| Parameter | Type | Description |
|---|---|---|
| amount* | number | Payout Amount - Min 1, Max 10,000,000 - |
| source_currency* | string | Merchant Account Currency - supported: USD, GBP, EUR - |
| arrival_currency* | string | Beneficiary's account currency. Fixed value: RUB |
| fee_bear* | string | One of [beneficiary | merchant] |
| name* | string | Beneficiary's name - Length between 5 and 100 - |
| account* | string | Account - Length between 16 and 20 - |
| custom_code* | string | Merchant Payout ID - Max. 50 chars - |
| notify_url* | string | Where luxtak will send notification to. |
| method* | string | Fixed value: BANKTRANSFER |
| additional_remark* | string | Additional Remark - Max length: 40 - |
| country* | string | Fixed value: RUS, for Russia |
Responses
| 200: OK | submit successfully |
{
"code": 200,
"msg": "success",
"time": 1628580845,
"data": {
"id": "LS202412110734054iRiUZFPXfQM",
"custom_code": "custom_code1005721520372911sPn0",
"arrival_amount": "1.01",
"arrival_currency": "RUB",
"source_amount": "0.01",
"source_currency": "USD",
"status": "IN_PROCESSING"
}
}
| 400: Bad Request | order already existed |
{
"code": 4001020,
"msg": "order already existed",
"time": 1628580940,
"data": {}
}
| 401: Unauthorized | unauthorized |
{
"code": 4004003,
"msg": "permission denied",
"time": 1637224716,
"data": {}
}
| 500: Internal Server Error | fee not configured |
{
"code": 5001003,
"msg": "fee not configured",
"time": 1637224716,
"data": {
... ...
}
}
| 500: Internal Server Error | balance insufficient |
// system error
{
"code": 5001102,
"msg": "balance insufficient",
"time": 1637224716,
"data": {
... ...
}
}
| 500: Internal Server Error | system error |
{
"code": 5001000,
"msg": "system error",
"time": 1637224716,
"data": {}
}
Example
curl --location --request POST 'https://api.luxtak.com/api/payout'
\
--header 'AppId: 94FAC**********************68548' \
--header 'Authorization:
d6181db0d6548b94b162e75d095b59147172d914699f83b2bd17951a671b6302'\
--header 'Content-Type: application/json' \
--data-raw '{
"amount" : "1.00",
"source_currency" : "USD",
"arrival_currency" : "RUB",
"fee_bear" : "merchant",
"name" : "МЕ********ME",
"account" : "22********13",
"custom_code" : "custom_code********WL",
"notify_url" : "https://sandbox.transfersmile.com/api/notify/demo",
"method" : "BANKTRANSFER",
"additional_remark" : "from test",
"country" : "RUS"
}
Tips
Note: 94FAC*****************68548 is luxtak's test App ID for sandbox, and d6181db0d6548b94b162e75d095b59147172d914699f83b2bd17951a671b6302 is authorization token associated with the test App ID.
Tips
In sandbox environment, please use **[email protected]_** as BankTransfer account , and EMAIL as account_type for testing REJECTED payout, any other BankTransfer account will be success (PAID).
