Send an unreferenced refund to a customer’s bank account
Send an unreferenced refund to a customer’s bank account
Note: Only certain merchant accounts can send unreferenced refunds.
A merchant can refund a payment to a customer’s bank account without a paymentId by running an unreferenced refund.
Integration steps
Step 1. Refund the payment.
Before you begin
Authenticate your requests before making API calls. If your request fails, see Errors.
Step 1. Refund the payment
To refund a bank transfer payment, send a POST request to the Bank Transfer Refunds endpoint.
Request parameters
To create the body of your request, use the following parameters:
Request
processingTerminalId
Unique identifier that we assigned to the terminal.
order
Object that contains information about the order.
refundMethod
Polymorphic object that contains payment details for the refund.
The value of the type parameter determines which variant you should use:
- `ach` - Automated Clearing House (ACH) details
- `secureToken` - Secure token details
customer
Object that contains information about the customer.
customFields
Array of customField objects.
Example request
Response fields
If your request is successful, we send the refund to the customer’s bank account and return a response. The response contains the following fields:
Response
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
Polymorphic object that contains bank account information.
The value of the type field determines which variant you should use:
- `ach` - Automated Clearing House (ACH) details
- `pad` - Pre-authorized debit (PAD) details
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.
Example response
Response