Retrieve Refund
Changed onReturns one refund.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
The refund to retrieve, prefixed rf_.
Headers
Pins the request to a dated API version.
Response
refund retrieved
The account that issued the refund, prefixed biz_.
When the refund was requested, as an ISO 8601 timestamp.
A merchant-facing explanation of why the refund failed, in the request's language. Null unless the refund failed or was canceled.
Why the refund failed, normalized across providers. Null unless the refund failed or was canceled.
Refund ID, prefixed rf_.
Your own key-value data attached when the refund was requested.
The refunded amount in the currency the processor moved.
The payment this refund reverses, prefixed pay_.
The payment provider that processed the refund, such as paypal or coinbase.
When the provider created the refund, as an ISO 8601 timestamp.
Why the refund was issued, when recorded.
Whether a banking-network tracking reference is available for this refund.
The kind of tracking reference, such as an acquirer reference number.
The tracking reference the buyer's bank can trace the refund by.
Where the refund stands with the processor: pending, requires_action, succeeded, failed, or canceled.
When the refund last changed, as an ISO 8601 timestamp.
True when the card network initiated the refund through Rapid Dispute Resolution.
Example response
{
"account_id": "biz_xxxxxxxxxxxxxx",
"amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"created_at": "2026-01-01T12:00:00.000Z",
"failure_message": "The customer's card is expired or was canceled.",
"failure_reason": "expired_or_canceled_card",
"id": "rf_xxxxxxxxxxxxxx",
"original_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"payment_id": "pay_xxxxxxxxxxxxxx",
"provider": "stripe",
"provider_created_at": "2026-01-01T12:00:00.000Z",
"reason": "duplicate",
"reference_status": "available",
"reference_type": "acquirer_reference_number",
"status": "failed",
"updated_at": "2026-01-01T12:00:00.000Z"
}Changes
- info
added the required property
metadatato the response with the status
- info
- warning
added the new
dispute_alertenum value to thereasonresponse property for the response status
- warning