API Reference
Orders

Refunds the payment

1min
POST
This endpoint will allow you to refund all items or specific items relating to a purchase that has taken place.
Authentication
Authorization
Path Parameters
accountReference
*
paymentReference
*
Header Parameters
X-TokenId
X-SessionId
X-Version
*
Origin
Body Parameters
refundPaymentRequest
*
Description
Refund Payment Request object class
amount
triggerBackOfficeEmail
reason
reasonCode
refundAsServiceCredits
serviceCreditExpiry
itemReference
Responses
204
No Content
400
Bad Request
401
Not Authorized
404
Order does not belong to client.
412
Precondition Failed <br />β€’ Service Credit expiry can only be specified when refunding the balance back as a credit. <br />β€’ Your client is not configured to use service credits. <br />β€’ An item reference is required when performing a partial refund on a bundle purchase <br />β€’ Unable to refund an amount greater than the initial item amount.
500
Internal Server Error
ο»Ώ

ο»Ώ

πŸ€”
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.

ο»Ώ