question

ihor avatar image
ihor asked sam Deactivated edited

Create Service Charge

Hi,

I have a question about service charges. Do we have ability to set service charge through API. Or we can set up it only in Merchant Settings and only one? Is it any plans to add ability to create own service charges like tax rates?

I await your reply with interest.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

sam avatar image
sam Deactivated answered sam Deactivated edited
You can only have a single `service charge` but the `percentage` and `name` can be unique for each order, set in the body of the POST request:

`POST /v3/merchants/{
                {merchant_id}}/orders/{
                {order_id}/service_charge`

body: {"id": "Z4MKX1B4RSQ34", "percentage": 10, "name": "test"}

There service `id` can be found:
`GET /v3/merchants/{
                {mid}}/default_service_charge`

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community