Skip to Content
veriom

Start top up checkout

Open Stripe Checkout for a one-time pack of prepaid processing units. Needs an admin in a browser session with a recent step-up. Nothing is charged automatically: the units are credited to this month's budget only once Stripe confirms the payment to the billing webhook. Only a paid monthly plan in good standing can buy.

POST
/v1/workspaces/{workspace_id}/processing/top-up/checkout

Open Stripe Checkout for a one-time pack of prepaid processing units.

Needs an admin in a browser session with a recent step-up. Nothing is charged automatically: the units are credited to this month's budget only once Stripe confirms the payment to the billing webhook. Only a paid monthly plan in good standing can buy.

Authorization

workspaceToken
headerAuthorizationBearer <vat_<opaque-token>>

Expiring, hashed workspace token with explicit scopes.

Path Parameters

workspace_id*Workspace Id
Formatuuid

Header Parameters

Idempotency-Key?|null

Request Body

application/json
  1. body
pack*Pack
Match^[a-z0-9][a-z0-9-]{0,39}$

Response Body

Successful Response

application/json
  1. response
checkout_url*Checkout Url

The Stripe Checkout page to send the browser to.

expires_at*|

When the Checkout page stops accepting.

Example Request
curl -X POST 'https://api.veriom.ai/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/processing/top-up/checkout' \  -H 'Content-Type: application/json' \  -d '{  "pack": "string"}'
Example Response
{  "checkout_url": "string",  "expires_at": "2019-08-24T14:15:22Z"}