Create purchase order
billing_createPurchaseOrderV1Create a purchase order for any Hostinger product by specifying catalog item IDs and quantities. Uses your default payment method if none is provided, placing the order without provisioning.
Instructions
Create a purchase order for any Hostinger product.
This unified endpoint places an order for one or more catalog items and
works across all Hostinger products, leveraging the existing billing
infrastructure. Use the catalog endpoint to look
up the item_id values available for purchase.
If no payment method is provided, your default payment method will be used automatically.
This endpoint only places the order. Product-specific provisioning (e.g. VPS setup or domain registration) is not performed here — once the order completes, use the relevant product endpoints or hPanel to finalize setup.
Use this endpoint to purchase any product available in the catalog.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Catalog price items to purchase | |
| coupons | No | Discount coupon codes | |
| payment_method_id | No | Payment method ID, default will be used if not provided |