There is no
createSetupIntent endpoint. Setup intents are created indirectly by creating a Checkout Configuration with mode: "setup". The buyer completes that checkout, and Whop creates the setup intent behind the scenes. 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.The checkout session configuration associated with this setup intent. Null if no checkout session was used.
The company that initiated this setup intent. Null if the company has been deleted.
The datetime the setup intent was created.Example:
2023-12-01T05:00:00.401ZA human-readable error message explaining why the setup intent failed. Null if no error occurred.Example:
Your card was declined.The unique identifier for the setup intent.Example:
sint_xxxxxxxxxxxxxThe company member associated with this setup intent. Null if the user is not a member.
Custom key-value pairs attached to this setup intent. Null if no metadata was
provided.
The saved payment method created by this setup intent. Null if the setup has not completed successfully.
The current status of the setup intent.Available options:
processing, succeeded, canceled, requires_action
