Configuring taxes
Gain a better understanding of how to use the checkout's taxInclusive flag
Passing tax-inclusive prices
curl --location --request POST 'https://api.digitalriver.com/checkouts' \
...
--data-raw '{
"currency": "USD",
"taxInclusive": true,
"email": "[email protected]",
"shipTo": {
"address": {
"line1": "10380 Bren Road W",
"city": "Minnetonka",
"postalCode": "55343",
"state": "MN",
"country": "US"
},
"name": "John Doe"
},
"shipFrom": {
"address": {
"country": "US"
}
},
"shippingChoice": {
"amount": 5,
"description": "standard",
"serviceLevel": "SG"
},
"items": [
{
"skuId": "ed7b06bd-7b2e-4525-9156-cd6fcbe7fe42",
"quantity": 2,
"price": 10
}
]
}'Passing tax-exclusive prices
Guidelines for displaying tax
Last updated