---
title: "Setup Intent Succeeded"
method: POST
path: "setup_intent.succeeded"
tags: ["Setup Intents"]
---

# Setup Intent Succeeded

`POST setup_intent.succeeded` (webhook)

Sent when a setup intent is succeeded

Required permissions:
 - `payment:setup_intent:read`
 - `member:basic:read`
 - `member:email:read`
 - `webhook_receive:setup_intents`

## Headers

- `webhook-id` string, required: A unique identifier for this webhook request
- `webhook-signature` string, required: The signature of the webhook request with the webhook version prepended
- `webhook-timestamp` string, required: The timestamp in seconds since the Unix epoch that the webhook was sent at on the server

## Payload

- object
  - `account_id` string, nullable: The account ID that this webhook event is associated with
  - `api_version` 'v1', required: The API version for this webhook
  - `api_version_date` string, nullable, required: The dated API version (Api-Version-Date) the payload is serialized to
  - `data` SetupIntent, required
    - `account_id` string, nullable, required: The account the payment method is saved for, prefixed `biz_`.
    - `checkout_configuration_id` string, nullable, required: The checkout configuration this setup was created through, prefixed `ch_`. Null for a setup created through this API rather than a hosted checkout.
    - `client_secret` string, nullable, required: The credential a buyer's surface presents to poll this setup and set its return URL — hand it to the elements' `handleNextAction`. Only on setups created through this API, and always null in list responses — retrieve the setup intent for it.
    - `created_at` string, required: When the setup intent was created, as an ISO 8601 timestamp.
    - `id` string, required: Setup intent ID, prefixed `sint_`.
    - `last_setup_error` SetupLastSetupError, nullable, required
      - `code` string, nullable, required: A machine-readable classification of the failure, e.g. `enrollment_declined`. Absent when the buyer simply abandoned the setup.
      - `message` string, nullable, required: A human-readable explanation of the failure.
    - `member_id` string, nullable, required: The buyer's member record on the account, prefixed `mber_`. Null without the member:basic:read permission, unless the caller is the buyer.
    - `metadata` object, nullable, required: Your own key-value data attached when the setup intent was created.
    - `payment_instrument` PaymentInstrument, nullable, required
      - `card` PaymentInstrumentCard, nullable, required
        - `brand` string, nullable, required: The network identifier (`visa`, `amex`, …), matching `card.networks` entries and saved card payment methods. Null when the vault did not record the network.
        - `exp_month` number, nullable, required: The card's expiry month, 1 to 12. Null when the vault did not record it.
        - `exp_year` number, nullable, required: The card's four-digit expiry year. Null when the vault did not record it.
        - `issuer_identification_number` string, nullable, required: The issuer identification number, also called the BIN: the card's leading six or eight digits, which identify the issuing bank. Null when the processor did not report it.
        - `last4` string, nullable, required: The card's last four digits, when captured.
        - `network_transaction_id` string, nullable, required: The network transaction id this account uses for the card. It's this account's own id, from its first customer-present charge or verification on the card, when Whop has one. Otherwise it's an earlier network transaction id for this card, which can come from another account's transaction or be one brought with the card. Cite it as the prior transaction on a later merchant-initiated charge of this card at this account. Null until there is one. A webhook sent as a payment is first recorded can carry `null`, so retrieve the payment to read it.
      - `crypto` PaymentInstrumentCrypto, nullable, required
        - `deposit_address` string, nullable, required: Address that the buyer was asked to send `token` to on `network`. Null when the payment provider has not reported it.
        - `network` string, nullable, required: Name of the blockchain network that the buyer paid on, for example `Base` or `Solana`. Null when the payment provider has not reported it.
        - `sender_address` string, nullable, required: Address of the wallet that sent the payment. A payment from an exchange can come from a shared wallet that is not the buyer's own. Null when the payment provider has not reported it.
        - `token` string, nullable, required: Symbol of the token that the buyer paid with, for example `USDC`. Null when the payment provider has not reported it.
        - `token_amount` string, nullable, required: Amount of `token` that the payment asked the buyer to send, as a decimal string in whole token units, for example `25.5`. Null when the payment provider has not reported it.
        - `transaction_hash` string, nullable, required: The hash of the on-chain transaction that the buyer sent to pay. Use it to find the payment from a hash that the buyer gives you. Null until the payment provider reports the transaction.
      - `display_name` string, required: Buyer-facing instrument name — "Visa •••• 4242" when the card surfaced, else the method's own name ("Klarna").
      - `icons` PaymentMethodIcons, required: The standard icon set: square and card shapes, each in light and dark colorways.
        - `card` PaymentMethodIconVariants, required: The credit-card-proportioned tile (48x30).
          - `dark` PaymentMethodIconFiles, required: The colorway for dark surfaces.
            - `png_1x` string, required: Raster fallback at the shape's native size.
            - `png_2x` string, required: Raster fallback at double density.
            - `png_4x` string, required: Raster fallback at quadruple density.
            - `svg` string, required: The vector file. Prefer this everywhere SVG renders.
          - `light` PaymentMethodIconFiles, required: The colorway for light surfaces.
            - `png_1x` string, required: Raster fallback at the shape's native size.
            - `png_2x` string, required: Raster fallback at double density.
            - `png_4x` string, required: Raster fallback at quadruple density.
            - `svg` string, required: The vector file. Prefer this everywhere SVG renders.
        - `square` PaymentMethodIconVariants, required: The square tile (32x32).
          - `dark` PaymentMethodIconFiles, required: The colorway for dark surfaces.
            - `png_1x` string, required: Raster fallback at the shape's native size.
            - `png_2x` string, required: Raster fallback at double density.
            - `png_4x` string, required: Raster fallback at quadruple density.
            - `svg` string, required: The vector file. Prefer this everywhere SVG renders.
          - `light` PaymentMethodIconFiles, required: The colorway for light surfaces.
            - `png_1x` string, required: Raster fallback at the shape's native size.
            - `png_2x` string, required: Raster fallback at double density.
            - `png_4x` string, required: Raster fallback at quadruple density.
            - `svg` string, required: The vector file. Prefer this everywhere SVG renders.
      - `installment_count` number, nullable, required: Installment methods only: how many payments the charge splits into. Data, not copy — compose and translate the label client-side.
      - `payment_method_type` string, required: The payment method type identifier, e.g. `card`, `klarna`, `apple_pay`.
    - `payment_method_id` string, nullable, required: The saved payment method, prefixed `payt_`, ready to charge with Create Payment. Null until the setup has `succeeded`.
    - `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.
    - `return_url` string, nullable, required: Where the buyer lands after completing an off-site step, or `null` to leave them where they are.
    - `status` 'processing' | 'succeeded' | 'canceled' | 'requires_action', required: How far the setup has got. **A 201 or 200 means we answered, not that the method was saved — always branch on this.** `requires_action` — the buyer has a step outstanding; hand `client_secret` to the elements or poll Retrieve setup status. `processing` — the processor is deciding. `succeeded` — the method is saved, and only this one means saved. `canceled` — abandoned or refused; see `last_setup_error`.
    - `three_ds_level` 'mandate_challenge' | 'mandate_if_required' | 'frictionless_if_required' | 'null', nullable, required: 3D Secure behavior for supported on-session card payments. `mandate_challenge` requires a 3DS challenge before payment processing; `mandate_if_required` mandates a challenge only when the payment processor requires it; `frictionless_if_required` uses the regular frictionless 3DS flow. Payments of $1,000 or more use `mandate_if_required` unless `mandate_challenge` is selected. Risk and authentication recovery requirements can override the preference. The setting requested for this setup, or `null` when unset.
    - `three_ds_verified` boolean, required: True when the buyer completed 3D Secure while saving this payment method.
    - `updated_at` string, required: When the setup intent was last updated, as an ISO 8601 timestamp.
    - `user` UserSummary, nullable, required
      - `badges` UserBadge[], required
        - `type` 'whop_team' | 'verified_partner', required: Badge category. `whop_team` identifies a Whop team member. `verified_partner` identifies a verified member of the Whop Partners program.
      - `id` string, required: User ID, prefixed `user_`.
      - `name` string, nullable, required: Display name.
      - `profile_picture` UserProfilePicture, required: Avatar wrapper. Its `url` is always present, and is a generated placeholder when the user set no picture.
        - `url` string, required: Avatar image URL. Always present. It is a generated placeholder when the user set no picture.
      - `username` string, required: Public username.
  - `id` string, required: A unique ID for every single webhook request
  - `previous_attributes` object: For some `.updated` events, the old values of the payload fields that changed, keyed by field name. Omitted when no capture is available for the event
  - `timestamp` string, date-time, required: The timestamp in ISO 8601 format that the webhook was sent at on the server
  - `type` 'setup_intent.succeeded', required: The webhook event type

## Acknowledgement `200`

Return a 200 status to indicate that the data was received successfully

---

[API](https://skmtc.dev/whop/apis/whop-api.md) - [All operations](https://skmtc.dev/whop/apis/whop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/whop/apis/whop-api/revisions/b10d1ab093e8?raw)
