I want to charge an additional cost, in my case I want to charge a cost for shipping, in the total amount of the payment to be made I want to add this amount, how can I achieve this?
The POST body for https://sandbox.dev.clover.com/invoicingcheckoutservice/v1/checkouts
is in this format:
{
"customer": {
"email": "johndoe@gmail.com",
"firstName": "John",
"lastName": "Doe"
},
"shoppingCart": {
"lineItems": []
},
"redirectUrls": {
"success": "https://example.com/payment-success",
"failure": "https://example.com/payment-failure",
"cancel": "https://example.com/payment-canceled"
}
}