Create refund
Send a refund to a customer’s bank account. The refund transaction is not linked to the previous transaction.
Note: This function is available to only certain merchant accounts.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Idempotency-Key
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
This endpoint expects an object.
processingTerminalId
Unique identifier that we assigned to the terminal.
order
Object that contains information about the order.
refundMethod
Object that contains information about how the merchant refunds the customer.
customFields
Array of customField objects.
Response
Successful request. We sent the refund to the customer's bank account.
refundId
Unique identifier that our gateway assigned to the refund.
processingTerminalId
Unique identifier that we assigned to the terminal.
order
Object that contains information about the order.
bankAccount
Object that contains information about the bank account.
transactionResult
Object that contains information about the transaction.
customer
Object that contains information about the customer.
payment
Object that contains information about a payment.
customFields
Array of customField objects.