Webhooks

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

Webhooks

After successful payment or pay out the merchant gets a callback to a configured URL when the transaction is finalised. Luxon recommends using an IP whitelist to protect this URL and Luxon IP addresses will be provided for this purpose by the integration team.


transactionId

A unique Luxon transaction identifier that can be used as a reference in other API calls.


merchantUserId

A unique ID to identify the user


userWallet

A unique ID that represents the users wallet.


date

The date and time the transaction was created in ISO8601 format


comment

The comment field attached to the transaction


amount

A positive integer in cents representing the value of the transaction


type

The Type of transaction (“MERCHANT_PAYOUT” “MERCHANT_PAYIN” “MERCHANT_REFUND”)


fee

The fee chargeable to the merchant for this transaction in EUR cents


status

A status object with the status of the transaction


billingAgreementId

If the payment was created with the createBillingAgreement paramenter set to true and the user gave their permission to set up a Once-click agreement this will return a unique ID that can be used to initiate deposits on behalf of the user without redirecting them to log into their account.


 

Webhook

{
"transactionId": "string",
"merchantTransactionId": "string",
"merchantUserId": "string",
"date": "string",
"comment": "string",
"amount": number,
"fee": number,
"type": "string",
"userWallet" : "string",
"billingAgreementId": "string",
"status": {
"code": "string",
"message": "string"
}
}