Skip to main content

Refund reason codes

Reason codes explain the current status of a refund. Use the code value for programmatic handling. The cause explains what happened; the integration next action explains what your integration should do.

Getpaid normalizes result codes across routes so you can act on a pre-defined set of known codes.

Declined

CodeCauseIntegration next action
already_refundedA previous refund or credit prevents another refund for the payment.Fetch the payment and inspect its totals.refunded, totals.refundable, and refunds; do not create another refund.
declinedThe payment network declined the refund.Contact Getpaid support with the refund id or arrange another reimbursement method.
exceeds_captured_amountThe refund exceeds the remaining refundable amount.Fetch the payment and check totals.refundable and refunds; reduce the amount and create a new refund.
refund_period_expiredThe network refund period has expired.Fetch the payment and check created_at; arrange another reimbursement method.
refund_unavailableRefunds are unavailable for this payment.Fetch the payment and check status and totals.refundable before creating another refund.

Failed

CodeCauseIntegration next action
unavailableA downstream payment service is unavailable.Retry later. Contact Getpaid support with the refund id if it persists.
unexpectedAn unexpected refund-processing error occurred.Do not repeatedly retry. Contact Getpaid support with the payment and refund IDs.
provider_unavailableA downstream provider is unavailable.Retry later. Contact Getpaid support with the refund id if it persists.
unknown_errorAn unknown error occurred.Retry later. Contact Getpaid support with the refund id if it persists.