cURL
curl --request PUT \ --url https://sandbox-api.billingrails.com/v1/fees/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "meter_id": "<string>", "meter_profile_id": "<string>", "plan_id": "<string>", "name": "<string>", "code": "<string>", "description": "<string>", "invoice_name": "<string>", "model": "standard", "currency": "<string>", "interval": { "unit": "day", "frequency": 2 }, "billing_cycles": 2, "amount": 1, "package_size": 3, "unit_label": "<string>" }'
{ "fee": { "meter_id": "<string>", "meter_profile_id": "<string>", "plan_id": "<string>", "name": "<string>", "code": "<string>", "description": "<string>", "invoice_name": "<string>", "model": "standard", "currency": "<string>", "interval": { "unit": "day", "frequency": 2 }, "billing_cycles": 2, "amount": 1, "package_size": 3, "unit_label": "<string>" } }
Updates a fee.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Fee payload
The body is of type object.
object
Fee updated
The response is of type object.