question

quseapp avatar image
quseapp asked David Marginian Deactivated commented

Add new tender is failing

Below is my request.

curl --request POST \
  --url 'https://sandbox.dev.clover.com/v3/merchants/VV5REWPA9BWE1/tenders?access_token=89e58be4-99b3-8ce4-e97a-ae2d5b5108d9' \
  --header 'accept: application/json' \
  --header 'content-type: application/json' \
  --data '{"labelKey":"QuSe","label":"QuSe","editable":true,"enabled":true,"opensCashDrawer":false,"visible":false}'

Getting 400 Bad Request

{"message":

"Error creating merchant tender as system tender does not exist"

}

Payments
1 comment
10 |2000

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

David Marginian avatar image David Marginian ♦♦ commented ·

I don't know much about tenders, but have you read our documentation:

https://docs.clover.com/clover-platform/docs/creating-custom-tender-apps

The app must run once before a custom tender can be used. This is because the initialization code must execute in order to register the tender with the merchant. We recommend running the custom tender app immediately after it has finished installing.



0 Likes 0 ·

0 Answers

·

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