question

Robin Walmsley avatar image
Robin Walmsley asked sam Deactivated answered

Refunds - How do we know the tender type?

If a customer is refunded for an item, and the tender type is not the same as the original purchase, so for example initially paid by card, then refunded in cash. how do we know this from the API.

I can't see a field which shows this information, in the API docs.

Thanks Robin

Refund
10 |2000

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

1 Answer

sam avatar image
sam Deactivated answered

Merchants will only be able to refund using the original payment tender or a custom tender that has setup to take alternative refunds. For example, a cash payment will not be refundable to a credit card or vice versa. If a custom tender, different from the original payment tender, is used to refund, you can find it under "overrideMerchantTender"

GET /v3/merchants/{mid}/refunds/

{
  "id": "MVFA5YAAV8FXJ",
  "orderRef": {
    "id": "05FB2APY5CEM6"
  },
  "device": {
    "id": "xxx"
  },
  "amount": 5433,
  "taxAmount": 437,
  "createdTime": 1491505151000,
  "clientCreatedTime": 1491505150000,
  "payment": {
    "id": "M7KW532Y25ZHR"
  },
  "employee": {
    "id": "RKGA7MJ6927WC"
  },
  "overrideMerchantTender": {
    "href": "https://sandbox.dev.clover.com/v3/merchants/{mid}/tenders/ZYZBFX77CG1B0",
    "id": "ZYZBFX77CG1B0"
  }
}
10 |2000

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

Welcome to the
Clover Developer Community