Hi, this is the first time i am using the checkouts API... after few attempts(around 10) of 401 error i finally made to the 429 error... not sure why i am getting this error... even i tried after few minutes...
i also went through https://docs.clover.com/docs/api-usage-rate-limits but my response header is also missing retry-after
I have been testing with POSTMAN only. please help on it.
CURL
curl --location 'https://api.clover.com/invoicingcheckoutservice/v1/checkouts' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'X-Clover-Merchant-Id: ***********' \
--header 'Authorization: Bearer ************************' \
--data-raw '{
"customer": {
"id": "3",
"firstName": "firstname",
"lastName": "lastname",
"email": "user@gmail.com",
"phoneNumber": "123456789"
},
"redirectUrls": {
"success": "https://success.com/",
"failure": "https://fail.com/",
"cancel": "https://cancel.com"
},
"shoppingCart": {
"total": 1,
"subtotal": 1,
"totalTaxAmount": 0,
"tipAmount": 0,
"lineItems": [
{
"price": 1,
"name": "Food Delivery",
"unitQty": 1
}
]
}
}'
Response
Response Header