Refund a charge

Reverses lines of a charged order on the folio. lineItemIds names the terminal's lines to refund; null or empty refunds everything still on the check. amount is the terminal's refund total in minor units of currency, gross of tax; when the folio would reverse a different sum, the refund is refused and nothing is reversed. The check stays on the folio.

Idempotency-Key is required: retrying with the same key returns the original refund. The terminal's merchant must be connected to the property; otherwise 403 (integration_disconnected). 404 if the order was never charged.

Errors return detail as {code, message, retryable}.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params

The Clover REFUND extras, relayed verbatim; pos-service decides what to reverse.

integer
required
≥ 0

EXTRA_AMOUNT in minor units of currency, gross of tax.

string
required
^[A-Z]{3}$

EXTRA_CURRENCY: the ISO 4217 code of amount.

array | null

EXTRA_LINE_ITEM_IDS; null or empty is Refund Payment.

length ≤ 255
Headers
required
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json