Authorizations
The app API key from an app from the /dashboard/developer page
Path Parameters
"pay_xxxxxxxxxxxxxx"
Body
Parameters for RefundPayment
An amount if the refund is supposed to be partial.
6.9
Response
A successful response
An object representing a receipt for a membership.
The payment ID
"pay_xxxxxxxxxxxxxx"
The current state of the payment. The status of a receipt
draft, open, paid, pending, uncollectible, unresolved, void The friendly status of the payment.
auto_refunded, refunded, partially_refunded, dispute_warning, open_resolution, open_dispute, failed, price_too_low, succeeded, drafted, uncollectible, unresolved, past_due, pending, incomplete, canceled True only for payments that are paid, have not been fully refunded, and were processed by a payment processor that allows refunds.
True when the payment status is open and its membership is in one of the retry-eligible states (active, trialing, completed, or past_due); otherwise false. Used to decide if Whop can attempt the charge again.
True when the payment is tied to a membership in past_due, the payment status is open, and the processor allows voiding payments; otherwise false.
The datetime the payment was created
"2023-12-01T05:00:00.401Z"
The datetime the payment was paid
"2023-12-01T05:00:00.401Z"
The time of the last payment attempt.
"2023-12-01T05:00:00.401Z"
When an alert came in that this transaction will be disputed
"2023-12-01T05:00:00.401Z"
When the payment was refunded (if applicable).
"2023-12-01T05:00:00.401Z"
The plan attached to this payment.
The access pass attached to this payment.
The user that made this payment.
The membership attached to this payment.
The member attached to this payment.
The company for the payment.
The promo code used for this payment.
The currency of the payment. The available currencies on the platform
usd, sgd, inr, aud, brl, cad, dkk, eur, nok, gbp, sek, chf, hkd, huf, jpy, mxn, myr, pln, czk, nzd, aed, eth, ape, cop, ron, thb, bgn, idr, dop, php, try, krw, twd, vnd, pkr, clp, uyu, ars, zar, dzd, tnd, mad, kes, kwd, jod, all, xcd, amd, bsd, bhd, bob, bam, khr, crc, xof, egp, etb, gmd, ghs, gtq, gyd, ils, jmd, mop, mga, mur, mdl, mnt, nad, ngn, mkd, omr, pyg, pen, qar, rwf, sar, rsd, lkr, tzs, ttd, uzs, rub, btc The total to show to the creator (excluding buyer fees).
6.9
The subtotal to show to the creator (excluding buyer fees).
6.9
The total in USD to show to the creator (excluding buyer fees).
6.9
The payment refund amount(if applicable).
6.9
Whether this payment was auto refunded or not
How much the payment is for after fees
6.9
Card network reported by the processor (for example visa, mastercard, amex). Present only when the underlying payment method type is card.
Possible card brands that a payment token can have
mastercard, visa, amex, discover, unionpay, jcb, diners, link, troy, visadankort, visabancontact, china_union_pay, rupay, jcbrupay, elo, unknown The last 4 digits of the card used to make the payment.
The address of the user who made the payment.
Machine-readable identifier for the payment method used on the payment. Examples include card, cashapp ..., local methods such as ideal, sofort, ... BNPL options like klarna, affirm, ..., or crypto. Returns null when the processor does not supply a type.
The different types of payment methods that can be used.
acss_debit, affirm, afterpay_clearpay, alipay, alma, amazon_pay, apple_pay, au_becs_debit, bacs_debit, bancontact, billie, blik, boleto, card, cashapp, crypto, eps, fpx, giropay, google_pay, grabpay, ideal, kakao_pay, klarna, konbini, kr_card, link, mobilepay, multibanco, naver_pay, nz_bank_account, oxxo, p24, pay_by_bank, payco, paynow, pix, promptpay, revolut_pay, samsung_pay, satispay, sepa_debit, sofort, swish, twint, us_bank_account, wechat_pay, zip, bizum, capchase_pay, kriya, mondu, ng_wallet, paypay, sequra, scalapay, vipps, custom, customer_balance, gopay, mb_way, ng_bank, ng_bank_transfer, ng_card, ng_market, ng_ussd, paypal, payto, qris, rechnung, south_korea_market, kr_market, shopeepay, upi, sunbit, netbanking, id_bank_transfer, demo_pay, shop_pay, apple, sezzle, coinbase, splitit, unknown The reason for the charge. The reason why a specific payment was billed
subscription_create, subscription_cycle, subscription_update, one_time, manual, subscription If the payment failed, the reason for the failure.

