Treasury
Create withdrawal
Create a withdrawal from a managed account or self-custodial wallet to an external bank account.
Source types:
- Circle USDC ledger (path A) — desired.from.network omitted.
- Self-custodial wallet (path B) — desired.from.network populated (e.g., BASE).
post/v1/treasury/withdrawals
Request
- Base URLhttps://api.tesser.xyz
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"desired": {
"from": {
"amount": "1000.00",
"currency": "USDC"
},
"to": {
"currency": "USD"
}
}
}Response
Withdrawal created successfully
Example response
{
"data": {
"id": "6a2f8c1e-3b9d-4e74-b5a0-7c4d2e1f9b3a",
"workspace_id": "b53f6690-3242-4942-9907-885779632832",
"direction": "outbound",
"balance_status": "unreserved",
"steps": [],
"created_at": "2024-03-01T10:00:00.000Z",
"updated_at": "2024-03-01T10:00:00.000Z",
"expires_at": "2024-03-01T14:00:00.000Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.