refunds

Create unreferenced refund

Use this method to create an unreferenced refund. An unreferenced refund is a refund that isn't linked to a payment.

Note: If you have the paymentId of the payment you want to refund, use our Refund Payment method. If you use our Refund Payment method, our gateway sends the refund amount to the customer's original payment method and links the refund to the payment.

In the request, you must provide the customer's payment details and the refund amount.

In the response, our gateway returns information about the refund and a refundId, which you need for the following methods:

post/refunds

Headers

Authorizationstring required

Bearer authentication

Idempotency-Keystring uuid required

Unique identifier that you generate for each request. You must use the UUID v4 format for the identifier. For more information about the idempotency key, go to Idempotency.

Request body

channel'pos' | 'moto' required

Channel that the merchant used to request the refund.

processingTerminalIdstring required

Unique identifier that we assigned to the terminal.

operatorstring

Operator who initiated the request.

Response

Successful request. We processed the refund.

refundIdstring required

Unique identifier that our gateway assigned to the refund.

processingTerminalIdstring required

Unique identifier that we assigned to the terminal.

operatorstring

Operator who requested the refund.

supportedOperationsSupportedOperationsItems[]

Array of operations that you can perform on the transaction. Our gateway can return any of the following values:

Changes