Create hosted checkout link
Creates a short-lived hosted checkout URL for a package, one domain, or up to 50 domain registrations. Use package_id with cycle_id for an existing package, domain with years for one domain, or domains for multiple domain registrations. callback_url is required. customer_id is optional; when supplied, it must reference a customer account (account_type 2). The checkout link is cached for 30 minutes. When the customer opens it, BillingServ creates a checkout-only session, allows supported saved payment methods, and redirects back to callback_url after payment.
Authorizations
Use Authorization: Bearer <live_api_key>.
Body
- Option 1
- Option 2
- Option 3
Provide exactly one checkout type: an existing package, one domain, or a list of domains.
Package or order-group package ID to add to checkout.
x >= 1Billing cycle ID for the selected package.
x >= 1URL BillingServ redirects to after hosted checkout succeeds or fails.
Optional existing BillingServ customer user ID. If supplied, the user must have account_type 2.
x >= 1Optional selected package options. Each option must belong to the selected package; option prices are resolved server-side.