--- title: 'Billing' description: 'Billing object schemas from the Fluxer API.' --- ## CreateCheckoutSessionRequest **Related endpoints** - [`POST /stripe/checkout/gift`](/api-reference/billing/create-gift-checkout-session) - [`POST /stripe/checkout/subscription`](/api-reference/billing/create-checkout-session) | Field | Type | Description | |-------|------|-------------| | price_id | [SnowflakeType](#snowflaketype) | The Stripe price ID for the subscription plan | ## UrlResponse **Related endpoints** - [`POST /premium/customer-portal`](/api-reference/premium/create-customer-portal) - [`POST /stripe/checkout/gift`](/api-reference/billing/create-gift-checkout-session) - [`POST /stripe/checkout/subscription`](/api-reference/billing/create-checkout-session) | Field | Type | Description | |-------|------|-------------| | url | string | The URL to redirect to | ## WebhookReceivedResponse **Related endpoints** - [`POST /stripe/webhook`](/api-reference/billing/process-stripe-webhook) | Field | Type | Description | |-------|------|-------------| | received | boolean | Whether the webhook was successfully received |