Skip to main content

Get Authorize.net Refund Context

GET 

/api/authorize-net/transactions/:id/refund-context

Asks Authorize.net whether a payment has settled and returns what can be done with it: how much is left to refund and whether it can be refunded (settled), voided (not settled yet) or neither.

Required scope: accounting:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

  • settlement_state: settled, unsettled, or unknown (Authorize.net could not be reached; nothing can be done until it can).
  • recommended_action: refund (settled — a partial or full refund), void (not settled — only the whole payment can be voided; a partial refund waits for settlement, usually overnight), or none.
  • eChecks can only be refunded after they settle.
  • Payments older than 180 days can't be refunded through Authorize.net (refund_window_passed).
  • refundable_amount is the captured amount less refunds already made.

Authentication: Requires Bearer token with the Refund or Manage payments permission.

Returns 422 (reason: nothing_to_refund) when the transaction isn't a collected payment (an authorization, a decline, a void), and 404 when it doesn't exist.

Request​

Responses​

OK

Response Headers
    Content-Type