Skip to content

PaymentMethod

Bakhtarian edited this page May 14, 2026 · 1 revision

Payment Method

A payment method is a stored instrument a customer uses to pay on Whop — for example a card or bank account. The SDK provides read-only access to payment methods.

SDK access

$client->paymentMethods // Matchable\Whop\Resource\PaymentMethodResource

Endpoints

list(array $query = []): array

HTTP GET payment-methods
Does Lists payment methods.
Parameters $query — optional filters / pagination (e.g. by customer).
Returns array

get(string $id): array

HTTP GET payment-methods/{id}
Does Retrieves a single payment method by ID.
Parameters $id — the payment method ID.
Returns array

Note: this resource is read-only — it exposes only list and get. For receiving payouts, see PayoutMethod.

Example

$methods = $client->paymentMethods->list(['customer_id' => 'cust_...']);

$method = $client->paymentMethods->get('pm_...');

Reference

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

Clone this wiki locally