Hi,
I am new to Clover and using APIs very first time.
I wanted to make a payment for an order which I have created using API.
So i was trying to use 'Pay for an Order' API from Ecommerce Service API.
My request JSON looks below
{
"ecomind":"ecom",
"tender":{
"label_key":"com.clover.tender.cash",
"label":"Cash",
"id":"1V4SQEEE4PP76"
},
"source":"alternate_tender",
"tip_amount":0
}
When I execute this API with above request JSON, I am getting below error response.
{
"message":"400 Bad Request",
"error":{
"type":"invalid_request_error",
"code":"invalid_request",
"message":"Either tender label key, label or uuid has to be present"
}
}
I have already passed the required tender details.
Please guide
Thanks