Skip to main content
POST
/
merchant
/
vat
/
setup_global_us_vat_config
US Vat Config Setup
curl --request POST \
  --url https://api.unibee.dev/merchant/vat/setup_global_us_vat_config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "global_us_vat_config": {
    "active": true,
    "availableGatewayNames": [
      "<string>"
    ],
    "checkAddressViaGateway": true,
    "defaultGatewayName": "<string>",
    "fromAddress": {
      "address": "<string>",
      "city": "<string>",
      "countryCode": "<string>",
      "state": "<string>",
      "verified": true,
      "zipCode": "<string>"
    },
    "nexusAddresses": [
      {
        "address": "<string>",
        "city": "<string>",
        "countryCode": "<string>",
        "state": "<string>",
        "verified": true,
        "zipCode": "<string>"
      }
    ],
    "taxCode": "<string>",
    "toAddress": {
      "address": "<string>",
      "city": "<string>",
      "countryCode": "<string>",
      "state": "<string>",
      "verified": true,
      "zipCode": "<string>"
    },
    "uploadInvoiceToGateway": true
  }
}'
{
  "code": 123,
  "data": {},
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
global_us_vat_config
object

Response

200 - application/json
code
integer
data
object
message
string<string>
redirect
string<string>
requestId
string<string>