I have attempted to list charges that the api posted on my account earlier after using the same endpoint with the POST method to create a charge by executing the following CURL request:
curl --request GET --url https://scl.clover.com/v1/charges --header 'Accept: application/json' --header 'Authorization: Bearer myvalidkey'
I get the HTTP 200 status code as expected but the data returned is:
{
"object" : "list",
"url" : "/v1/charges"
}
Why am I not getting the list of charges?