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
Copy file name to clipboardExpand all lines: openapi/api.yaml
+17-4Lines changed: 17 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -9915,10 +9915,11 @@ paths:
9915
9915
summary: Refund an invoice
9916
9916
description: |
9917
9917
There are two ways to do a refund:
9918
-
* refund a specific amount which is divided across all the line items.
9919
-
* refund quantities of line items.
9920
-
If you want to refund the entire refundable amount on the invoice, the
9921
-
simplest way is to do `type=amount` without specifiying an `amount`.
9918
+
* Apply a specific dollar/cent amount or percentage amount to an entire invoice, which will refund the resulting amount across all line items on the invoice.
9919
+
* If you want to refund the entire refundable amount on the invoice, the simplest way is to do `type=amount` without specifiying an `amount`.
9920
+
* Note: You must have the Credit Memos feature flag enabled on your site to utilize percentage amount refunds on invoices.
9921
+
* Apply a refund to one or more individual line items on an invoice. A line item can be refunded by a quantity amount, a specific dollar/cent amount, or a percentage amount and will only apply to the specific line item you are aiming to refund.
9922
+
* Note: You must have the Credit Memos feature flag enabled on your site to utilize specific dollar/cent amount and percentage amount refunds on line items.
9922
9923
parameters:
9923
9924
- "$ref": "#/components/parameters/invoice_id"
9924
9925
requestBody:
@@ -23562,6 +23563,12 @@ components:
23562
23563
title: Gift card Redemption Code
23563
23564
description: A gift card redemption code to be redeemed on the purchase
23564
23565
invoice.
23566
+
bulk:
23567
+
type: boolean
23568
+
description: Optional field to be used only when needing to bypass the 60
23569
+
second limit on creating subscriptions. Should only be used when creating
23570
+
subscriptions in bulk from the API.
23571
+
default: false
23565
23572
required:
23566
23573
- plan_code
23567
23574
- currency
@@ -23664,6 +23671,12 @@ components:
23664
23671
description: The new set of ramp intervals for the subscription.
0 commit comments