This resource has a successor in the Whop
API. This page stays fully
supported.
Create a setup intent with Create setup intent, passing a confirmation token from the payment elements mounted in
mode: "setup", or an existing payment method to re-verify. A setup-mode Checkout Configuration creates one for you when the buyer completes that checkout. Either way, listen for the setup_intent.succeeded webhook to receive the payment method ID once it’s saved.See Save payment methods for the full flow.object | null
required
The checkout session configuration associated with this setup intent. Null if no checkout session was used.
object | null
required
The company that initiated this setup intent. Null if the company has been deleted.
string<date-time>
required
The datetime the setup intent was created.Example:
2023-12-01T05:00:00.401Zstring | null
required
A human-readable error message explaining why the setup intent failed. Null if no error occurred.Example:
Your card was declined.string
required
The unique identifier for the setup intent.Example:
sint_xxxxxxxxxxxxxobject | null
required
The company member associated with this setup intent. Null if the user is not a member.
object | null
required
Custom key-value pairs attached to this setup intent. Null if no metadata was
provided.
object | null
required
The saved payment method created by this setup intent. Null if the setup has not completed successfully.
SetupIntentStatuses
required
The current status of the setup intent.Available options:
processing, succeeded, canceled, requires_actionboolean
required
Whether 3D Secure authentication was completed when this payment method was
set up.

