GET
/
invoice_groups
curl --request GET \
  --url https://api.togai.com/invoice_groups \
  --header 'Authorization: <authorization>'
{
  "data": [
    {
      "id": "inv_group.20rvWRxQcQK.0ZwPG",
      "dailyInvoiceConsolidation": true,
      "accountsCount": 2,
      "gracePeriod": 3,
      "netTermDays": 45,
      "invoiceCurrency": "USD",
      "billingAddress": {
        "phoneNumber": "+919876543210",
        "line1": "2281 Broadway Street",
        "line2": "G-31",
        "postalCode": "29501",
        "city": "Florence",
        "state": "South Carolina",
        "country": "US"
      }
    }
  ],
  "nextToken": "eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEwMCwgInNvcnRPcmRlciI6ICJhc2MifQ=="
}

Authorizations

Authorization
string
headerrequired

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

Response

200 - application/json
data
object[]
nextToken
string