The refund object

{
  "object":"refund",
  "id":"r5asl6ygfew3k47ixztdfka1",
  "amount":"20.00",
  "currency":"USD",
  "settlementAmount": "20.00",
  "settlementCurrency": "USD",
  "paymentId":"e26pqmpubmlsmqak7d93vpnc",
  "balanceChangeId": "a16609a00d5943aab4408b9b",
  "description": "A description for the refund",
  "meta": {},
  "status":"paid",
  "created":"2015-10-28T22:55:28.000Z",
  "lastUpdated":"2015-10-28T22:55:30.000Z"
}
id string
The unique id of the refund
object string, value is "refund"
amount string
The amount of the refund
currency string
The currency of the refund
settlementAmount string
The settlement amount for the refund. This is used when currency conversion is involved.
settlementCurrency string
The settlement currency for the refund. This is used when currency conversion is involved.
paymentId string
The id of the payment the refund was made against.
balanceChangeId string
The id of the balance change object associated with this refund.
reason string
A short description detailing the reason a refund failed.
description string
A short description for the refund.
meta object
Optional key/values to help link the refund to an external system.
status string, possible values: processing, paid, failed

processing
The refund is currently processing.

paid
The refund was successful.

failed
The refund failed.
created datestring
The date the refund was created.
lastUpdated datestring
The date the refund was last updated.