LuxtakLuxtak
  • Introduction
  • Payin API
    • Environments
    • All-In-One Checkout
      • Checkout Page (General)
      • Checkout Page (E-com)
    • Direct integration
      • Brazil
        • Pix
      • Mexico
        • Cash
        • CoDi
        • SPEI
      • Colombia
        • Wallet
        • PSE
      • Chile
        • Bank Transfer
        • Wallet
      • Peru
        • Bank Transfer
        • Cash
      • Ecuador
        • Bank Transfer
        • Cash
      • Russia
        • CreditCard
        • SBP
        • SberPay
        • TPay
        • Vault
      • Global
        • Crypto
        • Binance
    • Notification
      • Security
    • Recurring Payment
      • Support Target and Currency
    • Tokenization
    • Payin Detail
    • Refund
    • Data
      • Payment Method
      • Data for test (Sandbox)
      • Payin Status
      • Icon of methods
      • Country Code
    • API Code
  • Payout API
    • Environments
    • Security
    • Submit a payout
      • Brazil
        • Pix
      • Russia
        • SBP
      • Global
        • Crypto
    • Notification
    • Account Balance
    • Payout Status
    • Payout Bank List
    • Payout List
    • Payout Detail
    • Payment Method
    • Data for test
    • API Code

Crypto

How to use Crypto to submit a payout in Global.

Post

https://sandbox.luxtak.com/api/payout

Submit a payout by Crypto in Global

This endpoint allows you to submit a payout by Crypto in Global.

Parameters

Header

NameTypeDescription
Content-Type*stringapplication/json; chartset=UTF-8
AppId*stringYour App ID in payout platform
Authorization*stringSHA256($sorted_params + $app_key)

Body

NameTypeDescription
source_currency*stringMerchant Account Currency
- One of: USD -
arrival_currency*stringFixed value: USD
fee_bear*stringProcessing fee charges to merchant or beneficiary.
- One of: merchant beneficiary -
phone*stringBeneficiary's phone
- 0 ~ 15 digits -
name*stringBeneficiary's name
- Length between 5 and 100 -
document_type*stringBeneficiary's personal identification type
document_id*stringBeneficiary's personal identification number
email*stringBeneficiary's email
custom_code*stringMerchant Payout ID
- Max. 50 chars -
notify_url*stringWhere luxtak will send notification to.
method*stringFixed value: Crypto
additional_remark*stringDescriptor on the user's bank bill
- Max length: 40 -
country*stringGlobal
account_type*stringBeneficiary's Crypto account type
- One of: USDT-TRC20
amount*stringPayout Amount, 2 decimal numbers
- 0.01 ~ 10000 -
account*stringBeneficiary's Crypto account
amount_typestringSpecify the amount value is fixed for merchant or beneficiary
- One of: source_amount, arrival_amount(default) -

Responses

200: OKsubmit successfully
{
 "code":200,
 "msg":"success",
 "time":1749544977,
 "data":{
    "id":"LT2025061008********jWjdfdhCRG",
    "custom_code":"custom_code4491666*****1251iWAS",
    "arrival_amount":"0.05",
    "arrival_currency":"USD",
    "source_amount":"0.07",
    "source_currency":"USD",
    "status":"IN_PROCESSING"
  }
}
400: Bad Requestorder already existed
{
    "code": 4001010,
    "msg": "order already existed",
    "time": 1628580940,
    "data": {}
}
401: Unauthorizedunauthorized
{
    "code": 4004003,
    "msg": "permission denied",
    "time": 1637224716,
    "data": {}
}
500: Internal Server Errorfee not configured
{
    "code": 5001003,
    "msg": "fee not configured",
    "time": 1637224716,
    "data": {
        ... ...
    }
}
500: Internal Server Errorbalance insufficient
// system error
{
    "code": 5001102,
    "msg": "balance insufficient",
    "time": 1637224716,
    "data": {
        ... ...
    }
}
500: Internal Server Errorsystem error
{
    "code": 5001000,
    "msg": "system error",
    "time": 1637224716,
    "data": {}
}

Example

curl --location --request POST 'https://sandbox.luxtak.com/api/payout' \
--header 'AppId: 94FAC**********************68548' \
--header 'Authorization: d6181db0d6548b94b162e75d095b59147172d914699f83b2bd17951a671b6302' \
--header 'Content-Type: application/json' \
--data-raw '{
    * "amount": 0.05,
    * "source_currency": "USD",
    * "arrival_currency": "USD", // fixed value: USD
    * "fee_bear": "merchant",
    * "phone": "+55119*****119",
    * "name": "ab",
    * "document_type": "CPF",
    * "document_id": "110*****882",
    * "email": "test@test.com",
    * "account_type": "USDT-TRC20",
    * "account": "TXyQ1tVRBnhpZV*******PmyUZfT6vFxUu",
    * "custom_code": "custom_code4491666809941251iWAS",
    * "notify_url": "https://7b7a-74-226-216-127.ngrok-free.app",
    * "method": "crypto", // fixed value: Crypto
    * "additional_remark": "CryptoTest001",
    * "country": "GLOBAL",
      "amount_type": ""
}'

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 **_luxtak_test_reject@luxtak.com_** as Crypto account , and EMAIL as account_type for testing REJECTED payout, any other Crypto account will be success (PAID).