Payments

Retrieve Payment

Changed on

Returns 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.

get/payments/{id}

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Path parameters

id, string required

The payment, prefixed pay_.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Response

payment retrieved

Payment required
account_id, string nullable required

The account that received the payment, prefixed biz_.

amount_after_fees, Money nullable required
amount_charged, Money required

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.

auto_capture_at, string nullable required

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.

auto_refunded, boolean required

True when Whop refunded the payment automatically, for example on a dispute alert.

billing_address, PaymentAddress nullable required
billing_reason, 'subscription_create' | 'subscription_cycle' | 'subscription_update' | 'one_time' | 'manual' | 'subscription' nullable required

The reason why a specific payment was billed

capture_expires_at, string nullable required

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.

checkout_configuration_id, string nullable required

The checkout configuration the buyer paid through, prefixed ch_, or null.

checkout_origin, string nullable required

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.

checkout_surface, 'hosted_checkout' | 'embedded_checkout' | 'custom_checkout' | 'modal_checkout' | 'in_app_checkout' | 'mobile_checkout' | 'off_session' | 'card_present' | 'null' nullable required

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.

client_secret, string nullable required

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.

created_at, string required

When the payment was created, as an ISO 8601 timestamp.

currency, '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' | 'cny' | 'usdt' | 'kzt' | 'awg' | 'whop_usd' | 'xau' | 'hnl' required

The currency the payment settles in, lowercase ISO 4217. Every money field below is stated in it unless it says otherwise.

customer_email, string nullable required

The buyer's email address. Null without member:email:read on the account or when the buyer has no assigned email.

customer_phone, string nullable required

The phone number the buyer gave at checkout, when one was collected.

decline_code, 'insufficient_funds' | 'lost_card' | 'stolen_card' | 'expired_card' | 'suspected_fraud' | 'invalid_card_number' | 'invalid_cvc' | 'invalid_cvc_or_expiration' | 'incorrect_pin' | 'authentication_required' | 'card_not_supported' | 'currency_not_supported' | 'duplicate_transaction' | 'generic_decline' | 'invalid_account' | 'invalid_amount' | 'processing_error' | 'restricted_card' | 'card_velocity_exceeded' | 'contact_issuer' | 'card_declined_by_issuer' | 'bank_declined' | 'regulatory_blocked' | 'transaction_not_permitted' | 'transaction_stopped' | 'card_type_not_supported' | 'issuer_not_found' | 'closed_account' | 'issuer_unavailable' | 'invalid_zip' | 'invalid_billing_address' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_expiry' | 'invalid_transaction' | 'cannot_authorize' | 'pin_required' | 'pin_try_exceeded' | 'provider_declined' | 'high_risk' | 'test_mode_decline' | 'merchant_blacklist' | 'reenter_transaction' | 'invalid_pin' | 'pin_required_as' | 'withdrawal_count_limit_exceeded' | 'invalid_country' | 'issuer_error' | 'invalid_card_holder_name' | 'no_accounts' | 'transaction_cancelled' | 'three_d_secure_success' | 'three_d_secure_canceled' | 'three_d_secure_invalid_card_number' | 'three_d_secure_generic_error' | 'three_d_secure_timeout' | 'three_d_secure_failed' | 'three_d_secure_card_not_enrolled' | 'three_d_secure_fraud' | 'three_d_secure_too_many_attempts' | 'three_d_secure_rejected_by_bank' | 'three_d_secure_reported_lost_or_stolen' | 'blocked_by_cardholder' | 'test_mode_test_card' | 'try_again_later' | 'card_not_activated' | 'transaction_not_allowed' | 'bank_insufficient_funds' | 'bank_account_not_found' | 'bank_account_closed' | 'bank_account_frozen' | 'bank_invalid_routing_number' | 'bank_non_transaction_account' | 'bank_authorization_revoked' | 'bank_payment_stopped' | 'bank_not_authorized' | 'bank_account_holder_deceased' | 'bank_duplicate' | 'bank_amount_error' | 'bank_regulatory_blocked' | 'bank_details_invalid' | 'bank_processing_error' | 'bank_generic_decline' | 'sepa_invalid_iban' | 'sepa_no_mandate' | 'sepa_mandate_data_invalid' | 'sepa_disputed' | 'sepa_refused_by_customer' | 'sepa_generic_decline' nullable required

The reason a payment was declined.

dispute_alerted_at, string nullable required

When an issuer warned that this payment will be disputed, or null.

dispute_created_at, string nullable required

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.

failure_message, string nullable required

Why the most recent attempt failed, in plain words, or null.

financing_installments_count, number nullable required

For installment methods, how many payments the charge splits into.

financing_max_qualified_amount, Money nullable required
holds, PaymentHold[] required
id, string required

Payment ID, prefixed pay_.

insured, boolean nullable required

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, string nullable required

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.

last_payment_attempt_at, string nullable required

When the most recent charge attempt ran, or null.

line_items, ReceiptLineItem[] required
member_id, string nullable required

The buyer's member record on the account, prefixed mber_. Null without the member:basic:read permission, unless you are the buyer.

membership_id, string nullable required

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.

metadata, object nullable required

Your own key-value data attached when the payment was created. Null when you read the payment as its buyer.

missing_tracking, boolean nullable required

True for a paid payment with a shipping address, no shipment, and no full refund. Null without the shipment:basic:read permission.

needs_tracking, boolean nullable required

True when funds are held until the order ships and no tracking number has been added yet. Null without the shipment:basic:read permission.

next_payment_attempt_at, string nullable required

When the next automatic retry is scheduled, or null.

paid_at, string nullable required

When the money was collected, or null while it has not been.

payment_instrument, PaymentInstrument nullable required
payment_method_id, string nullable required

The stored payment method that was charged, prefixed payt_. Null when the method was not saved.

payment_method_type, 'acss_debit' | 'addi' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alipayhk' | 'alma' | 'amazon_pay' | 'apple' | 'apple_pay' | 'au_bank_transfer' | 'au_becs_debit' | 'bacs_debit' | 'bancolombia' | 'bancontact' | 'bank_wire' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'bre_b' | 'ca_bank_transfer' | 'capchase_pay' | 'card' | 'card_present' | 'card_installments_three' | 'card_installments_six' | 'card_installments_twelve' | 'cashapp' | 'claritypay' | 'coinbase' | 'crypto' | 'crypto_subscription' | 'custom' | 'customer_balance' | 'demo_pay' | 'duitnow_qr' | 'efecty' | 'eps' | 'eu_bank_transfer' | 'fpx' | 'flex_pay' | 'gb_bank_transfer' | 'gcash' | 'giropay' | 'google_pay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac' | 'international_bank_wire' | 'kakao_pay' | 'klarna' | 'klarna_pay_now' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'kueski' | 'link' | 'mb_way' | 'm_pesa' | 'mercado_pago' | 'mercado_pago_ar' | 'mercado_pago_mx' | 'mobilepay' | 'modo' | 'mondu' | 'multibanco' | 'naver_pay' | 'nequi' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nupay' | 'nz_bank_account' | 'oney' | 'oney_3x' | 'oney_4x' | 'opay' | 'oxxo' | 'p24' | 'pago_efectivo' | 'pse' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypal_express' | 'paypay' | 'payto' | 'payto_email' | 'payto_phone' | 'payto_bank_account' | 'pix' | 'pix_automatico' | 'platform_balance' | 'promptpay' | 'qris' | 'rapipago' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sencillito' | 'sepa_debit' | 'sequra' | 'servipag' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'spei' | 'splitit' | 'sunbit' | 'swish' | 'tabby' | 'tamara' | 'touch_n_go' | 'twint' | 'upi' | 'us_bank_account' | 'us_bank_transfer' | 'venmo' | 'verve' | 'vipps' | 'webpay' | 'wechat_pay' | 'whop_pay' | 'yape' | 'zip' | 'coinflow' | 'unknown' nullable required

The different types of payment methods that can be used.

payment_rule_matches, PaymentRuleMatch[] required
payments_failed, number required

How many charge attempts have failed on this payment.

presentment_refunded_amount, Money nullable required
presentment_tax_amount, Money nullable required
presentment_total, Money nullable required
product_id, string nullable required

The product the variant belongs to, prefixed prod_. Null for a variant with no product.

promo_code_id, string nullable required

The promo code applied at checkout, prefixed promo_, or null.

quote_id, string nullable required

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.

recovery_url, string nullable required

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.

refundable, boolean required

True when the payment is paid, not yet fully refunded, and its processor supports refunds.

refunded_amount, Money nullable required
refunded_at, string nullable required

When the payment was refunded, or null.

resolution_center_ineligible_reason, 'already_opened' | 'unsupported_payment_processor' | 'out_of_date' | 'not_paid' | 'free' | 'already_refunded' | 'null' nullable required

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.

response_due_at, string nullable required

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.

retryable, boolean required

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.

risk_score, number nullable required

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.

risk_signals, object nullable required

Deprecated. Risk score explanations are no longer provided; always null. DEPRECATED: Risk score explanations are no longer provided. Always null.

settlement_time_at, string nullable required

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.

shipment_id, string nullable required

The shipment fulfilling this payment, prefixed ship_. Null when nothing ships or without the shipment:basic:read permission.

shipping_address, PaymentAddress nullable required
statement_descriptor, string nullable required

The text the buyer's bank or card statement shows for this payment. Null when the processor did not report one.

status, 'draft' | 'open' | 'authorized' | 'paid' | 'pending' | 'uncollectible' | 'unresolved' | 'void' required

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.

substatus, 'succeeded' | 'requires_capture' | 'pending' | 'failed' | 'blocked' | 'past_due' | 'canceled' | 'price_too_low' | 'uncollectible' | 'refunded' | 'auto_refunded' | 'partially_refunded' | 'dispute_warning' | 'dispute_needs_response' | 'dispute_warning_needs_response' | 'resolution_needs_response' | 'dispute_under_review' | 'dispute_warning_under_review' | 'resolution_under_review' | 'dispute_won' | 'dispute_warning_closed' | 'resolution_won' | 'dispute_lost' | 'dispute_closed' | 'resolution_lost' | 'drafted' | 'incomplete' | 'unresolved' | 'open_dispute' | 'open_resolution' required

The dashboard's finer-grained reading of the payment, folding in refunds, disputes and Resolution Center cases.

subtotal, Money nullable required
surcharge, Money nullable required
tax_amount, Money nullable required
tax_behavior, 'exclusive' | 'inclusive' | 'unspecified' | 'unable_to_collect' nullable required

The type of tax inclusivity applied to the receipt, for determining whether the tax is included in the final price, or paid on top.

tax_refunded_amount, Money required

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.

three_ds_verified, boolean required

True when the buyer completed 3D Secure for this payment.

total, Money nullable required
updated_at, string required

When the payment last changed, as an ISO 8601 timestamp.

usd_total, Money nullable required
user, UserSummary nullable required
user_agent, string nullable required

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.

variant_id, string nullable required

The variant that was charged, prefixed plan_.

verification_checks, PaymentVerificationChecks nullable required
voidable, boolean required

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.

wuid, string nullable required

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 insured to the response with the status

    • warning

      added the new card_not_activated enum value to the decline_code/oneOf[#/components/schemas/PaymentDeclineCodes] response property for the response status