Change your own limit
A new value for your own limit, not higher than the Netts limit. Limits set by Netts are read-only (403 netts_limit_readonly). Requires limits.write and an Idempotency-Key header.
Authorizations
API key from the dashboard. Some Host Mode endpoints also accept the key as an api_key field in the request body — this is stated in the schema of the particular operation.
Parameters
Header Parameters
A unique string, 8–128 characters, one per change. A retry with the same key and body returns the original answer and does not repeat the change.
8128The response format. contract-v1 — every amount carries its currency and every rate names its pair. legacy — the original format, unchanged. Without the header the format depends on your contract: a contract with amounts in its own currency gets contract-v1, and legacy is refused with 406 billing_format_not_available; an account set up on postpaid before contract-v1 gets legacy, and contract-v1 is enabled for it per account, otherwise 403 billing_format_not_enabled. Any other value — 400 unsupported_billing_format, before anything is changed. The header changes only how the response is written: no amount, permission or IP check changes.
"legacy""contract-v1"Path Parameters
The limit id from GET /billing/limits.
Query Parameters
Always account for your own limits.
"account"Request Body
Responses
The limit is changed; revision is increased by one.