Skip to content

Dispute

Bakhtarian edited this page May 14, 2026 · 1 revision

Dispute

A dispute is a chargeback raised by a cardholder against a Whop payment. The SDK lets you list and read disputes, and submit evidence to contest them.

SDK access

$client->disputes // Matchable\Whop\Resource\DisputeResource

Endpoints

list(array $query = []): array

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

get(string $id): array

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

updateEvidence(string $id, array $data): array

HTTP PATCH disputes/{id}/evidence
Does Updates the evidence attached to a dispute (before final submission).
Parameters $id — the dispute ID; $data — evidence fields.
Returns array

submitEvidence(string $id): array

HTTP POST disputes/{id}/submit-evidence
Does Submits the assembled evidence to the card network to contest the dispute.
Parameters $id — the dispute ID.
Returns array

Note: there is no create or delete — disputes are opened by the card network. See DisputeAlert for pre-chargeback warnings.

Example

$client->disputes->updateEvidence('dispute_...', [
    'product_description' => 'Lifetime access to the trading course',
]);
$client->disputes->submitEvidence('dispute_...');

Reference

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

Clone this wiki locally