Refund authorised purchases, one-step purchases and QR Code / deeplink payments. Refunds debit the merchant, so they require the terminal supervisor (supervisorCard or supervisorId, depending on the endpoint).
Refund authorized purchase
Refunds a purchase made after an authorisation. The refund can be equal to or lower than the purchase amount. Because it debits the merchant, the supervisor card associated with the terminal is required.
path Parameters
posIdTerminal (point of sale) identifier.
authorizationIdAuthorisation identifier (id returned when the authorisation was created).
paymentIdPurchase identifier (id returned when the purchase was created).
Refund authorized purchase › Request Body
amountAmount to refund. Equal to or lower than the purchase amount.
supervisorCardSupervisor card associated with the terminal.
Refund authorized purchase › Responses
Operation created. Use id to query the transaction.
idTransaction identifier.
Refund one-step purchase
Refunds a one-step purchase. The refund must be equal to or lower than the purchase amount. Because it debits the merchant, the supervisor card associated with the terminal is required.
path Parameters
posIdTerminal (point of sale) identifier.
paymentIdPurchase identifier (id returned when the purchase was created).
Refund one-step purchase › Request Body
amountAmount to refund. Equal to or lower than the purchase amount.
supervisorCardSupervisor card associated with the terminal.
Refund one-step purchase › Responses
Operation created. Use id to query the transaction.
idTransaction identifier.
Refund QR Code payment
Refunds a payment made with a QR Code (or deeplink). The refund amount must be equal to or lower than the charge amount, and a payment can be refunded only once. Because it debits the merchant, the supervisor of the terminal is required.
path Parameters
posIdTerminal (point of sale) identifier.
paymentIdIdentifier of the QR Code payment (the transaction id received in the payment notification).
Refund QR Code payment › Request Body
amountAmount to refund. Equal to or lower than the charge amount.
currencysupervisorIdSupervisor of the terminal (supervisorId from Get terminal).
reasonOptional reason for the refund.
Refund QR Code payment › Responses
Refund processed. Check errorCode/errorType: when both are empty, the refund was accepted.
idTransaction identifier.
errorTypeerrorCodeerrorMessage