chargebee 2.33.1 → 2.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -123,6 +123,92 @@ declare module 'chargebee' {
123
123
 
124
124
  update_gift(gift_id:string, input:UpdateGiftInputParam):ChargebeeRequest<UpdateGiftResponse>;
125
125
  }
126
+ export interface CreateResponse {
127
+ gift:Gift;
128
+
129
+ subscription:Subscription;
130
+
131
+ invoice?:Invoice;
132
+ }
133
+ export interface CreateInputParam {
134
+
135
+ /**
136
+ * @description Indicates the date on which the gift notification is sent to the receiver. If not passed, the receiver is notified immediately.
137
+
138
+ */
139
+
140
+ scheduled_at?:number;
141
+
142
+ /**
143
+ * @description When &#x60;true&#x60;, the claim happens automatically. When not passed, the default value in the site settings is used.
144
+
145
+ */
146
+
147
+ auto_claim?:boolean;
148
+
149
+ /**
150
+ * @description When &#x60;true&#x60;, indicates that the gift does not expire. Do not pass or pass as &#x60;false&#x60; when &#x60;auto_claim&#x60; is set. .
151
+
152
+ */
153
+
154
+ no_expiry?:boolean;
155
+
156
+ /**
157
+ * @description The date until which the gift can be claimed. Must be set to a value after &#x60;scheduled_at&#x60;. If the gift is not claimed within &#x60;claim_expiry_date&#x60;, it will expire and the subscription will move to &#x60;cancelled&#x60; state. When not passed, the value specified in the site settings will be used. Pass as &#x60;NULL&#x60; or do not pass when &#x60;auto_claim&#x60; or &#x60;no_expiry&#x60; are set.
158
+
159
+ */
160
+
161
+ claim_expiry_date?:number;
162
+
163
+ /**
164
+ * @description List of coupons to be applied to this subscription. You can provide coupon ids or coupon codes.
165
+
166
+ */
167
+
168
+ coupon_ids?:string[];
169
+
170
+ /**
171
+ * @description Parameters for gifter
172
+
173
+ */
174
+
175
+ gifter:{customer_id:string,note?:string,payment_src_id?:string,signature:string};
176
+
177
+ /**
178
+ * @description Parameters for gift_receiver
179
+
180
+ */
181
+
182
+ gift_receiver:{customer_id:string,email:string,first_name:string,last_name:string};
183
+
184
+ /**
185
+ * @description Parameters for payment_intent
186
+
187
+ */
188
+
189
+ payment_intent?:{additional_information?:object,gateway_account_id?:string,gw_token?:string,id?:string,payment_method_type?:'giropay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'klarna_pay_now' | 'dotpay' | 'boleto' | 'direct_debit' | 'faster_payments' | 'sofort' | 'upi' | 'venmo' | 'amazon_payments' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'pay_to' | 'card',reference_id?:string};
190
+
191
+ /**
192
+ * @description Parameters for shipping_address
193
+
194
+ */
195
+
196
+ shipping_address?:{city?:string,company?:string,country?:string,email?:string,first_name?:string,last_name?:string,line1?:string,line2?:string,line3?:string,phone?:string,state?:string,state_code?:string,validation_status?:ValidationStatus,zip?:string};
197
+
198
+ /**
199
+ * @description Parameters for subscription
200
+
201
+ */
202
+
203
+ subscription:object;
204
+
205
+ /**
206
+ * @description Parameters for addons
207
+
208
+ */
209
+
210
+ addons?:{id?:string,quantity?:number,quantity_in_decimal?:string}[];
211
+ }
126
212
  export interface CreateForItemsResponse {
127
213
  gift:Gift;
128
214
 
@@ -186,7 +272,7 @@ declare module 'chargebee' {
186
272
 
187
273
  */
188
274
 
189
- payment_intent?:{additional_information?:object,gateway_account_id?:string,gw_token?:string,id?:string,payment_method_type?:'giropay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'dotpay' | 'boleto' | 'direct_debit' | 'faster_payments' | 'sofort' | 'upi' | 'venmo' | 'amazon_payments' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'pay_to' | 'card',reference_id?:string};
275
+ payment_intent?:{additional_information?:object,gateway_account_id?:string,gw_token?:string,id?:string,payment_method_type?:'giropay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'klarna_pay_now' | 'dotpay' | 'boleto' | 'direct_debit' | 'faster_payments' | 'sofort' | 'upi' | 'venmo' | 'amazon_payments' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'pay_to' | 'card',reference_id?:string};
190
276
 
191
277
  /**
192
278
  * @description Parameters for shipping_address
@@ -0,0 +1,22 @@
1
+ ///<reference path='./../core.d.ts'/>
2
+ declare module 'chargebee' {
3
+ export interface ImpactedItemPrice {
4
+
5
+ count?:number;
6
+
7
+ download?:ImpactedItemPrice.Download;
8
+
9
+ item_prices?:any[];
10
+ }
11
+ export namespace ImpactedItemPrice {
12
+
13
+
14
+ export interface Download {
15
+ download_url:string;
16
+
17
+ valid_till:number;
18
+
19
+ mime_type?:string;
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,121 @@
1
+ ///<reference path='./../core.d.ts'/>
2
+ declare module 'chargebee' {
3
+ export interface Installment {
4
+
5
+ /**
6
+ * @description An auto-generated unique identifier for the Payment installment.
7
+
8
+ */
9
+
10
+ id:string;
11
+
12
+ /**
13
+ * @description The ID of the invoice to which this installment belongs.
14
+
15
+ */
16
+
17
+ invoice_id:string;
18
+
19
+ /**
20
+ * @description The date when this installment is in effect.
21
+
22
+ */
23
+
24
+ date:number;
25
+
26
+ /**
27
+ * @description The part of invoice.amount_due allocated to this installment.
28
+
29
+ */
30
+
31
+ amount:number;
32
+
33
+ /**
34
+ * @description The payment status of the installment. Possible values are paid, payment_due: The payment is due, posted. \* posted - The invoice is finalized but the payment is not due yet. \* payment_due - The payment is due. One or more payments were attempted for the installment but were unsuccessful. \* paid - The installment has been paid.
35
+
36
+ */
37
+
38
+ status:'paid' | 'posted' | 'payment_due';
39
+
40
+ /**
41
+ * @description The time when this resource was created.
42
+
43
+ */
44
+
45
+ created_at:number;
46
+
47
+ /**
48
+ * @description The time when this resource was last updated.
49
+
50
+ */
51
+
52
+ updated_at?:number;
53
+ }
54
+ export namespace Installment {
55
+ export class InstallmentResource {
56
+ /**
57
+ * @description Retrieves a specific installment resource.
58
+
59
+ */
60
+
61
+ retrieve(installment_id:string):ChargebeeRequest<RetrieveResponse>;
62
+
63
+ /**
64
+ * @description Lists the installments that match the criteria provided in the filter parameters.
65
+
66
+ */
67
+
68
+ list(input:ListInputParam):ChargebeeRequest<ListResponse>;
69
+ }
70
+ export interface RetrieveResponse {
71
+ installment:Installment;
72
+ }
73
+
74
+ export interface ListResponse {
75
+ /**
76
+ * @description Lists the installments that match the criteria provided in the filter parameters.
77
+
78
+ */
79
+
80
+ list:{installment:Installment}[];
81
+
82
+ /**
83
+ * @description Lists the installments that match the criteria provided in the filter parameters.
84
+
85
+ */
86
+
87
+ next_offset?:string;
88
+ }
89
+ export interface ListInputParam {
90
+ [key : string]: any;
91
+ /**
92
+ * @description Lists the installments that match the criteria provided in the filter parameters.
93
+
94
+ */
95
+
96
+ limit?:number;
97
+
98
+ /**
99
+ * @description Lists the installments that match the criteria provided in the filter parameters.
100
+
101
+ */
102
+
103
+ offset?:string;
104
+
105
+ /**
106
+ * @description Lists the installments that match the criteria provided in the filter parameters.
107
+
108
+ */
109
+
110
+ sort_by?:string;
111
+
112
+ /**
113
+ * @description Lists the installments that match the criteria provided in the filter parameters.
114
+
115
+ */
116
+
117
+ invoice_id:{in?:string,is?:string};
118
+ }
119
+
120
+ }
121
+ }
@@ -0,0 +1,162 @@
1
+ ///<reference path='./../core.d.ts'/>
2
+ declare module 'chargebee' {
3
+ export interface InstallmentConfig {
4
+
5
+ /**
6
+ * @description An auto-generated unique identifier for the Payment installment Configuration.
7
+
8
+ */
9
+
10
+ id:string;
11
+
12
+ /**
13
+ * @description A brief description for this installment configuration.
14
+
15
+ */
16
+
17
+ description?:string;
18
+
19
+ /**
20
+ * @description Specifies the total number of installments for the invoice.
21
+
22
+ */
23
+
24
+ number_of_installments:number;
25
+
26
+ /**
27
+ * @description Defines the time unit for intervals between installments.Possible values are: day, week, month \* month - month \* week - week \* day - day
28
+
29
+ */
30
+
31
+ period_unit:'week' | 'month' | 'day';
32
+
33
+ /**
34
+ * @description The time period between the effective dates of two consecutive installments, expressed in period_units.
35
+
36
+ */
37
+
38
+ period?:number;
39
+
40
+ /**
41
+ * @description The day of the week (or month) when the installment is in effect. For week: A value between 1 (Sunday) and 7 (Saturday) indicating the preferred day of the week for the installment dates. For example, 2 represents Monday. For month: A value from 1 to 31, indicating the preferred day of the month for installment dates. For example, 15 represents the 15th day of the month. If the month has fewer days than the specified preferred_day, the installment date is the last day of the month.
42
+
43
+ */
44
+
45
+ preferred_day?:number;
46
+
47
+ /**
48
+ * @description The timestamp at which the installment_config was created.
49
+
50
+ */
51
+
52
+ created_at:number;
53
+
54
+ /**
55
+ * @description The timestamp at which the installment_config was last updated at.
56
+
57
+ */
58
+
59
+ updated_at?:number;
60
+
61
+ /**
62
+ * @description Defines the details for each installment individually.
63
+
64
+ */
65
+
66
+ installments?:InstallmentConfig.Installment[];
67
+ }
68
+ export namespace InstallmentConfig {
69
+ export class InstallmentConfigResource {
70
+ /**
71
+ * @description Creates an installment configuration. After creating an installment_config, you can use it to generate installments for multiple invoices.
72
+
73
+ */
74
+
75
+ create(input:CreateInputParam):ChargebeeRequest<CreateResponse>;
76
+
77
+ /**
78
+ * @description This endpoint retrieves an installment_config resource.
79
+
80
+ */
81
+
82
+ retrieve(installment_config_id:string):ChargebeeRequest<RetrieveResponse>;
83
+
84
+ /**
85
+ * @description This endpoint deletes an installment_config resource.
86
+
87
+ */
88
+
89
+ delete(installment_config_id:string):ChargebeeRequest<DeleteResponse>;
90
+ }
91
+ export interface CreateResponse {
92
+ installment_config:InstallmentConfig;
93
+ }
94
+ export interface CreateInputParam {
95
+
96
+ /**
97
+ * @description Specifies the total number of installments for the invoice.
98
+
99
+ */
100
+
101
+ number_of_installments:number;
102
+
103
+ /**
104
+ * @description Defines the time unit for intervals between installments.Possible values are: day, week, month \* month - month \* week - week \* day - day
105
+
106
+ */
107
+
108
+ period_unit:'week' | 'month' | 'day';
109
+
110
+ /**
111
+ * @description The time period between the effective dates of two consecutive installments, expressed in period_units.
112
+
113
+ */
114
+
115
+ period?:number;
116
+
117
+ /**
118
+ * @description The day of the week (or month) when the installment is in effect. For week: A value between 1 (Sunday) and 7 (Saturday) indicating the preferred day of the week for the installment dates. For example, 2 represents Monday. For month: A value from 1 to 31, indicating the preferred day of the month for installment dates. For example, 15 represents the 15th day of the month. If the month has fewer days than the specified preferred_day, the installment date is the last day of the month.
119
+
120
+ */
121
+
122
+ preferred_day?:number;
123
+
124
+ /**
125
+ * @description A brief description for this installment configuration.
126
+
127
+ */
128
+
129
+ description?:string;
130
+
131
+ /**
132
+ * @description Parameters for installments
133
+
134
+ */
135
+
136
+ installments?:{amount_percentage?:number,period?:number}[];
137
+ }
138
+ export interface RetrieveResponse {
139
+ installment_config:InstallmentConfig;
140
+ }
141
+
142
+ export interface DeleteResponse {
143
+ installment_config:InstallmentConfig;
144
+ }
145
+
146
+ export interface Installments {
147
+ /**
148
+ * @description The period of time (expressed in period_units) after the invoice.date, marking the date when installment is in effect. For example, when installments.period is 3 and period_unit is month, this installment is effective 3 months after the invoice.date
149
+
150
+ */
151
+
152
+ period?:number;
153
+
154
+ /**
155
+ * @description The percentage of invoice.amount_due allocated to this installment. If unspecified, the invoice.amount_due is distributed equally among the installments.
156
+
157
+ */
158
+
159
+ amount_percentage?:number;
160
+ }
161
+ }
162
+ }
@@ -743,6 +743,13 @@ All associated [usages](/docs/api/usages?prod_cat_ver&#x3D;2) are permanently de
743
743
 
744
744
  update_details(invoice_id:string, input?:UpdateDetailsInputParam):ChargebeeRequest<UpdateDetailsResponse>;
745
745
 
746
+ /**
747
+ * @description Creates installments for an invoice, enabling the invoice to be paid in multiple, scheduled payments. **Note: The invoice must be in payment_due.**
748
+
749
+ */
750
+
751
+ installments(invoice_id:string, input:InstallmentsInputParam):ChargebeeRequest<InstallmentsResponse>;
752
+
746
753
  /**
747
754
  * @description Resend failed einvoice of an invoice to the customer using this API.
748
755
 
@@ -772,6 +779,179 @@ This endpoint schedules e-invoices manually. This operation is not allowed when
772
779
 
773
780
  send_einvoice(invoice_id:string):ChargebeeRequest<SendEinvoiceResponse>;
774
781
  }
782
+ export interface CreateResponse {
783
+ invoice:Invoice;
784
+ }
785
+ export interface CreateInputParam {
786
+
787
+ /**
788
+ * @description Identifier of the customer for which this invoice needs to be created. Should be specified if &#x27;subscription_id&#x27; is not specified.
789
+
790
+ */
791
+
792
+ customer_id?:string;
793
+
794
+ /**
795
+ * @description Identifier of the subscription for which this invoice needs to be created. Should be specified if &#x27;customer_id&#x27; is not specified.(not applicable for consolidated invoice).
796
+
797
+ */
798
+
799
+ subscription_id?:string;
800
+
801
+ /**
802
+ * @description The currency code (ISO 4217 format) of the invoice amount.
803
+
804
+ */
805
+
806
+ currency_code?:string;
807
+
808
+ /**
809
+ * @description The document date displayed on the invoice PDF. By default, it is the date of creation of the invoice or, when Metered Billing is enabled, it can be the date of closing the invoice. Provide this value to backdate the invoice (set the invoice date to a value in the past). Backdating an invoice is done for reasons such as booking revenue for a previous date or when the non-recurring charge is effective as of a past date. &#x60;taxes&#x60; and &#x60;line_item_taxes&#x60; are computed based on the tax configuration as of this date. The date should not be more than one calendar month into the past. For example, if today is 13th January, then you cannot pass a value that is earlier than 13th December.
810
+
811
+ */
812
+
813
+ invoice_date?:number;
814
+
815
+ /**
816
+ * @description A note for this particular invoice. This, and [all other notes](/docs/api/invoices#invoice_notes) for the invoice are displayed on the PDF invoice sent to the customer.
817
+
818
+ */
819
+
820
+ invoice_note?:string;
821
+
822
+ /**
823
+ * @description Set as &#x60;true&#x60; to remove the **[general note](https://www.chargebee.com/docs/invoice_notes.html#adding-general-notes)** from this invoice.
824
+
825
+ */
826
+
827
+ remove_general_note?:boolean;
828
+
829
+ /**
830
+ * @description Purchase Order Number for this invoice.
831
+
832
+ */
833
+
834
+ po_number?:string;
835
+
836
+ /**
837
+ * @description List of Coupons to be added.
838
+
839
+ */
840
+
841
+ coupon_ids?:string[];
842
+
843
+ /**
844
+ * @description Authorization transaction to be captured.
845
+
846
+ */
847
+
848
+ authorization_transaction_id?:string;
849
+
850
+ /**
851
+ * @description Payment source to be used for this payment.
852
+
853
+ */
854
+
855
+ payment_source_id?:string;
856
+
857
+ /**
858
+ * @description If specified, the customer level auto collection will be overridden. \* on - Whenever an invoice is created, an automatic attempt will be made to charge. \* off - Whenever an invoice is created as payment due.
859
+
860
+ */
861
+
862
+ auto_collection?:AutoCollection;
863
+
864
+ /**
865
+ * @description Token generated by Chargebee JS representing payment method details.
866
+
867
+ */
868
+
869
+ token_id?:string;
870
+
871
+ /**
872
+ * @description Indicates whether the primary payment source should be replaced with this payment source. In case of Create Subscription for Customer endpoint, the default value is True. Otherwise, the default value is False.
873
+
874
+ */
875
+
876
+ replace_primary_payment_source?:boolean;
877
+
878
+ /**
879
+ * @description Indicates whether the payment source should be retained for the customer.
880
+
881
+ */
882
+
883
+ retain_payment_source?:boolean;
884
+
885
+ /**
886
+ * @description The type of initiator to be used for the payment request triggered by this operation. \* customer - Pass this value to indicate that the request is initiated by the customer \* merchant - Pass this value to indicate that the request is initiated by the merchant
887
+
888
+ */
889
+
890
+ payment_initiator?:PaymentInitiator;
891
+
892
+ /**
893
+ * @description Parameters for shipping_address
894
+
895
+ */
896
+
897
+ shipping_address?:{city?:string,company?:string,country?:string,email?:string,first_name?:string,last_name?:string,line1?:string,line2?:string,line3?:string,phone?:string,state?:string,state_code?:string,validation_status?:ValidationStatus,zip?:string};
898
+
899
+ /**
900
+ * @description Parameters for statement_descriptor
901
+
902
+ */
903
+
904
+ statement_descriptor?:{additional_info?:string,descriptor?:string};
905
+
906
+ /**
907
+ * @description Parameters for card
908
+
909
+ */
910
+
911
+ card?:{additional_information?:object,billing_addr1?:string,billing_addr2?:string,billing_city?:string,billing_country?:string,billing_state?:string,billing_state_code?:string,billing_zip?:string,cvv?:string,expiry_month?:number,expiry_year?:number,first_name?:string,gateway_account_id?:string,last_name?:string,number?:string};
912
+
913
+ /**
914
+ * @description Parameters for bank_account
915
+
916
+ */
917
+
918
+ bank_account?:{account_holder_type?:AccountHolderType,account_number?:string,account_type?:AccountType,bank_code?:string,bank_name?:string,billing_address?:object,company?:string,echeck_type?:EcheckType,email?:string,first_name?:string,gateway_account_id?:string,iban?:string,issuing_country?:string,last_name?:string,phone?:string,routing_number?:string,swedish_identity_number?:string};
919
+
920
+ /**
921
+ * @description Parameters for payment_method
922
+
923
+ */
924
+
925
+ payment_method?:{additional_information?:object,gateway_account_id?:string,issuing_country?:string,reference_id?:string,tmp_token?:string,type?:Type};
926
+
927
+ /**
928
+ * @description Parameters for payment_intent
929
+
930
+ */
931
+
932
+ payment_intent?:{additional_information?:object,gateway_account_id?:string,gw_token?:string,id?:string,payment_method_type?:'giropay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'klarna_pay_now' | 'dotpay' | 'boleto' | 'direct_debit' | 'faster_payments' | 'sofort' | 'upi' | 'venmo' | 'amazon_payments' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'pay_to' | 'card',reference_id?:string};
933
+
934
+ /**
935
+ * @description Parameters for addons
936
+
937
+ */
938
+
939
+ addons?:{date_from?:number,date_to?:number,id?:string,quantity?:number,quantity_in_decimal?:string,unit_price?:number,unit_price_in_decimal?:string}[];
940
+
941
+ /**
942
+ * @description Parameters for charges
943
+
944
+ */
945
+
946
+ charges?:{amount?:number,amount_in_decimal?:string,avalara_sale_type?:AvalaraSaleType,avalara_service_type?:number,avalara_tax_code?:string,avalara_transaction_type?:number,date_from?:number,date_to?:number,description?:string,hsn_code?:string,tax_profile_id?:string,taxable?:boolean,taxjar_product_code?:string}[];
947
+
948
+ /**
949
+ * @description Parameters for notes_to_remove
950
+
951
+ */
952
+
953
+ notes_to_remove?:{entity_id?:string,entity_type?:EntityType}[];
954
+ }
775
955
  export interface CreateForChargeItemsAndChargesResponse {
776
956
  invoice:Invoice;
777
957
  }
@@ -930,7 +1110,7 @@ The invoice is [linked](/docs/api?prod_cat_ver&#x3D;2#mbe-linked-be) to the same
930
1110
 
931
1111
  */
932
1112
 
933
- payment_intent?:{additional_information?:object,gateway_account_id?:string,gw_token?:string,id?:string,payment_method_type?:'giropay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'dotpay' | 'boleto' | 'direct_debit' | 'faster_payments' | 'sofort' | 'upi' | 'venmo' | 'amazon_payments' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'pay_to' | 'card',reference_id?:string};
1113
+ payment_intent?:{additional_information?:object,gateway_account_id?:string,gw_token?:string,id?:string,payment_method_type?:'giropay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'klarna_pay_now' | 'dotpay' | 'boleto' | 'direct_debit' | 'faster_payments' | 'sofort' | 'upi' | 'venmo' | 'amazon_payments' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'pay_to' | 'card',reference_id?:string};
934
1114
 
935
1115
  /**
936
1116
  * @description Parameters for item_prices
@@ -1984,6 +2164,25 @@ Ireland** . The first two characters of the VAT number in such a case is &#x60;X
1984
2164
 
1985
2165
  statement_descriptor?:{additional_info?:string,descriptor?:string};
1986
2166
  }
2167
+ export interface InstallmentsResponse {
2168
+ invoice:Invoice;
2169
+ }
2170
+ export interface InstallmentsInputParam {
2171
+
2172
+ /**
2173
+ * @description The identifier of the installment_config used to create the installments.
2174
+
2175
+ */
2176
+
2177
+ config_id:string;
2178
+
2179
+ /**
2180
+ * @description The part of the invoice.amount_due to be distributed across the installments. If unspecified, the full invoice.amount_due is considered by default.
2181
+
2182
+ */
2183
+
2184
+ amount?:number;
2185
+ }
1987
2186
  export interface ResendEinvoiceResponse {
1988
2187
  invoice:Invoice;
1989
2188
  }
@@ -23,13 +23,6 @@ declare module 'chargebee' {
23
23
 
24
24
  item_family_id?:string;
25
25
 
26
- /**
27
- * @description Identifier of the product
28
-
29
- */
30
-
31
- product_id?:string;
32
-
33
26
  /**
34
27
  * @description The id of the item that the item price belongs to.
35
28
 
@@ -56,7 +56,7 @@ declare module 'chargebee' {
56
56
 
57
57
  */
58
58
 
59
- payment_method_type?:'giropay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'dotpay' | 'boleto' | 'direct_debit' | 'faster_payments' | 'sofort' | 'upi' | 'venmo' | 'amazon_payments' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'pay_to' | 'card';
59
+ payment_method_type?:'giropay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'klarna_pay_now' | 'dotpay' | 'boleto' | 'direct_debit' | 'faster_payments' | 'sofort' | 'upi' | 'venmo' | 'amazon_payments' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'pay_to' | 'card';
60
60
 
61
61
  /**
62
62
  * @description The URL the customer will be directed to once 3DS verification is successful. Applicable only when &#x60;payment_method_type&#x60; is &#x60;ideal&#x60;, &#x60;sofort&#x60;, &#x60;dotpay&#x60; or &#x60;giropay&#x60;.
@@ -226,7 +226,7 @@ An alternative way of passing this parameter is by means of a [custom HTTP heade
226
226
 
227
227
  */
228
228
 
229
- payment_method_type?:'giropay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'dotpay' | 'boleto' | 'direct_debit' | 'faster_payments' | 'sofort' | 'upi' | 'venmo' | 'amazon_payments' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'pay_to' | 'card';
229
+ payment_method_type?:'giropay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'klarna_pay_now' | 'dotpay' | 'boleto' | 'direct_debit' | 'faster_payments' | 'sofort' | 'upi' | 'venmo' | 'amazon_payments' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'pay_to' | 'card';
230
230
 
231
231
  /**
232
232
  * @description The URL the customer will be directed to once 3DS verification is successful. Applicable only when &#x60;payment_method_type&#x60; is &#x60;ideal&#x60;, &#x60;sofort&#x60;, &#x60;dotpay&#x60; or &#x60;giropay&#x60;.
@@ -273,7 +273,7 @@ An alternative way of passing this parameter is by means of a [custom HTTP heade
273
273
 
274
274
  */
275
275
 
276
- payment_method_type?:'giropay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'dotpay' | 'boleto' | 'direct_debit' | 'faster_payments' | 'sofort' | 'upi' | 'venmo' | 'amazon_payments' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'pay_to' | 'card';
276
+ payment_method_type?:'giropay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'klarna_pay_now' | 'dotpay' | 'boleto' | 'direct_debit' | 'faster_payments' | 'sofort' | 'upi' | 'venmo' | 'amazon_payments' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'pay_to' | 'card';
277
277
 
278
278
  /**
279
279
  * @description The URL the customer will be directed to once 3DS verification is successful. Applicable only when &#x60;payment_method_type&#x60; is &#x60;ideal&#x60;, &#x60;sofort&#x60;, &#x60;dotpay&#x60; or &#x60;giropay&#x60;.
@@ -313,7 +313,7 @@ An alternative way of passing this parameter is by means of a [custom HTTP heade
313
313
 
314
314
  */
315
315
 
316
- payment_method_type?:'giropay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'dotpay' | 'boleto' | 'direct_debit' | 'faster_payments' | 'sofort' | 'upi' | 'venmo' | 'amazon_payments' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'pay_to' | 'card';
316
+ payment_method_type?:'giropay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'klarna_pay_now' | 'dotpay' | 'boleto' | 'direct_debit' | 'faster_payments' | 'sofort' | 'upi' | 'venmo' | 'amazon_payments' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'pay_to' | 'card';
317
317
 
318
318
  /**
319
319
  * @description Reference of PaymentIntent at gateway