billingDraws
Finance module · 5 operations
List billing draw rows
GET/billing-draws
A client billing draw against the project. Returns a cursor page of billing draw rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.
Create a billing draw
POST/billing-draws
A client billing draw against the project. Creates a billing draw. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.
Get a billing draw
GET/billing-draws/{id}
A client billing draw against the project. Returns one billing draw with its `ETag`. A billing draw the caller may not see returns 404.
Update a billing draw
PATCH/billing-draws/{id}
A client billing draw against the project. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.
Delete a billing draw
DELETE/billing-draws/{id}
A client billing draw against the project. Soft-deletes the billing draw: it moves to Trash and can be restored for its table's retention period.