PUT
/
fees
/
{id}
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>",
  "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>",
    "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>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json

Fee payload

The body is of type object.

Response

200 - application/json

Fee updated

The response is of type object.