Manage Refunds
Managing refunds is a critical part of the ACH lifecycle — especially when it comes to reconciling financial activity, handling customer requests, and maintaining audit trails. The GrailPay Payments API provides a suite of endpoints to help you retrieve and review refund activity across different levels of granularity: from account-wide lists to individual refund records.
Whether you’re building a dashboard, troubleshooting a specific case, or simply auditing past refund activity, these endpoints give you the visibility and flexibility you need to stay on top of refund flows.
Available Actions
Section titled “Available Actions”GrailPay currently supports the following operations for managing refunds:
- List all refunds with support for filtering and pagination
- Fetch all refunds associated with a specific transaction
- Retrieve details about a specific refund
List Refunds
Section titled “List Refunds”To retrieve a list of refunds, use this endpoint to return all refund records associated with your account. This endpoint supports a rich set of query parameter filters, allowing you to refine results by transaction, merchant, status, amount, date range, ACH trace ID, and return code. Results are paginated and can be sorted by created date or amount.
This is especially useful for:
- Reconciling refunds across multiple transactions
- Tracking partial or multi-stage refund workflows
- Auditing refund history for a specific merchant or transaction
- Monitoring refund statuses and ACH return codes
For full request and response schemas, including available filters, refer to the List Refunds OpenAPI Documentation.
Retrieve a Specific Refund
Section titled “Retrieve a Specific Refund”Use this endpoint to fetch a single refund by its UUID, giving you detailed insight into a specific refund’s amount, status, related transaction, and any associated batch.
This is useful for:
- Troubleshooting issues with a specific refund
- Confirming refund success
- Displaying granular refund data in product interfaces
For full details, refer to our OpenAPI documentation:
Bank Accounts on a Refund
Section titled “Bank Accounts on a Refund”A refund moves money in the opposite direction from its transaction, so the two parties swap roles. In a refund
object, payor is the original transaction’s payee, who funds the refund, and payee is the original transaction’s
payor, who receives the money back.
Each party’s bank_account shows the account GrailPay used for that leg of the refund:
| Field | Account shown | null until |
|---|---|---|
payor.bank_account |
The account the refund capture debited | GrailPay creates the capture ACH debit |
payee.bank_account |
The account the refund payout credited | GrailPay creates the payout ACH credit |
A refund is created before either ACH leg starts, so the create response and the refund.created event return null
for both accounts. Each account appears once its leg starts and stays the same for the rest of the refund. If the
account is deleted later, the refund still returns it.
These accounts can differ from the ones on the original transaction and payout. An individual refund capture debits
the payee’s default bank account, so when the original payout went to a different account, payor.bank_account shows
the default account the refund actually debited. For a batch refund,
the single capture debits the platform’s funding account, so payor.bank_account shows that funding account while the
rest of the payor object still describes the original payee.
This applies to every v3 response that carries a refund object: create, list, and fetch, the refunds list in the v3
transaction details response, and every refund.* webhook event. The v1 and
v2 APIs are unchanged.
Questions?
Section titled “Questions?”If you’re encountering any issues, please reach out to support@grailpay.com.
Maintained by EkLine

