Enter Cash Position
POST/api/cash-buying/position
Type the cash on hand (and optionally the credit drawn). A typed figure is confirmed on entry and replaces the position in force. Negative cash is allowed. Logged.
accounting:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body: cash_on_hand (number, required), credit_line_drawn (number ≥ 0, optional).
Permission: cash_buying.update. Token scope: accounting:write.
Balance fields: without cash_buying.view_balances the returned snapshot omits cash_on_hand, credit_line_drawn and account_breakdown (absent, not null).
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden
Response Headers
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.