Update credit balance threshold
curl --request PATCH \
--url https://api.runflow.io/v1/billing/balance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"low_balance_threshold": 1,
"updated_at": "2023-11-07T05:31:56Z"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"balance": "<string>",
"low_balance_threshold": "<string>",
"low_balance_notified_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Account
Update credit balance threshold
Partial update (PATCH) of the organization credit balance (threshold only).
PATCH
/
v1
/
billing
/
balance
Update credit balance threshold
curl --request PATCH \
--url https://api.runflow.io/v1/billing/balance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"low_balance_threshold": 1,
"updated_at": "2023-11-07T05:31:56Z"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"balance": "<string>",
"low_balance_threshold": "<string>",
"low_balance_notified_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Body
application/json
Response
The updated credit balance.
Response shape.
Pattern:
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Pattern:
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$⌘I