Skip to main content
POST
Credit a subaccount or workspace wallet

Authorizations

Authorization
string
header
required

Your v3 API key, e.g. ask_live_…

Path Parameters

id
string
required
Minimum string length: 1

Body

application/json
amount_cents
integer
required

Amount to move, in integer cents (1 – 100,000,000).

Required range: 1 <= x <= 100000000
idempotency_key
string
required

Required caller-supplied dedup key. Repeating a credit/debit with the same key returns the original result without moving funds again — prevents double-charge on retry.

Required string length: 1 - 255
target
enum<string>

Which wallet plane to adjust. Defaults to 'workspace' — the plane the spend gate reads when running chat/voice.

Available options:
workspace,
subaccount
description
string

Audit note persisted on the ledger Transaction.

Maximum string length: 500

Response

Success

data
object
required
request_id
string
required
error
null