get
https://api.sandbox-pay.aero.inc/v2/transaction//refunds
Retrieve the current refund state for a specific transaction.
Returns two arrays:
refunds— processed or pending reversal transactions. Shape matches a standard transaction object. Always present; empty when no refunds have been processed.queuedRefunds— individually tracked refunds that have been requested but not yet processed (e.g. the original transaction has not yet cleared). Each item hasid,referenceId,amount(withamountandcurrency), andstatus(queuedorabandoned). Always present; empty when nothing is queued.
The id on a queued refund item is the uuid assigned at the time POST /v2/reverseTransaction was called (either supplied by the client or system-generated). That same uuid becomes the id of the resulting reversal transaction once processed.
Multiple reversals: A transaction can have more than one independent reversal. Each POST /v2/reverseTransaction call produces its own record. Both refunds and queuedRefunds may contain multiple entries.
Error Glossary (click to expand)
| Code | HTTP Status | Message |
|---|---|---|
AP011 | 401 | Unauthorized |
AP101 | 401 | No authenticated user |
AP700 | 400 | Missing or invalid required parameter |
AP701 | 400 | Improperly formatted parameter |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…

