Hello,
I add payment to an order using this request:
https://sandbox.dev.clover.com/v3/mer...
{ "tender": { "id": "0C43K09N1XFBG" }, "amount": 1100, "cardTransaction": { "entryType": null, "last4": "0000", "authCode": null, "avsResult": "SUCCESS", "cardType": "VISA", "transactionNo": "XXX", "type": null, "first6": "0000*", "token": null, "cloverVaultedCard": null, "endBalance": null, "cardHolderName": "Not specified", "state": "CLOSED" }, "taxAmount": 100, "result": "SUCCESS" }
Is that a proper way to create payment for order? Should I add lineitem payments and taxrates and etc? What are restricted payment parameters to provide correct work?