Create One-click Payment

LUXON API

  •  
  • Integration checklist
  • API Guide
  • Authentication
  • Error Handling
  • Transactions
  • Create Payment
  • Create Pay-out
  • Get Transaction
  • Cancel Payment
  • Refund Payment
  • Resend Transaction
  • Two Step Transactions
  • Create Payment
  • One Click Payments
  • Create One-click Agreement
  • Create One-click Payment
  • Information
  • Check Transactions
  • Get Balances
  • Webhooks
  • Transactions Statuses

Create One-click Payment

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.


 

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

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