Skip to content
Payments docs are in beta — the OpenAPI contract is the source of truth.API reference
VortexPayments
Esc
↑↓navigate↵open⌘Jpreview

GET /v1/tax-transactions

GET/v1/tax-transactions
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Query parameters
environmentstring
Allowed:sandboxproduction
merchantAccountIdstring
min length 1
statusstring
Allowed:quotedfinalizedreversedvoidedfailed
sourceDocumentIdstring
min length 1
limitstring
matches ^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$
cursorstring
min length 1
Responses
200

Success

dataobjectrequired
Show properties
itemsobject[]required
Show properties
Array of object
idstringrequired
min length 1
merchantAccountIdstringrequired
min length 1
tenantIdstringrequired
min length 1
sourceDocumentIdstringrequired
min length 1
sourceDocumentTypestringrequired
Allowed:invoicecredit_notepos_charge
statusstringrequired
Allowed:quotedfinalizedreversedvoidedfailed
currencystringrequired
min length 1
subtotalnumberrequired
taxTotalnumberrequired
totalnumberrequired
taxBehaviorstringrequired
Allowed:exclusiveinclusive
customerTaxAddressobjectrequired
Show properties
line1stringrequired
min length 1
citystringrequired
min length 1
regionstringrequired
min length 1
postalCodestringrequired
min length 1
countrystringrequired
min length 1
line2string | null
Show properties
Any of:
string
string
null
null
lineEvidenceobject[]required
Show properties
Array of object
sourceLineIdstringrequired
min length 1
classificationKeystringrequired
min length 1
classificationLabelstringrequired
min length 1
taxableAmountnumberrequired
taxAmountnumberrequired
jurisdictionEvidenceobject[]required
Show properties
Array of object
jurisdictionTypestringrequired
min length 1
jurisdictionNamestringrequired
min length 1
taxableAmountnumberrequired
taxAmountnumberrequired
ratenumberrequired
createdAtstringrequired
min length 1
updatedAtstringrequired
min length 1
customerTaxIdsobject[] | null
Show properties
Any of:
object[]
Array of object
typestringrequired
min length 1
valuestringrequired
min length 1
null
null
customerTypestring | null
Show properties
Any of:
string
string
null
null
customerTaxExemptboolean | null
Show properties
Any of:
boolean
boolean
null
null
customerTaxExemptionRefstring | null
Show properties
Any of:
string
string
null
null
fallbackOnProviderUnavailableboolean | null
Show properties
Any of:
boolean
boolean
null
null
taxIdValidationstring | null
Show properties
Any of:
string
string
null
null
taxIdUnverifiableTreatmentstring | null
Show properties
Any of:
string
string
null
null
quotedAtstring | null
Show properties
Any of:
string
string
null
null
finalizedAtstring | null
Show properties
Any of:
string
string
null
null
reversedAtstring | null
Show properties
Any of:
string
string
null
null
originalTaxTransactionIdstring | null
Show properties
Any of:
string
string
null
null
failureCodestring | null
Show properties
Any of:
string
string
null
null
failureMessagestring | null
Show properties
Any of:
string
string
null
null
hasMorebooleanrequired
nextCursorstring | null
Show properties
Any of:
string
string
null
null
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/tax-transactions?status=...&sourceDocumentId=...&limit=...&cursor=...&environment=sandbox&merchantAccountId=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "items": [
      {
        "id": "string",
        "merchantAccountId": "string",
        "tenantId": "string",
        "sourceDocumentId": "string",
        "sourceDocumentType": "invoice",
        "status": "quoted",
        "currency": "string",
        "subtotal": 0,
        "taxTotal": 0,
        "total": 0,
        "taxBehavior": "exclusive",
        "customerTaxAddress": {
          "line1": "string",
          "city": "string",
          "region": "string",
          "postalCode": "string",
          "country": "string",
          "line2": "string"
        },
        "lineEvidence": [
          {
            "sourceLineId": "string",
            "classificationKey": "string",
            "classificationLabel": "string",
            "taxableAmount": 0,
            "taxAmount": 0
          }
        ],
        "jurisdictionEvidence": [
          {
            "jurisdictionType": "string",
            "jurisdictionName": "string",
            "taxableAmount": 0,
            "taxAmount": 0,
            "rate": 0
          }
        ],
        "createdAt": "string",
        "updatedAt": "string",
        "customerTaxIds": [
          {
            "type": "string",
            "value": "string"
          }
        ],
        "customerType": "consumer",
        "customerTaxExempt": true,
        "customerTaxExemptionRef": "string",
        "fallbackOnProviderUnavailable": true,
        "taxIdValidation": "full",
        "taxIdUnverifiableTreatment": "strict",
        "quotedAt": "string",
        "finalizedAt": "string",
        "reversedAt": "string",
        "originalTaxTransactionId": "string",
        "failureCode": "string",
        "failureMessage": "string"
      }
    ],
    "hasMore": true,
    "nextCursor": "string"
  },
  "requestId": "string"
}

Was this page helpful?