Skip to main content
POST
Top up credits

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Body

application/json
requestId
string
required

Idempotency key (1-200 of [A-Za-z0-9:_-]).

amountUsd
number
required

USD amount, $5 to $1000.

Response

Successful response

Saved card charged directly.

charged
boolean
required
amountCents
number
required