Start a deposit
number
required
The amount to deposit. Minimum $1.
string
default:"demo"
The workspace to credit on return.
url). The success URL returns to /command?deposit_session={CHECKOUT_SESSION_ID} and the cancel URL to /command?deposit_cancelled=1.
Confirm a deposit
string
required
The Stripe Checkout session id returned to the success URL.
string
default:"demo"
The workspace to credit. Must match the workspace the deposit was started for.
boolean
Whether Stripe confirms the session was paid.
boolean
True if this session was already credited.
number
The confirmed amount.
TreasuryState
The Treasury state after crediting.