Skip to main content
Tax management helps you track and maintain tax configurations after you create them. You can retrieve all configured taxes and modify tax rates when regulatory requirements change. This ensures accurate tax calculations across your billing operations.

List taxes

Use a valid access token and send a GET request to /v1/commerce/billing/taxes with optional pagination parameters. On successful request processing, PayPal returns a paginated list of all configured taxes.
curl -X GET 'https://api-m.sandbox.paypal.com/v1/commerce/billing/taxes?page=1&per_page=10' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer <ACCESS-TOKEN>'

Query parameters

Parameter nameDescription
page
integer
Page number for pagination. Default is 1.
per_page
integer
Number of items per page. Default is 10, maximum is 100.
Note: For the exhaustive list of query and response parameters, see API reference.

Update tax details

Use a valid access token and send a PUT request to /v1/commerce/billing/taxes/{code} with the modified request parameters such as name, rate, and description. Path parameter: code is the tax’s unique code identifier you provided when you created the tax.
Note: You cannot modify the tax code after creation. You can only update the name, rate, and description.
On successful request processing, the PayPal server returns the updated tax object.
curl -X PUT 'https://api-m.sandbox.paypal.com/v1/commerce/billing/taxes/standard_vat' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer <ACCESS-TOKEN>' \
    -d '{
      "name": "Updated VAT",
      "rate": "21.50",
      "description": "Updated Value Added Tax"
    }'
Note: For the exhaustive list of request and response parameters, see API reference.

Delete tax

Use a valid access token and send a DELETE request to /v1/commerce/billing/taxes/{code} to permanently delete a tax configuration. Path parameter: code is the tax’s unique code identifier you provided when you created the tax.
Important: Deleting a tax configuration is permanent and will affect all billing entities, plans, and subscriptions using this tax. Ensure this action aligns with your compliance requirements.
curl -X DELETE 'https://api-m.sandbox.paypal.com/v1/commerce/billing/taxes/standard_vat' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer <ACCESS-TOKEN>'
I