Skip to navigation
REST API ReferenceEndpointsBilling

Cancel unpaid credit purchase

Void an unpaid order. If payment already settled, return its paid outcome; cancellation does not refund a settled payment.

Authentication

AuthorizationBearer

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

Path parameters

orderIdstringRequiredformat: "uuid"

Request

This endpoint expects an object.

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.