Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
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>"
}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>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes