-
Notifications
You must be signed in to change notification settings - Fork 0
Checkout
A checkout configuration defines a reusable, hosted checkout session on Whop — the pricing, plan, and presentation a buyer sees when purchasing. The SDK creates and retrieves these configurations and returns them as typed DTOs.
$client->checkouts // Matchable\Whop\Resource\CheckoutResourceThe underlying API path is checkout_configurations.
| HTTP | POST checkout_configurations |
| Does | Creates a new checkout configuration. |
| Parameters |
$data — configuration attributes (e.g. plan, redirect URLs, metadata). |
| Returns |
Matchable\Whop\Dto\Checkout\CheckoutConfigurationResponse (typed DTO). A response missing a required field raises MissingArgumentsException. |
| HTTP | GET checkout_configurations/{id} |
| Does | Retrieves a single checkout configuration by ID. |
| Parameters |
$id — the checkout configuration ID. |
| Returns |
Matchable\Whop\Dto\Checkout\CheckoutConfigurationResponse (typed DTO). A response missing a required field raises MissingArgumentsException. |
$checkout = $client->checkouts->create([
'plan_id' => 'plan_...',
]);Official Whop documentation: https://docs.whop.com
Core Company · AccountLink · File · AccessToken · AuthorizedUser · User · Member · Webhook
Payments & Billing Payment · Checkout · Plan · Product · Membership · Refund · Invoice · PromoCode · PaymentMethod · SetupIntent
Platform & Finance Transfer · FeeMarkup · Topup · Withdrawal · LedgerAccount · PayoutAccount · PayoutMethod
Disputes Dispute · DisputeAlert · ResolutionCenter
Commerce Shipment · Lead · Entry · Review · Affiliate · Stats
Experiences & Courses Experience · Course · CourseChapter · CourseLesson · CourseLessonInteraction · CourseStudent
Communication ChatChannel · DmChannel · DmMember · Message · Reaction · Forum · ForumPost · SupportChannel · Notification
Advertising AdCampaign · AdGroup · Ad
Apps & AI App · AppBuild · AiChat · CompanyTokenTransaction
Verifications Verification