question

Lee Tickett avatar image
Lee Tickett asked ·

Why can't we create credits/refunds using the API?

The only credit/refund endpoints appear to be GET;
-Get all refunds for a merchant
-Get a single refund
-Get a list of credits
-Get a single credit

If we try and create a negative payment the API throws an error;
{"message":"Payment amount must exist and not be negative."}
PaymentsRefund
1 comment
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

I get this message on using this below API to make payment using custom Tender

POST /v3/merchants/{mId}/orders/{orderId}/payments

I provide the details(Parameters)

{ "employee": { "id": "S48JPDMXXXX7W" }, "order": { "id": "17SYWXXXJBQPY" }, "tender": { "instructions": "erter", "visible": true, "editable": false, "id": "2GQ9XXXXXRGRY", "label": "Coupon", "labelKey": "com.bluepumpsoftware.application", "opensCashDrawer": false, "supportsTipping": false, "enabled": true }, "amount": "2243" }

0 Likes 0 · ·

0 Answers

Welcome to the
Clover Developer Community