Create Rate Table

You can create a rate table using the following endpoint and sample payload:

POST https://example-gotransverse.com/billing/2/rate-tables

Request

The following is an example of a request payload for creating a new rate table:

Copy
{
    "uom": "DAY",
    "name": "Vehicle Rental Rates",
    "status": "ACTIVE",
    "description": "Daily rental rates by vehicle type"
}

The following table indicates which fields are required in the request payload to successfully create a rate table:

Create Rate Table Request Fields
Name Description Data Type Required or Optional Notes

uom

Defines the usage duration unit of measurement. Available values:

  • MILLISECOND

  • SECOND

  • MINUTE

  • HOUR

  • DAY

  • WEEK

  • EVENT

  • BYTE

  • KILOBYTE

  • MEGABYTE

  • GIGABYTE

  • TERABYTE

  • COUNT

  • BITS_PER_SECOND

  • KILOBITS_PER_SECOND

  • MEGABITS_PER_SECOND

  • GIGABITS_PER_SECOND

  • CURRENCY

  • WATT

  • KILOWATT

  • MEGAWATT

  • GIGAWATT

  • WATTS_PER_HOUR

  • KILOWATTS_PER_HOUR

  • MEGAWATTS_PER_HOUR

  • GIGAWATTS_PER_HOUR

string

Required

 

name

The name of the rate table.

string

Required

 

status

The status of rate table.

  • DRAFT

  • ACTIVE

  • SUSPENDED

string

Required

 

description

The description of the rate table.

string

Optional

 

Response

When successful, the new rate table entity is returned with an id assigned.

Copy
{
    "id": "671",
    "uom": "DAY",
    "name": "Vehicle Rental Rates",
    "status": "ACTIVE",
    "description": "Daily rental rates by vehicle type"
}

 

 

 

Topic Updated: 1/2025.