Receivables
Create or update (upsert) a receivable entry
Changed onpost/receivables/{id}/entries
Request
- Base URLhttps://core.sivo.com
- Auth
- API key in header Authorization
- or OAuth 2Authorization codehttps://dashboard.sivo.com/oauth/authorizeClient credentialsToken URLhttps://core.sivo.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
An object ID assigned and owned by the originator
Example:acct-123
Headers
Idempotency-Keystring
A unique key per operation, could be V4 UUID or other high‑entropy random string. Keys can be up to 256 bytes. See Idempotent Requests.
Example:978771af-77de-4e24-ba39-f602502ceb78
Request body
Example request
{
"id": "acct-123",
"date": "2024-01-15",
"amount": 10000,
"balance": 10000,
"metadata": {
"key": "value"
}
}Response
Successful operation
Example response
{
"date": "2024-01-15",
"amount": 10000,
"balance": 10000,
"metadata": {
"key": "value"
},
"id": "acct-123",
"created_at": "2024-01-15T10:30:00Z",
"created_by": "user_0123456789ABCDEFGHIJKLMNOPq",
"updated_at": "2024-01-15T10:30:00Z",
"updated_by": "user_0123456789ABCDEFGHIJKLMNOPq"
}Changes
- info
endpoint added
- info