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

All-In-One Checkout

How to use Luxtak Checkoutpage to submit a payin.

post

https://gateway-test.luxtak.com/trade/create

Payin by using Luxtak checkout page

This endpoint allows you to submit a payin by using Luxtak checkout page

Parameters

Header

NameTypeDescription
Content-Type*stringapplication/json; chartset=UTF-8
Authorization*stringBasic Base($app_id:$security_key)

Body

NameTypeDescription
app_id*stringcreated app's id at dashboard
- Max. 32 chars -
timestamp*stringyyyy-MM-dd HH:mm:ss
- Max. 19 chars -
out_trade_no*stringID given by the merchant in their system
- Max. 64 chars -
methodstringAdd this object to show only the selected method. For instance, “method”: “PIX” will only show the PIX method. To show all the methods do not add this object in the request body. Check here​ for all methods.
channelstringonly use when method = Wallet
order_currency*stringorder currency
- Max. 3 chars -
Check here for all methods.
order_amount*stringorder amount
- 0.01 ~ 999999999 -
(refer to amount limit for different methods)
subject*stringpayment reason or item title
- Max. 128 chars -
content*stringpayment reason detail or item detail. This will be shown on the bank bill.
- Max. 255 chars -
trade_type*stringfixed value: WEB
version*stringfixed value: 2.0
timeout_expressstringm(minutes), h(hours), d(days), c(always end in current day).
Used to control the expiration time of submitting an order (from initial to processing). (90m in default, max 15d)
notify_url*stringWhere luxtak will send notification to
return_urlstringweb redirect url when payment is finish
buyer_id*stringmerchant user's id
regionsarrayregions of the payment. The format is ["XXX"]
- Check here -

Responses

200submit successfully
{
    "code": "10000",
    "msg": "Success",
    "trade_no": "2022010110293900083",
    "out_trade_no": "202201010354003",
    "web_url": "http://checkout-testv2.luxtak.com?prepay_id=123456",
    "prepay_id":"123456"
}
400duplicate out_trade_no
{
    "code": "40002",
    "msg": "Business Failed",
    "sub_code": "duplicate-out_trade_no",
    "sub_msg": "out_trade_no is duplicate"
}

Options

All-In-One Checkout is for querying Luxtak checkout page (payment wall) to present one or all available payment methods to users. It is the most sample way for integrating for all countries and methods of Luxtak.

  • ​General ​

    • More detailed examples for querying Luxtak checkout page for general merchants.
  • ​E-Commerce ​

    • More detailed examples for querying Luxtak checkout page for E-com merchants.
Prev
Environments
Next
Direct integration