<- Object

Object

All versions ->

PaymentRefund

Represents a refund of a payment made using Square.

Contains information about the original payment and the amount of money refunded.

Link to section

Properties

Link to section

id

string

Required

The unique ID for this refund, generated by Square.

Link to section

status

string

The refund's status:

  • PENDING - Awaiting approval.
  • COMPLETED - Successfully completed.
  • REJECTED - The refund was rejected.
  • FAILED - An error occurred.
Link to section

location_id

string

The location ID associated with the payment this refund is attached to.

Link to section

amount_money

Required

The amount of money refunded. This amount is specified in the smallest denomination of the applicable currency (for example, US dollar amounts are specified in cents).

Link to section

app_fee_money

The amount of money the application developer contributed to help cover the refunded amount. This amount is specified in the smallest denomination of the applicable currency (for example, US dollar amounts are specified in cents). For more information, see Working with Monetary Amounts.

Link to section

processing_fee

Processing fees and fee adjustments assessed by Square for this refund.

Link to section

payment_id

string

The ID of the payment associated with this refund.

Link to section

order_id

string

The ID of the order associated with the refund.

Link to section

reason

string

The reason for the refund.

Link to section

created_at

string

Read only The timestamp of when the refund was created, in RFC 3339 format.

Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:

UTC: 2020-01-26T02:25:34Z

Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00

Link to section

updated_at

string

Read only The timestamp of when the refund was last updated, in RFC 3339 format.

Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:

UTC: 2020-01-26T02:25:34Z

Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00