Today we are releasing a new developer preview to allow merchants the ability to charge duties calculated by Shopify during checkout and avoid surprise charges for their customers upon delivery.
As of the 2020-04 release, duties and taxes charged on international orders through checkout can be viewed through the REST and GraphQL API, and refunded through the GraphQL API.
You can try these changes using a development store with the 'Duties and Taxes' developer preview enabled.
For more information on how to apply duties on checkout and refund them through the GraphQL API, refer to our tutorial.
For any questions and discussion regarding the Duties and Taxes developer preview, visit our forum post.