Request Body

The body of a request is formatted in JSON. For GET requests, the body is empty. For other methods, the body contains one or more objects or entities. Objects or entities represent resources in Gotransverse.

The following body example contains the CreateBillingAccount object to create a billing account:

Request

Copy
{
  "external_account_num": "902322329",
  "start_date": "2018-01-01T06:00:00.000Z",
  "responsible_party": {
    "party_type": "organization",
    "organization_name": "yahoo",
    "addresses": [
      {
        "address_type": "email",
        "purpose": "PRIMARY",
        "email": "example@gotransverse.com"
      },
      {
        "address_type": "postal",
        "purpose": "BILLING",
        "country": "USA",
        "city": "AUSTIN",
        "region_or_state": "TX",
        "postal_code": "78701",
        "line1": "620 CONGRESS AVE SUITE 200"
      }
    ]
  },
  "bill_cycle": {
    "id": "80",
    "bill_cycle_type": "daily"
  },
  "bill_type": "EMAIL",
  "billing_account_category": {
    "id": "52"
  }
}