List orders
/api/v1/orders
Read up to 100 recent organization orders. Payment does not mean the server has been delivered.
Request example
curl "https://tovahub.com/api/v1/orders" \
-H "Authorization: Bearer $TOVAHUB_TOKEN"Examples only. No requests are sent from this page.
Illustrative response
[]Parameters
No parameters.
Response
HTTP status 200
Return an array of up to 100 recent orders in the current organization.
[]arrayThe root response is an array, not an orders wrapper.
[]._idstring (ObjectId)Order identifier.
[].assetstring ('USD' | 'xTOVA')Stored payment asset.
[].amountstringInteger USD cents or integer xTOVA units.
[].planIdstringPurchased plan identifier.
[].regionstringPurchased region code.
[].daysnumberPurchased billing duration in days.
[].hostnamestringServer hostname.
[].namestring (optional)User-assigned display name, when present.
[].osstringRequested operating system identifier.
[].statusstring ('pending' | 'provisioning' | 'completed' | 'failed' | 'refunded')Order fulfillment status.
[].providerServerIdstring | nullSupplier instance identifier, when known.
[].failureReasonstring | nullRecorded failure reason, if any.
[].createdAtstring (ISO 8601)Order creation time.
[].updatedAtstring (ISO 8601)Order last-update time.
[].paymentTxHashstring (optional)Recorded blockchain transaction hash.
[].autoRenewbooleanAuto-renew preference recorded on the original order.