Skip to main content

Payment and Refund Statuses

Statuses are returned as uppercase enum values.

Payment statuses​

  • CREATED, PENDING, CONFIRMED
  • APPROVED, REFUSED, EXPIRED, ERROR
  • ABORTED, PENDING_CANCEL, CANCELED, FAILED_CANCEL
  • PENDING_REFUND, PARTIALLY_REFUNDED, REFUNDED, FAILED_REFUND
  • CREDITED

Use the response flags rather than inferring allowed actions from a status alone:

  • isAbortable indicates whether abort is currently accepted.
  • isCancellable indicates whether cancellation is currently accepted.
  • isRefundable and amountRefundable indicate whether and how much can be refunded.

These flags include active-refund checks and payment-method time-window policies, so they may become false while the displayed status remains unchanged.

Refund status summary​

refundDetails.refundStatus summarizes the latest refund as PENDING_REFUND, PARTIALLY_REFUNDED, REFUNDED, or FAILED_REFUND. totalRefundedAmount contains the successful refunded amount in minor units.