Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.06 KB

refund-payment-response.md

File metadata and controls

38 lines (28 loc) · 1.06 KB

Refund Payment Response

Defines the response returned by RefundPayment.

If there are errors processing the request, the refund field might not be present, or it might be present with a status of FAILED.

Structure

Refund Payment Response

Fields

Name Type Tags Description
errors List of Error Optional Information about errors encountered during the request.
refund Payment Refund Optional Represents a refund of a payment made using Square. Contains information about
the original payment and the amount of money refunded.

Example (as JSON)

{
  "refund": {
    "amount_money": {
      "amount": 100,
      "currency": "USD"
    },
    "created_at": "2018-10-17T20:41:55.520Z",
    "id": "UNOE3kv2BZwqHlJ830RCt5YCuaB_xVteEWVFkXDvKN1ddidfJWipt8p9whmElKT5mZtJ7wZ",
    "payment_id": "UNOE3kv2BZwqHlJ830RCt5YCuaB",
    "status": "PENDING",
    "updated_at": "2018-10-17T20:41:55.520Z"
  }
}