PUT /v1/billing/failure-charge-policy
BillingService_SetFailureChargePolicy
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
No path or query parameters.
Request body
charge_on_failurebooleanmeter_codestringoffer_idstring
cURL
curl --request PUT 'https://nexus-api.rainlib.com/v1/billing/failure-charge-policy' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"charge_on_failure": false,
"meter_code": "<value>",
"offer_id": "<value>"
}'Response contract
200 · OK
charge_on_failurebooleanidstringmeter_codestringoffer_idstringsourcestringupdated_atstringversionstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.