Refunds the payment
1 min
POST
https://api.fictive.com/REST/api/accounts/{accountReference}/payments/{paymentReference}/refund
accountReferencestring
paymentReferencestring
X-TokenIdstringThe eSuite Token Id
X-SessionIdstringThe eSuite Session Id
X-VersionstringThe eSuite Version
OriginstringThe eSuite Origin
refundPaymentRequestobjectRefund Payment Request object class
204No Content
400Bad Request
401Not Authorized
404Order does not belong to client.
412Precondition 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.
500Internal Server Error
curl --request POST \
--url https://api.fictive.com/REST/api/accounts/{accountReference}/payments/{paymentReference}/refund \
--header 'accept: application/json' \
--header 'x-version: string'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.