Treasury
Create deposit
Create a deposit payment and get deposit instructions.
post/v1/treasury/deposits
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": "USD"
},
"to": {
"currency": "USDC"
}
}
}Response
Deposit created successfully
Example response
{
"data": {
"id": "1c8e4a6f-9b2d-4f53-a0e7-5d3c1b9f2a8e",
"workspace_id": "b53f6690-3242-4942-9907-885779632832",
"direction": "inbound",
"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.