@amos.com/node 0.1.61 → 0.1.63

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.
package/dist/index.d.mts CHANGED
@@ -304,7 +304,8 @@ interface paths {
304
304
  };
305
305
  /** Retrieve a legal entity application by ID */
306
306
  get: operations["GetLegalEntityApplication"];
307
- put?: never;
307
+ /** Update a pending legal entity application */
308
+ put: operations["UpdateLegalEntityApplication"];
308
309
  post?: never;
309
310
  delete?: never;
310
311
  options?: never;
@@ -372,7 +373,8 @@ interface paths {
372
373
  };
373
374
  /** Retrieve a legal entity application principal by ID */
374
375
  get: operations["GetLegalEntityApplicationPrincipal"];
375
- put?: never;
376
+ /** Update a legal entity application principal */
377
+ put: operations["UpdateLegalEntityApplicationPrincipal"];
376
378
  post?: never;
377
379
  delete?: never;
378
380
  options?: never;
@@ -440,7 +442,8 @@ interface paths {
440
442
  };
441
443
  /** Retrieve a merchant application by ID */
442
444
  get: operations["GetMerchantApplication"];
443
- put?: never;
445
+ /** Update a pending merchant application */
446
+ put: operations["UpdateMerchantApplication"];
444
447
  post?: never;
445
448
  delete?: never;
446
449
  options?: never;
@@ -479,7 +482,8 @@ interface paths {
479
482
  delete?: never;
480
483
  options?: never;
481
484
  head?: never;
482
- patch?: never;
485
+ /** Update a merchant by ID */
486
+ patch: operations["UpdateMerchant"];
483
487
  trace?: never;
484
488
  };
485
489
  "/organization": {
@@ -693,7 +697,8 @@ interface paths {
693
697
  */
694
698
  get: operations["ListPaymentMethods"];
695
699
  put?: never;
696
- post?: never;
700
+ /** Create a payment method */
701
+ post: operations["CreatePaymentMethod"];
697
702
  delete?: never;
698
703
  options?: never;
699
704
  head?: never;
@@ -865,9 +870,9 @@ interface paths {
865
870
  cookie?: never;
866
871
  };
867
872
  get?: never;
873
+ put?: never;
868
874
  /** Cancel a refund */
869
- put: operations["CancelRefund"];
870
- post?: never;
875
+ post: operations["CancelRefund"];
871
876
  delete?: never;
872
877
  options?: never;
873
878
  head?: never;
@@ -1437,7 +1442,6 @@ interface components {
1437
1442
  /** Format: uuid */
1438
1443
  id?: string;
1439
1444
  name?: string;
1440
- active?: boolean;
1441
1445
  /** Format: uuid */
1442
1446
  merchant_id?: string;
1443
1447
  /** Format: uuid */
@@ -1508,8 +1512,6 @@ interface components {
1508
1512
  Customer: {
1509
1513
  /** Format: uuid */
1510
1514
  id?: string;
1511
- /** Format: uuid */
1512
- account_id?: string;
1513
1515
  email?: string;
1514
1516
  metadata?: components["schemas"]["Metadata"];
1515
1517
  name?: string;
@@ -1591,6 +1593,10 @@ interface components {
1591
1593
  purpose: string;
1592
1594
  state: string;
1593
1595
  download: components["schemas"]["FileDownloadConfiguration"];
1596
+ /** Format: date-time */
1597
+ created_at?: string;
1598
+ /** Format: date-time */
1599
+ updated_at?: string;
1594
1600
  };
1595
1601
  FileDownloadConfiguration: {
1596
1602
  /** Format: uri */
@@ -1607,6 +1613,10 @@ interface components {
1607
1613
  purpose: string;
1608
1614
  state: string;
1609
1615
  upload: components["schemas"]["FileUploadConfiguration"];
1616
+ /** Format: date-time */
1617
+ created_at?: string;
1618
+ /** Format: date-time */
1619
+ updated_at?: string;
1610
1620
  };
1611
1621
  FileUploadConfiguration: {
1612
1622
  /** Format: uri */
@@ -1640,6 +1650,8 @@ interface components {
1640
1650
  byte_size?: number;
1641
1651
  /** Format: date-time */
1642
1652
  created_at?: string;
1653
+ /** Format: date-time */
1654
+ updated_at?: string;
1643
1655
  };
1644
1656
  CreateLegalEntityApplicationPrincipalInput: {
1645
1657
  /** Format: uuid */
@@ -1681,6 +1693,10 @@ interface components {
1681
1693
  contact_phone?: string;
1682
1694
  tax_id_last4?: string;
1683
1695
  title?: string;
1696
+ /** Format: date-time */
1697
+ created_at?: string;
1698
+ /** Format: date-time */
1699
+ updated_at?: string;
1684
1700
  };
1685
1701
  LegalEntityPrincipal: {
1686
1702
  /** Format: uuid */
@@ -1700,6 +1716,10 @@ interface components {
1700
1716
  postal_code?: string;
1701
1717
  contact_phone?: string;
1702
1718
  tax_id_last4?: string;
1719
+ /** Format: date-time */
1720
+ created_at?: string;
1721
+ /** Format: date-time */
1722
+ updated_at?: string;
1703
1723
  };
1704
1724
  /** @enum {string} */
1705
1725
  LegalEntityEntityType: "individual_sole_proprietorship" | "corporation" | "limited_liability_company" | "partnership" | "limited_partnership" | "general_partnership" | "tax_exempt_organization" | "government_agency";
@@ -1921,6 +1941,10 @@ interface components {
1921
1941
  satisfied_at?: string | null;
1922
1942
  /** Format: date-time */
1923
1943
  waived_at?: string | null;
1944
+ /** Format: date-time */
1945
+ created_at?: string;
1946
+ /** Format: date-time */
1947
+ updated_at?: string;
1924
1948
  };
1925
1949
  LegalEntity: {
1926
1950
  /** Format: uuid */
@@ -1943,6 +1967,8 @@ interface components {
1943
1967
  tax_id_last4?: string;
1944
1968
  /** Format: date-time */
1945
1969
  created_at?: string;
1970
+ /** Format: date-time */
1971
+ updated_at?: string;
1946
1972
  };
1947
1973
  LegalEntityApplication: {
1948
1974
  /** Format: uuid */
@@ -2006,7 +2032,6 @@ interface components {
2006
2032
  /** Format: uuid */
2007
2033
  id?: string;
2008
2034
  annual_credit_card_sales_volume?: number;
2009
- allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
2010
2035
  business_category?: components["schemas"]["MerchantBusinessCategoryType"];
2011
2036
  business_description?: string;
2012
2037
  city?: string;
@@ -2020,8 +2045,11 @@ interface components {
2020
2045
  has_accepted_credit_cards?: boolean;
2021
2046
  /** Format: uuid */
2022
2047
  legal_entity_application_id?: string;
2023
- /** Format: uuid */
2024
- legal_entity_id?: string;
2048
+ max_daily_credits_amount?: number;
2049
+ max_daily_debits_amount?: number;
2050
+ max_monthly_credits_amount?: number;
2051
+ max_monthly_debits_amount?: number;
2052
+ max_single_debit_amount?: number;
2025
2053
  max_transaction_amount?: string;
2026
2054
  mcc?: string;
2027
2055
  postal_code?: string;
@@ -2031,10 +2059,15 @@ interface components {
2031
2059
  primary_contact_phone?: string;
2032
2060
  purchase_currency?: string;
2033
2061
  settlement_currency?: string;
2062
+ settlement_days?: number;
2034
2063
  state_province?: string;
2035
2064
  street_address1?: string;
2036
2065
  street_address2?: string;
2037
2066
  website_url?: string;
2067
+ /** Format: date-time */
2068
+ created_at?: string;
2069
+ /** Format: date-time */
2070
+ updated_at?: string;
2038
2071
  };
2039
2072
  Merchant: {
2040
2073
  /** Format: uuid */
@@ -2175,7 +2208,6 @@ interface components {
2175
2208
  recurring_payment?: components["schemas"]["RecurringPayment"];
2176
2209
  /** Format: uuid */
2177
2210
  payment_method_id?: string;
2178
- source?: components["schemas"]["TransactionSourceType"];
2179
2211
  /** @enum {string} */
2180
2212
  state?: "requires_payment_method" | "requires_confirmation" | "requires_capture" | "processing_authorization" | "processing_capture" | "processing_sale" | "requires_review" | "succeeded" | "cancelled" | "errored_authorization" | "errored_capture" | "errored_sale";
2181
2213
  statement_descriptor?: string;
@@ -2267,6 +2299,113 @@ interface components {
2267
2299
  cancel_url?: string;
2268
2300
  allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
2269
2301
  metadata?: components["schemas"]["Metadata"];
2302
+ /** Format: date-time */
2303
+ created_at?: string;
2304
+ /** Format: date-time */
2305
+ updated_at?: string;
2306
+ };
2307
+ CreatePaymentMethodInput: {
2308
+ /** Format: uuid */
2309
+ customer_id?: string;
2310
+ metadata?: components["schemas"]["Metadata"];
2311
+ billing_address_attributes?: components["schemas"]["BillingAddressInput"];
2312
+ card_profile_attributes?: {
2313
+ brand?: string;
2314
+ card_holder_name?: string;
2315
+ cvc?: string;
2316
+ encrypted_card_number?: string;
2317
+ exp_month?: number;
2318
+ exp_year?: number;
2319
+ first6?: string;
2320
+ last4?: string;
2321
+ pan_type?: string;
2322
+ token?: string;
2323
+ wallet_payload?: string;
2324
+ wallet_provider?: components["schemas"]["WalletProviderType"];
2325
+ };
2326
+ bank_account_profile_attributes?: {
2327
+ last4?: string;
2328
+ account_holder_name?: string;
2329
+ account_holder_type?: string;
2330
+ account_type?: string;
2331
+ bank_name?: string;
2332
+ currency?: string;
2333
+ encrypted_account_number?: string;
2334
+ token?: string;
2335
+ routing_number?: string;
2336
+ };
2337
+ };
2338
+ CreatePaymentMethodRequest: {
2339
+ payment_method: components["schemas"]["CreatePaymentMethodInput"];
2340
+ };
2341
+ UpdateMerchantInput: {
2342
+ active?: boolean;
2343
+ business_category?: components["schemas"]["MerchantBusinessCategoryType"];
2344
+ dba_name?: string;
2345
+ allowed_payment_methods?: components["schemas"]["AllowedPaymentMethodInput"][];
2346
+ };
2347
+ UpdateMerchantRequest: {
2348
+ merchant: components["schemas"]["UpdateMerchantInput"];
2349
+ };
2350
+ UpdateLegalEntityApplicationInput: {
2351
+ legal_name?: string;
2352
+ entity_type?: components["schemas"]["LegalEntityEntityType"];
2353
+ ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
2354
+ tax_id?: string;
2355
+ contact_email?: string;
2356
+ contact_phone?: string;
2357
+ business_address_line1?: string;
2358
+ business_address_line2?: string;
2359
+ business_city?: string;
2360
+ business_state?: string;
2361
+ business_postal_code?: string;
2362
+ business_country?: string;
2363
+ };
2364
+ UpdateLegalEntityApplicationRequest: {
2365
+ legal_entity_application: components["schemas"]["UpdateLegalEntityApplicationInput"];
2366
+ };
2367
+ UpdateLegalEntityApplicationPrincipalInput: {
2368
+ title?: string;
2369
+ first_name?: string;
2370
+ last_name?: string;
2371
+ email?: string;
2372
+ tax_id?: string;
2373
+ date_of_birth?: string;
2374
+ address_line1?: string;
2375
+ address_line2?: string;
2376
+ city?: string;
2377
+ state?: string;
2378
+ country?: string;
2379
+ postal_code?: string;
2380
+ stake_percent?: number;
2381
+ contact_phone?: string;
2382
+ };
2383
+ UpdateLegalEntityApplicationPrincipalRequest: {
2384
+ legal_entity_application_principal: components["schemas"]["UpdateLegalEntityApplicationPrincipalInput"];
2385
+ };
2386
+ UpdateMerchantApplicationInput: {
2387
+ annual_credit_card_sales_volume?: number;
2388
+ bank_account_number?: string;
2389
+ bank_routing_number?: string;
2390
+ business_category?: components["schemas"]["MerchantBusinessCategoryType"];
2391
+ business_description?: string;
2392
+ city?: string;
2393
+ country_code?: string;
2394
+ customer_service_number?: string;
2395
+ dba_name?: string;
2396
+ max_transaction_amount?: number;
2397
+ postal_code?: string;
2398
+ primary_contact_email_address?: string;
2399
+ primary_contact_first_name?: string;
2400
+ primary_contact_last_name?: string;
2401
+ primary_contact_phone?: string;
2402
+ state_province?: string;
2403
+ street_address1?: string;
2404
+ street_address2?: string;
2405
+ website_url?: string;
2406
+ };
2407
+ UpdateMerchantApplicationRequest: {
2408
+ merchant_application: components["schemas"]["UpdateMerchantApplicationInput"];
2270
2409
  };
2271
2410
  PaymentMethod: {
2272
2411
  /** Format: uuid */
@@ -2336,8 +2475,16 @@ interface components {
2336
2475
  ProcessorTransaction: {
2337
2476
  /** Format: uuid */
2338
2477
  id?: string;
2339
- /** Format: uuid */
2340
- account_id?: string;
2478
+ /**
2479
+ * Format: uuid
2480
+ * @description Account the transaction was processed under. Null for setup intent verifications, which are scoped to the organization.
2481
+ */
2482
+ account_id?: string | null;
2483
+ /**
2484
+ * Format: uuid
2485
+ * @description Organization the transaction belongs to.
2486
+ */
2487
+ organization_id?: string | null;
2341
2488
  approved?: boolean;
2342
2489
  avs_check?: string;
2343
2490
  avs_check_message?: string;
@@ -2351,8 +2498,6 @@ interface components {
2351
2498
  payment_transaction_id?: string;
2352
2499
  /** @enum {string} */
2353
2500
  payment_transaction_type?: "charge" | "refund" | "void";
2354
- /** Format: uuid */
2355
- processor_transaction_id?: string;
2356
2501
  processor_reference?: string;
2357
2502
  network_transaction_id?: string;
2358
2503
  transaction_link_id?: string;
@@ -2389,7 +2534,6 @@ interface components {
2389
2534
  name?: string;
2390
2535
  description?: string;
2391
2536
  active?: boolean;
2392
- metadata?: components["schemas"]["Metadata"];
2393
2537
  /** Format: date-time */
2394
2538
  created_at?: string;
2395
2539
  /** Format: date-time */
@@ -2474,6 +2618,10 @@ interface components {
2474
2618
  /** Format: date-time */
2475
2619
  last_used_at?: string | null;
2476
2620
  origins: components["schemas"]["Origin"][];
2621
+ /** Format: date-time */
2622
+ created_at?: string;
2623
+ /** Format: date-time */
2624
+ updated_at?: string;
2477
2625
  };
2478
2626
  CreateSetupIntentInput: {
2479
2627
  /**
@@ -2500,11 +2648,6 @@ interface components {
2500
2648
  SetupIntent: {
2501
2649
  /** Format: uuid */
2502
2650
  id?: string;
2503
- /**
2504
- * Format: uuid
2505
- * @description Legacy account association. Null for organization-scoped setup intents.
2506
- */
2507
- account_id?: string | null;
2508
2651
  /**
2509
2652
  * Format: uuid
2510
2653
  * @description Organization that owns the setup intent.
@@ -2554,9 +2697,12 @@ interface components {
2554
2697
  Subscription: {
2555
2698
  /** Format: uuid */
2556
2699
  id?: string;
2557
- /** Format: uuid */
2558
- account_id?: string;
2559
2700
  amount?: number;
2701
+ /** Format: date-time */
2702
+ cancel_at?: string | null;
2703
+ cancel_at_period_end?: boolean;
2704
+ /** Format: date-time */
2705
+ cancelled_at?: string | null;
2560
2706
  currency?: string;
2561
2707
  cycles?: number;
2562
2708
  /** Format: uuid */
@@ -2567,6 +2713,9 @@ interface components {
2567
2713
  payment_method_id?: string;
2568
2714
  interval?: components["schemas"]["SubscriptionIntervalType"];
2569
2715
  interval_count?: number;
2716
+ metadata?: components["schemas"]["Metadata"];
2717
+ /** Format: date-time */
2718
+ start_at?: string | null;
2570
2719
  /** @enum {string} */
2571
2720
  state?: "active" | "paused" | "past_due" | "cancelled";
2572
2721
  cycles_completed?: number;
@@ -2577,8 +2726,6 @@ interface components {
2577
2726
  /** Format: date-time */
2578
2727
  current_billing_period_end?: string;
2579
2728
  /** Format: date-time */
2580
- trial_ends_at?: string | null;
2581
- /** Format: date-time */
2582
2729
  created_at?: string;
2583
2730
  /** Format: date-time */
2584
2731
  updated_at?: string;
@@ -2737,6 +2884,11 @@ interface components {
2737
2884
  WebhookRequest: {
2738
2885
  id?: string;
2739
2886
  /** Format: uuid */
2887
+ eventable_id?: string;
2888
+ eventable_type?: string;
2889
+ /** Format: uuid */
2890
+ organization_id?: string;
2891
+ /** Format: uuid */
2740
2892
  webhook_endpoint_id?: string;
2741
2893
  /** Format: date-time */
2742
2894
  expires_at?: string;
@@ -2750,6 +2902,8 @@ interface components {
2750
2902
  responses: never;
2751
2903
  parameters: {
2752
2904
  XIdempotencyHeader: string;
2905
+ /** @description Render template JWT required to create a payment or setup intent. */
2906
+ XRenderTokenHeader: string;
2753
2907
  /** @description The ID of the customer to filter by */
2754
2908
  CustomerIdQuery: string;
2755
2909
  /** @description Exact email match (case-insensitive). For substring search, use `q`. */
@@ -2786,6 +2940,22 @@ interface components {
2786
2940
  OriginQQuery: string;
2787
2941
  /** @description The ID of the webhook request to filter by */
2788
2942
  WebhookRequestIdQuery: string;
2943
+ /** @description The customer ID to filter by */
2944
+ OptionalCustomerIdQuery: string;
2945
+ DbaNameQuery: string;
2946
+ LegalEntityIdQuery: string;
2947
+ LegalNameQuery: string;
2948
+ /** @description Filter payment intents by id */
2949
+ PaymentIntentRecordIdQuery: string;
2950
+ ProcessorReferenceQuery: string;
2951
+ OriginalTransactionIdQuery: string;
2952
+ SubscriptionStateQuery: string;
2953
+ ExternalReferenceQuery: string;
2954
+ PaymentSnapshotStateQuery: string;
2955
+ WebhookEndpointIdQuery: string;
2956
+ WebhookEventQuery: string;
2957
+ EventableIdQuery: string;
2958
+ WebhookSuccessQuery: boolean;
2789
2959
  };
2790
2960
  requestBodies: never;
2791
2961
  headers: never;
@@ -2879,6 +3049,8 @@ interface operations {
2879
3049
  per_page?: components["parameters"]["PerPageQuery"];
2880
3050
  /** @description The ID of the payment intent to filter by */
2881
3051
  payment_intent_id?: components["parameters"]["PaymentIntentIdQuery"];
3052
+ /** @description The customer ID to filter by */
3053
+ customer_id?: components["parameters"]["OptionalCustomerIdQuery"];
2882
3054
  };
2883
3055
  header?: never;
2884
3056
  path?: never;
@@ -3543,6 +3715,41 @@ interface operations {
3543
3715
  };
3544
3716
  };
3545
3717
  };
3718
+ UpdateLegalEntityApplication: {
3719
+ parameters: {
3720
+ query?: never;
3721
+ header?: never;
3722
+ path: {
3723
+ id: string;
3724
+ };
3725
+ cookie?: never;
3726
+ };
3727
+ requestBody: {
3728
+ content: {
3729
+ "application/json": components["schemas"]["UpdateLegalEntityApplicationRequest"];
3730
+ };
3731
+ };
3732
+ responses: {
3733
+ /** @description Legal entity application updated successfully */
3734
+ 200: {
3735
+ headers: {
3736
+ [name: string]: unknown;
3737
+ };
3738
+ content: {
3739
+ "application/json": components["schemas"]["LegalEntityApplication"];
3740
+ };
3741
+ };
3742
+ /** @description Unprocessable entity */
3743
+ 422: {
3744
+ headers: {
3745
+ [name: string]: unknown;
3746
+ };
3747
+ content: {
3748
+ "application/json": components["schemas"]["Error"];
3749
+ };
3750
+ };
3751
+ };
3752
+ };
3546
3753
  SubmitLegalEntityApplication: {
3547
3754
  parameters: {
3548
3755
  query?: never;
@@ -3667,6 +3874,41 @@ interface operations {
3667
3874
  };
3668
3875
  };
3669
3876
  };
3877
+ UpdateLegalEntityApplicationPrincipal: {
3878
+ parameters: {
3879
+ query?: never;
3880
+ header?: never;
3881
+ path: {
3882
+ id: string;
3883
+ };
3884
+ cookie?: never;
3885
+ };
3886
+ requestBody: {
3887
+ content: {
3888
+ "application/json": components["schemas"]["UpdateLegalEntityApplicationPrincipalRequest"];
3889
+ };
3890
+ };
3891
+ responses: {
3892
+ /** @description Legal entity application principal updated successfully */
3893
+ 200: {
3894
+ headers: {
3895
+ [name: string]: unknown;
3896
+ };
3897
+ content: {
3898
+ "application/json": components["schemas"]["LegalEntityApplicationPrincipal"];
3899
+ };
3900
+ };
3901
+ /** @description Unprocessable entity */
3902
+ 422: {
3903
+ headers: {
3904
+ [name: string]: unknown;
3905
+ };
3906
+ content: {
3907
+ "application/json": components["schemas"]["Error"];
3908
+ };
3909
+ };
3910
+ };
3911
+ };
3670
3912
  ListLegalEntityPrincipals: {
3671
3913
  parameters: {
3672
3914
  query: {
@@ -3783,6 +4025,42 @@ interface operations {
3783
4025
  };
3784
4026
  };
3785
4027
  };
4028
+ UpdateMerchantApplication: {
4029
+ parameters: {
4030
+ query?: never;
4031
+ header?: never;
4032
+ path: {
4033
+ /** @description The ID of the merchant application to update */
4034
+ id: string;
4035
+ };
4036
+ cookie?: never;
4037
+ };
4038
+ requestBody: {
4039
+ content: {
4040
+ "application/json": components["schemas"]["UpdateMerchantApplicationRequest"];
4041
+ };
4042
+ };
4043
+ responses: {
4044
+ /** @description Merchant application updated successfully */
4045
+ 200: {
4046
+ headers: {
4047
+ [name: string]: unknown;
4048
+ };
4049
+ content: {
4050
+ "application/json": components["schemas"]["MerchantApplication"];
4051
+ };
4052
+ };
4053
+ /** @description Unprocessable entity */
4054
+ 422: {
4055
+ headers: {
4056
+ [name: string]: unknown;
4057
+ };
4058
+ content: {
4059
+ "application/json": components["schemas"]["Error"];
4060
+ };
4061
+ };
4062
+ };
4063
+ };
3786
4064
  ListMerchants: {
3787
4065
  parameters: {
3788
4066
  query?: {
@@ -3790,6 +4068,9 @@ interface operations {
3790
4068
  page?: components["parameters"]["PageQuery"];
3791
4069
  /** @description Number of results per page. */
3792
4070
  per_page?: components["parameters"]["PerPageQuery"];
4071
+ dba_name?: components["parameters"]["DbaNameQuery"];
4072
+ legal_entity_id?: components["parameters"]["LegalEntityIdQuery"];
4073
+ legal_name?: components["parameters"]["LegalNameQuery"];
3793
4074
  };
3794
4075
  header?: never;
3795
4076
  path?: never;
@@ -3834,6 +4115,42 @@ interface operations {
3834
4115
  };
3835
4116
  };
3836
4117
  };
4118
+ UpdateMerchant: {
4119
+ parameters: {
4120
+ query?: never;
4121
+ header?: never;
4122
+ path: {
4123
+ /** @description The ID of the merchant to update */
4124
+ id: string;
4125
+ };
4126
+ cookie?: never;
4127
+ };
4128
+ requestBody: {
4129
+ content: {
4130
+ "application/json": components["schemas"]["UpdateMerchantRequest"];
4131
+ };
4132
+ };
4133
+ responses: {
4134
+ /** @description Merchant updated successfully */
4135
+ 200: {
4136
+ headers: {
4137
+ [name: string]: unknown;
4138
+ };
4139
+ content: {
4140
+ "application/json": components["schemas"]["Merchant"];
4141
+ };
4142
+ };
4143
+ /** @description Unprocessable entity */
4144
+ 422: {
4145
+ headers: {
4146
+ [name: string]: unknown;
4147
+ };
4148
+ content: {
4149
+ "application/json": components["schemas"]["Error"];
4150
+ };
4151
+ };
4152
+ };
4153
+ };
3837
4154
  GetOrganization: {
3838
4155
  parameters: {
3839
4156
  query?: never;
@@ -4073,6 +4390,9 @@ interface operations {
4073
4390
  page?: components["parameters"]["PageQuery"];
4074
4391
  /** @description Number of results per page. */
4075
4392
  per_page?: components["parameters"]["PerPageQuery"];
4393
+ /** @description Filter payment intents by id */
4394
+ id?: components["parameters"]["PaymentIntentRecordIdQuery"];
4395
+ processor_reference?: components["parameters"]["ProcessorReferenceQuery"];
4076
4396
  };
4077
4397
  header?: never;
4078
4398
  path?: never;
@@ -4097,7 +4417,10 @@ interface operations {
4097
4417
  CreatePaymentIntent: {
4098
4418
  parameters: {
4099
4419
  query?: never;
4100
- header?: never;
4420
+ header: {
4421
+ /** @description Render template JWT required to create a payment or setup intent. */
4422
+ "X-Render-Token": components["parameters"]["XRenderTokenHeader"];
4423
+ };
4101
4424
  path?: never;
4102
4425
  cookie?: never;
4103
4426
  };
@@ -4116,7 +4439,7 @@ interface operations {
4116
4439
  "application/json": components["schemas"]["EmbedToken"];
4117
4440
  };
4118
4441
  };
4119
- /** @description Unprocessable entity */
4442
+ /** @description Unprocessable entity, including a missing X-Render-Token header. */
4120
4443
  422: {
4121
4444
  headers: {
4122
4445
  [name: string]: unknown;
@@ -4384,6 +4707,39 @@ interface operations {
4384
4707
  };
4385
4708
  };
4386
4709
  };
4710
+ CreatePaymentMethod: {
4711
+ parameters: {
4712
+ query?: never;
4713
+ header?: never;
4714
+ path?: never;
4715
+ cookie?: never;
4716
+ };
4717
+ requestBody: {
4718
+ content: {
4719
+ "application/json": components["schemas"]["CreatePaymentMethodRequest"];
4720
+ };
4721
+ };
4722
+ responses: {
4723
+ /** @description Payment method created successfully */
4724
+ 201: {
4725
+ headers: {
4726
+ [name: string]: unknown;
4727
+ };
4728
+ content: {
4729
+ "application/json": components["schemas"]["PaymentMethod"];
4730
+ };
4731
+ };
4732
+ /** @description Unprocessable entity */
4733
+ 422: {
4734
+ headers: {
4735
+ [name: string]: unknown;
4736
+ };
4737
+ content: {
4738
+ "application/json": components["schemas"]["Error"];
4739
+ };
4740
+ };
4741
+ };
4742
+ };
4387
4743
  GetPaymentMethod: {
4388
4744
  parameters: {
4389
4745
  query?: never;
@@ -4554,6 +4910,7 @@ interface operations {
4554
4910
  payment_method_id?: components["parameters"]["PaymentMethodIdQuery"];
4555
4911
  /** @description The ID of the payment transaction to filter by */
4556
4912
  payment_transaction_id?: components["parameters"]["PaymentTransactionIdQuery"];
4913
+ original_transaction_id?: components["parameters"]["OriginalTransactionIdQuery"];
4557
4914
  };
4558
4915
  header?: never;
4559
4916
  path?: never;
@@ -5043,7 +5400,10 @@ interface operations {
5043
5400
  CreateSetupIntent: {
5044
5401
  parameters: {
5045
5402
  query?: never;
5046
- header?: never;
5403
+ header: {
5404
+ /** @description Render template JWT required to create a payment or setup intent. */
5405
+ "X-Render-Token": components["parameters"]["XRenderTokenHeader"];
5406
+ };
5047
5407
  path?: never;
5048
5408
  cookie?: never;
5049
5409
  };
@@ -5062,7 +5422,7 @@ interface operations {
5062
5422
  "application/json": components["schemas"]["EmbedToken"];
5063
5423
  };
5064
5424
  };
5065
- /** @description Unprocessable entity */
5425
+ /** @description Unprocessable entity, including a missing X-Render-Token header. */
5066
5426
  422: {
5067
5427
  headers: {
5068
5428
  [name: string]: unknown;
@@ -5080,6 +5440,8 @@ interface operations {
5080
5440
  page?: components["parameters"]["PageQuery"];
5081
5441
  /** @description Number of results per page. */
5082
5442
  per_page?: components["parameters"]["PerPageQuery"];
5443
+ /** @description Exact name match (case-insensitive). For substring search, use `q`. */
5444
+ name?: components["parameters"]["NameQuery"];
5083
5445
  };
5084
5446
  header?: never;
5085
5447
  path?: never;
@@ -5164,6 +5526,7 @@ interface operations {
5164
5526
  page?: components["parameters"]["PageQuery"];
5165
5527
  /** @description Number of results per page. */
5166
5528
  per_page?: components["parameters"]["PerPageQuery"];
5529
+ state?: components["parameters"]["SubscriptionStateQuery"];
5167
5530
  };
5168
5531
  header?: never;
5169
5532
  path?: never;
@@ -5619,6 +5982,10 @@ interface operations {
5619
5982
  page?: components["parameters"]["PageQuery"];
5620
5983
  /** @description Number of results per page. */
5621
5984
  per_page?: components["parameters"]["PerPageQuery"];
5985
+ webhook_endpoint_id?: components["parameters"]["WebhookEndpointIdQuery"];
5986
+ success?: components["parameters"]["WebhookSuccessQuery"];
5987
+ event?: components["parameters"]["WebhookEventQuery"];
5988
+ eventable_id?: components["parameters"]["EventableIdQuery"];
5622
5989
  };
5623
5990
  header?: never;
5624
5991
  path?: never;