Cancel 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

Cancel Payment

Allows a merchant to cancel a transaction that has not yet been completed.

Parameters


transactionId

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


 

Request Post

.../api/v1/merchant/transaction/{transactionId}/cancel

Returns


status

A status object with the status of the transaction.


 

Response

{
"status": {
"code": "string",
"message": "string"
}
}

Notes

Merchant will be notified by a webhook call when the cancellation is finalised or is not cancellable.