Instead of posting your code can you please provide us with the APIs you are using, the requests you are making (redact sensitive information) and the responses you are receiving.
I am using the e-commerce route thats v1/orders/{$orderid}/pay I also tried the v3 version as well both return the error
How are you obtaining the card token? Can you provide the card tokenization request or the card number/data you are using (assuming it isn't real)? I think I found your requests in sandbox, but I can't see the payload of your tokenization request. I also just used the same endpoints and did not have the same issue so I am guessing it has to do with the card data you are tokenizing. Try using test card data from here - https://docs.clover.com/docs/test-card-numbers.
1 Person is following this question.