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.
accounting:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
settlement_state:settled,unsettled, orunknown(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), ornone.- eChecks can only be refunded after they settle.
- Payments older than 180 days can't be refunded through Authorize.net (
refund_window_passed). refundable_amountis 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
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.