Retrieve Payment
Changed onReturns one payment, including every purchased line item with its quantity and subtotal. Related records are ids — resolve a variant, membership, member or shipment on its own endpoint, and list this payment's refunds, disputes or Resolution Center cases with ?payment_id=. A buyer can retrieve their own payment with a user credential; it leaves out the account's side of the payment, as the list does.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
The payment, prefixed pay_.
Headers
Pins the request to a dated API version.
Response
payment retrieved
The account that received the payment, prefixed biz_.
What the buyer is charged for this payment: the total plus any buyer fees, in the currency the buyer pays in. Refunds do not reduce it; presentment_refunded_amount states them in the same currency.
When Whop will capture this authorized card payment automatically unless it is voided first, as an ISO 8601 timestamp. Null when no automatic capture was requested.
True when Whop refunded the payment automatically, for example on a dispute alert.
The reason why a specific payment was billed
When the hold on this authorized card payment expires if it is not captured first, as an ISO 8601 timestamp. Null when the payment was not created for later capture.
The checkout configuration the buyer paid through, prefixed ch_, or null.
The scheme and host of the website where the buyer opened the checkout, such as https://store.example.com. Use it to tell apart payments from different websites on one account. Null when the website was not recorded, including for payments made without the buyer present.
The checkout experience that produced this payment, such as embedded_checkout for a checkout on the account's own website or off_session for a subscription renewal. Null when the checkout was not recorded.
The credential a buyer's surface presents to poll this payment, set its return URL and resume it when the bank asked the customer to authenticate. Only on payments created from a confirmation token or waiting on that authentication, null when you read the payment as its buyer, and always null in list responses — retrieve the payment for it.
When the payment was created, as an ISO 8601 timestamp.
The currency the payment settles in, lowercase ISO 4217. Every money field below is stated in it unless it says otherwise.
The buyer's email address. Null without member:email:read on the account or when the buyer has no assigned email.
The phone number the buyer gave at checkout, when one was collected.
The reason a payment was declined.
When an issuer warned that this payment will be disputed, or null.
When the most recent dispute on this payment was opened, as an ISO 8601 timestamp. Null when the payment was never disputed, or without the payment:dispute:read permission.
Why the most recent attempt failed, in plain words, or null.
For installment methods, how many payments the charge splits into.
Payment ID, prefixed pay_.
True when the Whop Dispute Insurance Program covers fraud disputes on this payment. False when the account is in the program but this payment is not covered. Null when the account is not in the program, and when you read the payment as its buyer.
IP address that Whop captured from the buyer's browser at checkout. Null when the buyer was not present at checkout, for example a subscription renewal or a charge made without the buyer. Also null when you read the payment as its buyer.
When the most recent charge attempt ran, or null.
The buyer's member record on the account, prefixed mber_. Null without the member:basic:read permission, unless you are the buyer.
The membership this payment is billed against, prefixed mem_. Null for one-off purchases, or without the member:basic:read permission unless you are the buyer.
Your own key-value data attached when the payment was created. Null when you read the payment as its buyer.
True for a paid payment with a shipping address, no shipment, and no full refund. Null without the shipment:basic:read permission.
True when funds are held until the order ships and no tracking number has been added yet. Null without the shipment:basic:read permission.
When the next automatic retry is scheduled, or null.
When the money was collected, or null while it has not been.
The stored payment method that was charged, prefixed payt_. Null when the method was not saved.
The different types of payment methods that can be used.
How many charge attempts have failed on this payment.
The product the variant belongs to, prefixed prod_. Null for a variant with no product.
The promo code applied at checkout, prefixed promo_, or null.
The payment quote this payment charged, prefixed pq_: its purchase, promo code and tax_amount are the quote's. Null when the payment named no quote and tax was calculated at charge time.
Whop-hosted URL where the buyer can sign in and complete 3D Secure for an off-session charge the bank challenged — a subscription renewal or a saved-card payment. Null when recovery is unavailable, you lack member:basic:read, or in list responses. Retrieve the payment for it.
True when the payment is paid, not yet fully refunded, and its processor supports refunds.
When the payment was refunded, or null.
Why the buyer cannot open a Resolution Center case on this payment with POST /resolution_center_cases, or null when they can. already_opened: a case is already open or was decided (a withdrawn case does not count). unsupported_payment_processor: the payment method does not support cases. out_of_date: the window to open a case has passed. not_paid: the payment is not paid. free: nothing was charged. already_refunded: some of it has been refunded.
When the earliest response is due on a dispute or Resolution Center case awaiting the account's response, as an ISO 8601 timestamp. Null when nothing awaits a response, or without the permission to read that dispute or case.
True when the payment can be retried by hand with POST /payments/{id}/retry. The payment must be open and not paid through an invoice payment link. Its membership must be active, trialing, or past_due, or the payment must be a failed first payment on a drafted membership. Its one manual retry must not be used up. A retry can still be refused when the account cannot currently accept payments.
Whop's published risk index from 0 (lowest) to 100 (highest), including enforced decision floors. This is not a fraud probability. Null when no score is available or you read the payment as its buyer.
Deprecated. Risk score explanations are no longer provided; always null. DEPRECATED: Risk score explanations are no longer provided. Always null.
When the portion not listed in holds posts to the account's available balance, at midnight UTC. The financial_activity.funds_available webhook's posted_at carries the same value when the settlement that clears it posts. Null until the payment is paid or when you read the payment as its buyer, and always null in list responses — retrieve the payment for it.
The shipment fulfilling this payment, prefixed ship_. Null when nothing ships or without the shipment:basic:read permission.
The text the buyer's bank or card statement shows for this payment. Null when the processor did not report one.
The lifecycle state of the charge: open while collection is outstanding, paid once the money moved, pending while a settlement rail clears, void/uncollectible when it ended without collecting.
The dashboard's finer-grained reading of the payment, folding in refunds, disputes and Resolution Center cases.
The type of tax inclusivity applied to the receipt, for determining whether the tax is included in the final price, or paid on top.
How much of the collected tax has been returned to the buyer so far. Zero when the payment carried no tax, or when nothing has been refunded.
True when the buyer completed 3D Secure for this payment.
When the payment last changed, as an ISO 8601 timestamp.
The buyer's browser user agent at checkout. Null when the buyer was not present at checkout, such as a subscription renewal, or without the member:basic:read permission.
The variant that was charged, prefixed plan_.
True when the payment can be voided or canceled. The request is rejected if the payment is no longer eligible — see POST /payments/{id}/void.
The Whop pixel's visitor ID for the buyer's browser at checkout, prefixed wuid_. Null when the checkout page had no Whop pixel, when the buyer was not present at checkout, or without the member:basic:read permission.
Example response
{
"account_id": "biz_xxxxxxxxxxxxxx",
"amount_after_fees": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"amount_charged": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"billing_address": {
"city": "Austin",
"country": "US",
"line1": "1114 Bouldin Ave",
"line2": "Unit B",
"name": "Dana Whitfield",
"postal_code": "78704",
"state": "TX"
},
"billing_reason": "subscription_create",
"checkout_surface": "custom_checkout",
"client_secret": "pay_xxxxxxxxxxxxxx_secret_vdefault_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"created_at": "2026-01-01T12:00:00.000Z",
"currency": "usd",
"customer_email": "marcus@shinetime.example",
"customer_phone": "+xxxxxxxxxxx",
"decline_code": "insufficient_funds",
"financing_max_qualified_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"holds": [
{
"amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"type": "reserve"
}
],
"id": "pay_xxxxxxxxxxxxxx",
"line_items": [
{
"discount_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"id": "li_xxxxxxxxxxxxxx",
"label": "Credit card surcharge",
"product_id": "prod_xxxxxxxxxxxxxx",
"product_title": "Credit card surcharge",
"quantity": 1,
"subtotal": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"variant_id": "plan_xxxxxxxxxxxxxx",
"variant_title": "Credit card surcharge"
}
],
"member_id": "mber_xxxxxxxxxxxxxx",
"membership_id": "mem_xxxxxxxxxxxxxx",
"metadata": {
"order_ref": "SHINE-4417"
},
"paid_at": "2026-01-01T12:00:00.000Z",
"payment_instrument": {
"card": {
"brand": "visa",
"exp_month": 10,
"exp_year": 2031,
"issuer_identification_number": "41111111",
"last4": "4242",
"network_transaction_id": "016153570198200"
},
"crypto": {
"token": "eyJhbGciOiJFUzI1NiJ9.xxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxx"
},
"display_name": "Visa •••• 4242",
"icons": {
"card": {
"dark": {
"png_1x": "https://content.whop.com/payment_methods/card/icons/card_dark_30.png",
"png_2x": "https://content.whop.com/payment_methods/card/icons/card_dark_60.png",
"png_4x": "https://content.whop.com/payment_methods/card/icons/card_dark_120.png",
"svg": "https://content.whop.com/payment_methods/card/icons/card_dark.svg"
},
"light": {
"png_1x": "https://content.whop.com/payment_methods/card/icons/card_dark_30.png",
"png_2x": "https://content.whop.com/payment_methods/card/icons/card_dark_60.png",
"png_4x": "https://content.whop.com/payment_methods/card/icons/card_dark_120.png",
"svg": "https://content.whop.com/payment_methods/card/icons/card_dark.svg"
}
},
"square": {
"dark": {
"png_1x": "https://content.whop.com/payment_methods/card/icons/card_dark_30.png",
"png_2x": "https://content.whop.com/payment_methods/card/icons/card_dark_60.png",
"png_4x": "https://content.whop.com/payment_methods/card/icons/card_dark_120.png",
"svg": "https://content.whop.com/payment_methods/card/icons/card_dark.svg"
},
"light": {
"png_1x": "https://content.whop.com/payment_methods/card/icons/card_dark_30.png",
"png_2x": "https://content.whop.com/payment_methods/card/icons/card_dark_60.png",
"png_4x": "https://content.whop.com/payment_methods/card/icons/card_dark_120.png",
"svg": "https://content.whop.com/payment_methods/card/icons/card_dark.svg"
}
}
},
"payment_method_type": "card"
},
"payment_method_id": "payt_xxxxxxxxxxxxxx",
"payment_method_type": "acss_debit",
"payment_rule_matches": [
{
"action": "allow"
}
],
"presentment_refunded_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"presentment_tax_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"presentment_total": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"product_id": "prod_xxxxxxxxxxxxxx",
"refunded_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"resolution_center_ineligible_reason": "not_paid",
"retryable": true,
"shipping_address": {
"city": "Austin",
"country": "US",
"line1": "1114 Bouldin Ave",
"line2": "Unit B",
"name": "Dana Whitfield",
"postal_code": "78704",
"state": "TX"
},
"status": "draft",
"substatus": "succeeded",
"subtotal": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"surcharge": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"tax_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"tax_behavior": "exclusive",
"tax_refunded_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"total": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"updated_at": "2026-01-01T12:00:00.000Z",
"usd_total": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"user": {
"badges": [
{
"type": "verified_partner"
}
],
"id": "user_xxxxxxxxxxxxxx",
"name": "Dana Whitfield",
"profile_picture": {
"url": "https://ui-avatars.com/api/"
},
"username": "danawhitfield"
},
"variant_id": "plan_xxxxxxxxxxxxxx",
"verification_checks": {
"address_line1": "PASS",
"arn": "74123456789",
"authorization_code": "A1B2C3",
"card_holder_name": "PASS",
"card_security_code": "PASS",
"zip_code": "PASS"
}
}Changes
- info
added the required property
insuredto the response with the status
- info
- warning
added the new
card_not_activatedenum value to thedecline_code/oneOf[#/components/schemas/PaymentDeclineCodes]response property for the response status
- warning