List Refunds
Changed onLists refunds the caller can read, newest first. Filter by payment, account, or buyer to narrow the results.
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/refunds
- Auth: HTTP bearer
Query parameters
Only refunds issued by this account, prefixed biz_.
Only refunds of this payment, prefixed pay_.
Only refunds to this buyer, prefixed user_.
Only refunds requested before this ISO 8601 timestamp.
Only refunds requested after this ISO 8601 timestamp.
The field to sort by.
The sort direction.
Number of results to return from the start of the range.
Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.
Number of results to return from the end of the range.
Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.
Response
refunds listed
Example response
{
"data": [
{
"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": "Insufficient funds on the merchant balance.",
"failure_reason": "insufficient_funds",
"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"
}
],
"page_info": {
"start_cursor": "WyJjdXJzb3IiLDFd"
}
}Changes
- warning
added the new
dispute_alertenum value to the//response property for the response status
- warning
- breaking
for the
queryrequest parameterfirst, default value20was added - warning
for the
queryrequest parameterfirst, the max was set to100.00 - warning
for the
queryrequest parameterlast, the max was set to100.00
- breaking