Create One-click payment allows a merchant to initiate a deposit of funds from a user who have a One-click agreement set up

The user will not be asked to log in during this process so no redirect is required.

Parameters


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.


billingAgreementId

A unique Luxon billing agreement identifier that can be used to create transactions on behalf of the user.
This ID is generated on a previous deposit and must be stored by the merchant.


brand

An optional string that can be used to send identifying information for the merchant to allow grouping of transactions.


useBrand

An optional boolean that will replace the merchant name registered with Luxon with text sent in the brand field in the user payment confirmation screen.


 

Request Post .../api/v1/merchant/payment

{
"merchantTransactionId": "string",
"merchantUserId": "string",
"redirectUrl": "string",
"comment": "string",
"amount": number,
"currency": "String",
"billingAgreementId": "string",
"brand" : "string",
"useBrand": Boolean
}