Introduction
Transactions
Two Step Transactions
One Click Payments
Information
One-click payments allow a user to link their Luxon wallet to a merchant account. Once the link is created merchants will be able to initiate transfers on behalf of the user, avoiding the need for the user to log in and making the process much faster.
One-click can be set up when creating a payment using either the one-step or two-step method.
merchantTransactionId
A Unique ID to identify the transaction.
merchantUserId
A unique ID to identify the user.
redirectUrl
The URL we redirect the customer to after the payment is completed.
comment
A text comment that accompanies the deposit (visible to the user and merchant).
amount
A positive integer in cents representing how much the user wishes to deposit.
e.g. 100 EUR would be 10000 / 50 USD would be 5000
currency
The ISO 3 letter currency code in lowercase, see the supported currency list for details.
createBillingAgreement
a boolean that specifies the creation of an agreement between the user and merchant for one-click payments.
{
"merchantTransactionId": "string",
"merchantUserId": "string",
"redirectUrl": "string",
"comment": "string",
"amount": number,
"currency": "String",
"createBillingAgreement": boolean
}
transactionId
A unique Luxon transaction identifier that can be used as a reference in other API calls.
transactionUrl
The URL a user should be redirected to so they can authorise the payment.
status
A status object with the results of the call
{
"transactionId": "string",
"transactionUrl": "string",
"status": {
"code": "string", "message": "string"
}
}