Retrieve a Refund
Retrieves the current state of a refund. Use this to poll for completion after creating a refund, or to look up a refund’s status at any later time. Alternatively, subscribe to the refund.succeeded and refund.failed webhook events to be notified of state transitions.
Path parameters
transactionId
Identifier of the refund. UUID v7.
Response
Refund retrieved successfully.
status
Current status of the refund. Newly created refunds always start in PENDING and transition to a terminal state asynchronously. Retrieve the refund or listen for the refund.succeeded / refund.failed webhook events to observe the transition.
Allowed values:
transactionId
Unique identifier of the refund. UUID v7.
message
Human-readable status message.
sessionId
Identifier of the checkout session the refund was issued against. UUID v7.
originalTransactionId
Identifier of the original transaction that was refunded. Returned even when the request omitted originalTransactionId, so the caller knows which transaction on the session was selected. UUID v7.
refundValue
Errors
401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error