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
Refund Payment
Allows a merchant to refund a completed transaction, sending the entire value of the transaction back to the user.
transactionId
A unique Luxon transaction identifier that can be used as a reference in other API calls.
comment
A comment giving a reason for the refund (visible to merchant and user).
Request Post
.../api/v1/merchant/transaction/{transactionId}/refund
{
“comment”: “string”
}
Returns
status
A status object with the status of the transaction.
Response
{
"userWallet": "string", // user's wallet ID
"status": {
"code": "string",
"message": "string"
}
}
Notes
Merchant will be notified by a webhook call when the refund is finalised.