API reference · Compute / Instance orders
Instance orders
Follow a new instance from payment to provisioning.
Creating an instance places an order. The order takes the initial payment, from credit or else the organization's default card, and then provisions the instance. Poll the order until its status is provisioned (the instance is ready to read), failed or payment_failed.
The instance order object
Fields
idstringrequirede.g.
ord_....instance_idstringrequiredThe id the instance has, or will have once provisioned.
statusstringrequiredawaiting_payment, thenpaid,provisioningandprovisioned(final: the instance exists).payment_failedandfailedare final too; any payment taken is returned to your credit.One of
awaiting_payment,paid,provisioning,provisioned,payment_failed,failed.operation_idstring or nullThe instance's create operation, set once provisioning starts.
failure_codestring or nullWhy the order failed, e.g.
insufficient_credit,card_declined,payment_expired; null otherwise.organization_deleted: the order was cancelled because its organization was deleted; any payment taken is returned to credit.amount_minorintegerrequiredThe initial payment in minor units of
currency.currencystringrequiredNGNorUSD.One of
NGN,USD.created_atstring or nullWhen it was created (RFC 3339, UTC).
updated_atstring or nullWhen it last changed (RFC 3339, UTC).
List instance orders
Your instance orders, newest first, one per Create an instance call. An order shows whether the initial payment was taken and whether provisioning started.
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Query parameters
limitintegerItems per page, 1 to 100. Defaults to 50.
From 1 to 100. Defaults to
50.cursorstringThe previous page's
next_cursor, to get the next page. Leave out for the first page; keep the other parameters the same.
Response 200
A page of orders.dataarray of InstanceOrderrequiredShow 9 child fieldsHide child fields
idstringrequirede.g.
ord_....instance_idstringrequiredThe id the instance has, or will have once provisioned.
statusstringrequiredawaiting_payment, thenpaid,provisioningandprovisioned(final: the instance exists).payment_failedandfailedare final too; any payment taken is returned to your credit.One of
awaiting_payment,paid,provisioning,provisioned,payment_failed,failed.operation_idstring or nullThe instance's create operation, set once provisioning starts.
failure_codestring or nullWhy the order failed, e.g.
insufficient_credit,card_declined,payment_expired; null otherwise.organization_deleted: the order was cancelled because its organization was deleted; any payment taken is returned to credit.amount_minorintegerrequiredThe initial payment in minor units of
currency.currencystringrequiredNGNorUSD.One of
NGN,USD.created_atstring or nullWhen it was created (RFC 3339, UTC).
updated_atstring or nullWhen it last changed (RFC 3339, UTC).
next_cursorstring or nullrequiredPass as
cursorfor the next page; null on the last page.
Errors
- 400
INVALID_PAGE:limitis not a whole number from 1 to 100. Send a value in that range, or leave it out for 50.INVALID_CURSOR:cursordoes not belong to this list with these filters. Start again without a cursor. - 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks the scope this endpoint needs (readfor GET,writefor changes; an AI app's key also needsdeletefor a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access.FORBIDDEN: the member who created the key may not do this in the organization. Use a key created by an owner or admin.AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (Pantech-Client: mcp/…). An owner can turn it on in the console under Organization › AI apps. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/instance-orders" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"data": [
{
"id": "ord_06gk3x9tq7m2v8r4y1c5d0zp8w",
"instance_id": "vm_06gk3x9tq7m2v8r4y1c5d0zp8w",
"status": "provisioned",
"operation_id": "op_06gk3x9tq7m2v8r4y1c5d0zp8w",
"failure_code": null,
"amount_minor": 1059200,
"currency": "NGN",
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z"
}
],
"next_cursor": "eyJhdCI6IjIwMjYtMTAtMDNUMDk6MzA6MDBaIiwiaWQiOiJ2bV8wNmdrIn0"
}Get an instance order
Payment and provisioning progress for one new instance. Poll it after Create an instance until status is provisioned (then read the instance), or payment_failed or failed (final: any payment taken is returned to your credit, and failure_code says why).
Headers
AuthorizationstringrequiredBearerand your API key:Bearer PAN_….
Path parameters
order_idstringrequiredThe resource's id.
Response 200
The order.idstringrequirede.g.
ord_....instance_idstringrequiredThe id the instance has, or will have once provisioned.
statusstringrequiredawaiting_payment, thenpaid,provisioningandprovisioned(final: the instance exists).payment_failedandfailedare final too; any payment taken is returned to your credit.One of
awaiting_payment,paid,provisioning,provisioned,payment_failed,failed.operation_idstring or nullThe instance's create operation, set once provisioning starts.
failure_codestring or nullWhy the order failed, e.g.
insufficient_credit,card_declined,payment_expired; null otherwise.organization_deleted: the order was cancelled because its organization was deleted; any payment taken is returned to credit.amount_minorintegerrequiredThe initial payment in minor units of
currency.currencystringrequiredNGNorUSD.One of
NGN,USD.created_atstring or nullWhen it was created (RFC 3339, UTC).
updated_atstring or nullWhen it last changed (RFC 3339, UTC).
Errors
- 401
UNAUTHENTICATED: the request has no API key, or the key is mistyped, revoked or expired, or its creator has left the organization. SendAuthorization: Bearer PAN_…with a valid key; create one in the console under Organization › API keys. - 403
INSUFFICIENT_SCOPE: the API key lacks the scope this endpoint needs (readfor GET,writefor changes; an AI app's key also needsdeletefor a destructive call). Use a key with that scope, or reconnect the AI app with "Manage and delete" access.FORBIDDEN: the member who created the key may not do this in the organization. Use a key created by an owner or admin.AI_APPS_DISABLED: the organization has turned AI app access off, and this request was made with an AI app's key or sent by Pantech's MCP server (Pantech-Client: mcp/…). An owner can turn it on in the console under Organization › AI apps. - 404
RESOURCE_NOT_FOUND: no instance order with this id in your organization, or the id is not an order id (ord_…). Check the id. - 429
RATE_LIMITED: this API key, verified user or organization used its request budget for the current window, or this address exceeded an IP/failed-auth limit. WaitRetry-Afterseconds, then retry. For authenticated quota denials,RateLimit-Scopeidentifies the denying quota andRateLimit-Resetreports its remaining window in seconds. - 503
SERVICE_UNAVAILABLE: request quota storage is unavailable. Wait a few seconds, then retry.
Every code is explained in Errors.
curl "https://api.pantechdynamics.com/public/v1/instance-orders/ord_06gk3x9tq7m2v8r4y1c5d0zp8w" \
-H "Authorization: Bearer $PANTECH_API_KEY"{
"id": "ord_06gk3x9tq7m2v8r4y1c5d0zp8w",
"instance_id": "vm_06gk3x9tq7m2v8r4y1c5d0zp8w",
"status": "provisioned",
"operation_id": "op_06gk3x9tq7m2v8r4y1c5d0zp8w",
"failure_code": null,
"amount_minor": 1059200,
"currency": "NGN",
"created_at": "2026-10-03T09:30:00Z",
"updated_at": "2026-10-03T09:30:00Z"
}