question

strideq avatar image
strideq asked David Marginian edited

Error creating merchant tender as system tender does not exist

V3 Custom tender creation error

Request:
curl --request POST \
3 --header 'Accept: application/json' \
4 --header 'Authorization: Bearer test \
5 --header 'Content-Type: application/json' \
6 --data '
7 {
8 "id": "test",
9 "editable": false,
10 "labelKey": "com.clover.tenders.test",
11 "label": "stest",
12 "opensCashDrawer": false,
13 "supportsTipping": false,
14 "enabled": true
15 }


Response: Error creating merchant tender as system tender does not exist

REST APICustom Tenders
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

·
David Marginian avatar image
David Marginian answered David Marginian edited

The labelKey has to match an existing system tender's key, to see the existing system tenders execute a GET to the same endpoint. If you aren't planning on building a custom tender app, you will probably use "labelKey": "com.clover.tender.external_payment".


10 |2000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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