Scroll to top

You can process refunds for finalized transactions, sending the funds back to the original user. This capability is central to maintaining high customer satisfaction, managing accidental charges, or resolving disputes.

ENDPOINT

POST.../api/v1/merchant/transaction/{transactionId}/refund

Request variables

Name Type Description
transactionId String A unique Luxon transaction identifier that can be used as a reference in other API calls.
comment String A comment giving a reason for the refund (visible to merchant and user).

 

{
“comment”: “string”
}

Response Format

{
"userWallet": "string", // user's wallet ID
"status": {
	"code": "string",
	"message": "string"
}
}

Notes

After you initiate a refund, Luxon will update you on the refund’s status through a webhook call, ensuring you’re always informed about the transaction state.