Issues a refund for a previously processed payment.
POST
/v1/{location_id}/refunds
Issues a refund for a previously processed payment.
You must issue a refund within 60 days of the associated payment.
You cannot issue a partial refund for a split tender payment. You must instead issue a full or partial refund for a particular tender, by providing the applicable tender id to the V1CreateRefund endpoint. Issuing a full refund for a split tender payment refunds all tenders associated with the payment.
Issuing a refund for a card payment is not reversible. For development purposes, you can create fake cash payments in Square Point of Sale and refund them.
The ID of the payment to refund. If you are creating a PARTIAL
refund for a split tender payment, instead provide the id of the particular tender you want to refund.
The amount of processing fee money refunded. This amount is always positive.
The total amount of tax money refunded. This amount is always negative.
The amount of additive tax money refunded. This amount is always negative.
The amount of inclusive tax money refunded. This amount is always negative.
The amount of discount money refunded. This amount is always positive.
The amount of surcharge money refunded. This amount is always negative.
The time when the merchant initiated the refund for Square to process, in ISO 8601 format.
The time when Square processed the refund on behalf of the merchant, in ISO 8601 format.
A Square-issued ID associated with the refund. For single-tender refunds, payment_id is the ID of the original payment ID. For split-tender refunds, payment_id is the ID of the original tender. For exchange-based refunds (is_exchange == true), payment_id is the ID of the original payment ID even if the payment includes other tenders.