curl --request POST \
--url https://demo.onlinebillingform.com/api/v2/checkout/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"package_id": 123,
"cycle_id": 123,
"callback_url": "<string>",
"customer_id": 123
}
'{
"success": true,
"message": "Successfully",
"url": "https://demo.onlinebillingform.com/checkout/00000000-0000-0000-0000-000000000000"
}Creates a one-hour hosted checkout URL for an existing BillingServ customer. customer_id is required and must reference a customer account (account_type 2). When the customer opens the returned URL, BillingServ signs them into a checkout-only session, shows a checkout-only page, allows saved payment methods such as Stripe cards, and redirects back to callback_url after payment.
curl --request POST \
--url https://demo.onlinebillingform.com/api/v2/checkout/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"package_id": 123,
"cycle_id": 123,
"callback_url": "<string>",
"customer_id": 123
}
'{
"success": true,
"message": "Successfully",
"url": "https://demo.onlinebillingform.com/checkout/00000000-0000-0000-0000-000000000000"
}Documentation Index
Fetch the complete documentation index at: https://www.billingserv.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Use Authorization: Bearer <live_api_key>.
Package/order group package ID to add to checkout.
Billing cycle ID for the selected package.
URL BillingServ redirects to after hosted checkout succeeds or fails.
Existing BillingServ customer user ID. Required; the user must have account_type 2.
OK