You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`id`| integer | Unique identifier for the resource. <iclass="label label-info">read-only</i> |
10
-
|`date_created`| date-time | The date the order refund was created, in the site's timezone. <iclass="label label-info">read-only</i> |
11
-
|`date_created_gmt`| date-time | The date the order refund was created, as GMT. <iclass="label label-info">read-only</i> |
12
-
|`amount`| string |Refund amount. |
13
-
|`reason`| string | Reason for refund. |
14
-
|`refunded_by`| integer | User ID of user who created the refund. |
15
-
|`refunded_payment`| boolean | If the payment was refunded via the API. See `api_refund`. <iclass="label label-info">read-only</i> |
16
-
|`meta_data`| array | Meta data. See [Order refund - Meta data properties](#order-refund-meta-data-properties)|
17
-
|`line_items`| array | Line items data. See [Order refund - Line items properties](#order-refund-line-items-properties)|
18
-
|`api_refund`| boolean | When true, the payment gateway API is used to generate the refund. Default is `true`. <iclass="label label-info">write-only</i> |
|`id`| integer | Unique identifier for the resource. <iclass="label label-info">read-only</i> |
10
+
|`date_created`| date-time | The date the order refund was created, in the site's timezone. <iclass="label label-info">read-only</i> |
11
+
|`date_created_gmt`| date-time | The date the order refund was created, as GMT. <iclass="label label-info">read-only</i> |
12
+
|`amount`| string |Total refund amount. Optional. If this parameter is provided, it will take precedence over line item totals, even when total of line items does not matches with this amount.|
13
+
|`reason`| string | Reason for refund. |
14
+
|`refunded_by`| integer | User ID of user who created the refund. |
15
+
|`refunded_payment`| boolean | If the payment was refunded via the API. See `api_refund`. <iclass="label label-info">read-only</i> |
16
+
|`meta_data`| array | Meta data. See [Order refund - Meta data properties](#order-refund-meta-data-properties)|
17
+
|`line_items`| array | Line items data. See [Order refund - Line items properties](#order-refund-line-items-properties)|
18
+
|`api_refund`| boolean | When true, the payment gateway API is used to generate the refund. Default is `true`. <iclass="label label-info">write-only</i> |
19
19
20
20
### Order refund - Meta data properties ###
21
21
@@ -43,14 +43,16 @@ The refunds API allows you to create, view, and delete individual refunds.
43
43
|`meta_data`| array | Meta data. See [Order refund - Meta data properties](#order-refund-meta-data-properties)|
0 commit comments