Represents a refund of a payment made using Square. Contains information on the original payment and the amount of money refunded.
Name | Type | Description | Notes |
---|---|---|---|
id | String | Unique ID for this refund, generated by Square. | |
status | String | The refund's status: - `PENDING` - awaiting approval - `COMPLETED` - successfully completed - `REJECTED` - the refund was rejected - `FAILED` - an error occurred | [optional] |
location_id | String | Location ID associated with the payment this refund is attached to. | [optional] |
amount_money | Money | The amount of money refunded, specified in the smallest denomination of the applicable currency. For example, US dollar amounts are specified in cents. | |
app_fee_money | Money | Amount of money the app developer contributed to help cover the refunded amount. Specified in the smallest denomination of the applicable currency. For example, US dollar amounts are specified in cents. See Working with monetary amounts for details. | [optional] |
processing_fee | [ProcessingFee] | Processing fees and fee adjustments assessed by Square on this refund. | [optional] |
payment_id | String | The ID of the payment assocated with this refund. | [optional] |
order_id | String | The ID of the order associated with the refund. | [optional] |
reason | String | The reason for the refund. | [optional] |
created_at | String | Timestamp of when the refund was created, in RFC 3339 format. | [optional] |
updated_at | String | Timestamp of when the refund was last updated, in RFC 3339 format. | [optional] |