Skip to main content
POST
Refund gift card
Part of the Gift Cards integration guide — see it for when and how to use this endpoint.

Body

application/json
MerchantGUID
string

Merchant unique identifier.

Cards
CardData · object[]

Data of all applied cards.

TotalToRefundInCustomerCurrency
number

Total value to refund for all gift cards in customer currency.

TotalToRefundInGiftCardCurrency
number

Total value to refund for all gift cards in Gift Card currency.

ConversionRate
number

Rate of conversion from Gift Card currency to Customer Currency. TotalToRefundInGiftCardCurrency = TotalToRefundInCustomerCurrency / ConversionRate. TotalToRefundInCustomerCurrency = TotalToRefundInGiftCardCurrency * ConversionRate.

Response

200 - application/json

Refund result.

IsRefunded
boolean

Return true if amounts of redeemed cards are successfully returned.

Cards
CardData · object[]

The same list of cards from request after the refund process. Values for RefundedBalanceInCustomerCurrency property should be set.

ErrorCode
string

Code of platform error.

ErrorText
string

Message of platform error.