GET
/
nexus
curl --request GET \
  --url https://base_url/api/v1/nexus \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "corporation_id": "b6d009b0-d174-463f-b030-94643c28e209",
    "states": [
      {
        "state": "CA",
        "nexus_rule": {
          "sales_threshold": 100000,
          "transaction_threshold": 200,
          "threshold_type": "SALES_OR_TRANSACTIONS",
          "evaluation_period_type": "PREV_CALENDAR_YEAR"
        },
        "calculation": {
          "sales_exposure_percentage": 0.06,
          "transaction_exposure_percentage": 0.1235,
          "total_sales": 12345.9,
          "total_transactions": 12
        },
        "is_nexus_breached": true,
        "date_of_breach": "<string>"
      }
    ]
  },
  "message": "Successfully fetched nexus."
}

Authorizations

Authorization
string
header
required

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

Query Parameters

corporation_id
string
required

The unique identifier for a corporation. All transactions associated with the specified corporation will be returned.

Response

200
application/json
Nexus data for all states
data
object

An object with a 'state' property containing an array of nexus objects for all states.

message
string
Example:

"Successfully fetched nexus."