API

Create boxes

Batch-create 1–30 expense boxes.

Creates 1–30 expense boxes on a budget. Each row needs its own idempotencyKey (same namespace as create_box). Hard-fails at the 30-box plan cap. Counts as one write toward the rate limit.

POST/v1/create_boxes

Body

FieldTypeRequiredDefaultDescription
budgetIdstringYes—Budget that will own the new boxes.
boxesarrayYes—Rows of { idempotencyKey, name, type?, amount?, currency? } (1–30).

Response data

FieldTypeDescription
resultsarrayPer-index create outcome (created / replayed / failed).