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: types/Billing/CreditGrants.d.ts
+20-1Lines changed: 20 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,11 @@ declare module 'stripe' {
63
63
*/
64
64
name: string|null;
65
65
66
+
/**
67
+
* The priority for applying this credit grant. The highest priority is 0 and the lowest is 100.
68
+
*/
69
+
priority?: number|null;
70
+
66
71
/**
67
72
* ID of the test clock this credit grant belongs to.
68
73
*/
@@ -115,7 +120,21 @@ declare module 'stripe' {
115
120
/**
116
121
* The price type that credit grants can apply to. We currently only support the `metered` price type. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them.
117
122
*/
118
-
price_type: 'metered';
123
+
price_type?: 'metered';
124
+
125
+
/**
126
+
* The prices that credit grants can apply to. We currently only support `metered` prices. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them.
Copy file name to clipboardExpand all lines: types/Billing/CreditGrantsResource.d.ts
+21-2Lines changed: 21 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ declare module 'stripe' {
10
10
amount: CreditGrantCreateParams.Amount;
11
11
12
12
/**
13
-
* Configuration specifying what this credit grant applies to.
13
+
* Configuration specifying what this credit grant applies to. We currently only support `metered` prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them.
* The desired priority for applying this credit grant. If not specified, it will be set to the default value of 50. The highest priority is 0 and the lowest is 100.
54
+
*/
55
+
priority?: number;
51
56
}
52
57
53
58
namespaceCreditGrantCreateParams{
@@ -89,7 +94,21 @@ declare module 'stripe' {
89
94
/**
90
95
* The price type that credit grants can apply to. We currently only support the `metered` price type.
91
96
*/
92
-
price_type: 'metered';
97
+
price_type?: 'metered';
98
+
99
+
/**
100
+
* A list of prices that the credit grant can apply to. We currently only support the `metered` prices.
Copy file name to clipboardExpand all lines: types/Charges.d.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -483,7 +483,7 @@ declare module 'stripe' {
483
483
twint?: PaymentMethodDetails.Twint;
484
484
485
485
/**
486
-
* The type of transaction-specific details of the payment method used in the payment, one of `ach_credit_transfer`, `ach_debit`, `acss_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`.
486
+
* The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://stripe.com/docs/api/payment_methods/object#payment_method_object-type) for the full list of possible types.
487
487
* An additional hash is included on `payment_method_details` with a name matching this value.
488
488
* It contains information specific to the payment method.
489
489
*/
@@ -889,7 +889,7 @@ declare module 'stripe' {
889
889
network_token?: Card.NetworkToken|null;
890
890
891
891
/**
892
-
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
892
+
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
893
893
*/
894
894
network_transaction_id: string|null;
895
895
@@ -1274,7 +1274,7 @@ declare module 'stripe' {
1274
1274
network: string|null;
1275
1275
1276
1276
/**
1277
-
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
1277
+
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
1278
1278
*/
1279
1279
network_transaction_id: string|null;
1280
1280
@@ -1671,7 +1671,7 @@ declare module 'stripe' {
1671
1671
network: string|null;
1672
1672
1673
1673
/**
1674
-
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
1674
+
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
0 commit comments