Create a customer and place an order
Create (or identify) an end customer and place a PENDING order with an UNPAID proforma invoice, in a single call, for partner-allowed products only.
Does not charge or provision anything on its own — the invoice is settled by the end customer via the returned pay_url (or bank transfer), and everything after (invoicing, payment reconciliation, renewals) is handled automatically.
An Idempotency-Key header is REQUIRED — send your own order id; a retry with the same key returns the original result instead of creating a duplicate.
Returns customer_id, customer_created, order_number, status (pending), invoice_id, invoice_number (the proforma), total, currency and pay_url.
Request
- Base URL: https://developers.servera.co.uk
- URL: https://developers.servera.co.uk/v1/partner/provision
- Auth: HTTP bearer
Headers
Request body
Example request
{
"customer": {
"company_name": "UAB Pavyzdys",
"company_number": "300000000",
"country": "LT",
"email": "klientas@pavyzdys.lt",
"first_name": "Vardas",
"language": "lt",
"last_name": "Pavardė",
"tax_id": "LT100000000000"
},
"items": [
{
"billing_cycle": "onetime",
"product_id": 2872,
"quantity": 12
},
{
"billing_cycle": "annually",
"product_id": 2877,
"quantity": 12
}
],
"reference": "PO-2026-001",
"send_emails": true,
"start_date": "2026-09-27"
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.