Skip to content
Bakhtarian edited this page May 14, 2026 · 1 revision

Refund

A refund is a record of money returned to a customer for a previous payment on Whop. Refunds are created via the Payment resource (payments->refund(...)); this resource is read-only.

SDK access

$client->refunds // Matchable\Whop\Resource\RefundResource

Endpoints

list(array $query = []): array

HTTP GET refunds
Does Lists refunds.
Parameters $query — optional filters / pagination.
Returns array

get(string $id): array

HTTP GET refunds/{id}
Does Retrieves a single refund by ID.
Parameters $id — the refund ID.
Returns array

Example

$refunds = $client->refunds->list(['status' => 'succeeded']);

$refund = $client->refunds->get('refund_...');

Reference

Official Whop documentation: https://docs.whop.com

Clone this wiki locally