curl --request POST \
--url https://api.getsly.ai/v1/v1/treasury/transactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_id": "<string>",
"type": "inbound",
"amount_cents": 123,
"currency": "<string>",
"source": "<string>",
"reference": "<string>"
}
'{
"data": {
"id": "<string>",
"account_id": "<string>",
"type": "inbound",
"amount_cents": 123,
"currency": "<string>",
"recorded_at": "2023-11-07T05:31:56Z",
"source": "<string>",
"reference": "<string>"
}
}For non-customer-originated movements (e.g. wires from corporate bank). Creates a ledger entry tied to a treasury account.
curl --request POST \
--url https://api.getsly.ai/v1/v1/treasury/transactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"account_id": "<string>",
"type": "inbound",
"amount_cents": 123,
"currency": "<string>",
"source": "<string>",
"reference": "<string>"
}
'{
"data": {
"id": "<string>",
"account_id": "<string>",
"type": "inbound",
"amount_cents": 123,
"currency": "<string>",
"recorded_at": "2023-11-07T05:31:56Z",
"source": "<string>",
"reference": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.getsly.ai/llms.txt
Use this file to discover all available pages before exploring further.
API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).
Recorded
Show child attributes