Skip to navigation
REST API ReferenceEndpointsBilling

Quote a credit purchase

Prepare an isolated one-time credit order for an eligible active USD subscriber. No payment or generation is started. Reuse the client-generated order UUID when retrying. Show every returned term before requesting payment approval. A team can create up to 20 new quotes per hour; more return 429 with code rate_limited.

Authentication

AuthorizationBearer

API key from app.videogen.io/api. The full key is only shown once when you create it.

Request

This endpoint expects an object.
orderIdstringRequiredformat: "uuid"

Client-generated UUID. Reuse it for identical quote retries.

creditsintegerRequired2000-1000000

Response

Current account or order state.
orderIdstringformat: "uuid"
stateenum
revisioninteger
teamIdstring
teamNamestring
sellerenum
Allowed values:
productenum
Allowed values:
creditsinteger
currencystring
subtotalMinorinteger
discountMinorinteger
taxMinorinteger
feesMinorinteger
totalMinorinteger
expiresAtinteger
Unix seconds when this quote expires.
termsVersionstring
refundTermsstring
refundStatusenum
Allowed values:
receiptUrlstring or null
retryGuidancestring
paymentHandlermap from strings to any
Seller payment handler and merchant identity for a compatible native wallet. This does not attest to host acceptance.
verificationUrlstring or nullOptional
Secure VideoGen verification continuation when required. Sign in as the purchaser on the same team. This is not a checkout link.