@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/openapi/schema.ts CHANGED
@@ -301,7 +301,8 @@ export interface paths {
301
301
  };
302
302
  /** Retrieve a legal entity application by ID */
303
303
  get: operations["GetLegalEntityApplication"];
304
- put?: never;
304
+ /** Update a pending legal entity application */
305
+ put: operations["UpdateLegalEntityApplication"];
305
306
  post?: never;
306
307
  delete?: never;
307
308
  options?: never;
@@ -369,7 +370,8 @@ export interface paths {
369
370
  };
370
371
  /** Retrieve a legal entity application principal by ID */
371
372
  get: operations["GetLegalEntityApplicationPrincipal"];
372
- put?: never;
373
+ /** Update a legal entity application principal */
374
+ put: operations["UpdateLegalEntityApplicationPrincipal"];
373
375
  post?: never;
374
376
  delete?: never;
375
377
  options?: never;
@@ -437,7 +439,8 @@ export interface paths {
437
439
  };
438
440
  /** Retrieve a merchant application by ID */
439
441
  get: operations["GetMerchantApplication"];
440
- put?: never;
442
+ /** Update a pending merchant application */
443
+ put: operations["UpdateMerchantApplication"];
441
444
  post?: never;
442
445
  delete?: never;
443
446
  options?: never;
@@ -476,7 +479,8 @@ export interface paths {
476
479
  delete?: never;
477
480
  options?: never;
478
481
  head?: never;
479
- patch?: never;
482
+ /** Update a merchant by ID */
483
+ patch: operations["UpdateMerchant"];
480
484
  trace?: never;
481
485
  };
482
486
  "/organization": {
@@ -690,7 +694,8 @@ export interface paths {
690
694
  */
691
695
  get: operations["ListPaymentMethods"];
692
696
  put?: never;
693
- post?: never;
697
+ /** Create a payment method */
698
+ post: operations["CreatePaymentMethod"];
694
699
  delete?: never;
695
700
  options?: never;
696
701
  head?: never;
@@ -862,9 +867,9 @@ export interface paths {
862
867
  cookie?: never;
863
868
  };
864
869
  get?: never;
870
+ put?: never;
865
871
  /** Cancel a refund */
866
- put: operations["CancelRefund"];
867
- post?: never;
872
+ post: operations["CancelRefund"];
868
873
  delete?: never;
869
874
  options?: never;
870
875
  head?: never;
@@ -1434,7 +1439,6 @@ export interface components {
1434
1439
  /** Format: uuid */
1435
1440
  id?: string;
1436
1441
  name?: string;
1437
- active?: boolean;
1438
1442
  /** Format: uuid */
1439
1443
  merchant_id?: string;
1440
1444
  /** Format: uuid */
@@ -1505,8 +1509,6 @@ export interface components {
1505
1509
  Customer: {
1506
1510
  /** Format: uuid */
1507
1511
  id?: string;
1508
- /** Format: uuid */
1509
- account_id?: string;
1510
1512
  email?: string;
1511
1513
  metadata?: components["schemas"]["Metadata"];
1512
1514
  name?: string;
@@ -1588,6 +1590,10 @@ export interface components {
1588
1590
  purpose: string;
1589
1591
  state: string;
1590
1592
  download: components["schemas"]["FileDownloadConfiguration"];
1593
+ /** Format: date-time */
1594
+ created_at?: string;
1595
+ /** Format: date-time */
1596
+ updated_at?: string;
1591
1597
  };
1592
1598
  FileDownloadConfiguration: {
1593
1599
  /** Format: uri */
@@ -1604,6 +1610,10 @@ export interface components {
1604
1610
  purpose: string;
1605
1611
  state: string;
1606
1612
  upload: components["schemas"]["FileUploadConfiguration"];
1613
+ /** Format: date-time */
1614
+ created_at?: string;
1615
+ /** Format: date-time */
1616
+ updated_at?: string;
1607
1617
  };
1608
1618
  FileUploadConfiguration: {
1609
1619
  /** Format: uri */
@@ -1637,6 +1647,8 @@ export interface components {
1637
1647
  byte_size?: number;
1638
1648
  /** Format: date-time */
1639
1649
  created_at?: string;
1650
+ /** Format: date-time */
1651
+ updated_at?: string;
1640
1652
  };
1641
1653
  CreateLegalEntityApplicationPrincipalInput: {
1642
1654
  /** Format: uuid */
@@ -1678,6 +1690,10 @@ export interface components {
1678
1690
  contact_phone?: string;
1679
1691
  tax_id_last4?: string;
1680
1692
  title?: string;
1693
+ /** Format: date-time */
1694
+ created_at?: string;
1695
+ /** Format: date-time */
1696
+ updated_at?: string;
1681
1697
  };
1682
1698
  LegalEntityPrincipal: {
1683
1699
  /** Format: uuid */
@@ -1697,6 +1713,10 @@ export interface components {
1697
1713
  postal_code?: string;
1698
1714
  contact_phone?: string;
1699
1715
  tax_id_last4?: string;
1716
+ /** Format: date-time */
1717
+ created_at?: string;
1718
+ /** Format: date-time */
1719
+ updated_at?: string;
1700
1720
  };
1701
1721
  /** @enum {string} */
1702
1722
  LegalEntityEntityType: "individual_sole_proprietorship" | "corporation" | "limited_liability_company" | "partnership" | "limited_partnership" | "general_partnership" | "tax_exempt_organization" | "government_agency";
@@ -1918,6 +1938,10 @@ export interface components {
1918
1938
  satisfied_at?: string | null;
1919
1939
  /** Format: date-time */
1920
1940
  waived_at?: string | null;
1941
+ /** Format: date-time */
1942
+ created_at?: string;
1943
+ /** Format: date-time */
1944
+ updated_at?: string;
1921
1945
  };
1922
1946
  LegalEntity: {
1923
1947
  /** Format: uuid */
@@ -1940,6 +1964,8 @@ export interface components {
1940
1964
  tax_id_last4?: string;
1941
1965
  /** Format: date-time */
1942
1966
  created_at?: string;
1967
+ /** Format: date-time */
1968
+ updated_at?: string;
1943
1969
  };
1944
1970
  LegalEntityApplication: {
1945
1971
  /** Format: uuid */
@@ -2003,7 +2029,6 @@ export interface components {
2003
2029
  /** Format: uuid */
2004
2030
  id?: string;
2005
2031
  annual_credit_card_sales_volume?: number;
2006
- allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
2007
2032
  business_category?: components["schemas"]["MerchantBusinessCategoryType"];
2008
2033
  business_description?: string;
2009
2034
  city?: string;
@@ -2017,8 +2042,11 @@ export interface components {
2017
2042
  has_accepted_credit_cards?: boolean;
2018
2043
  /** Format: uuid */
2019
2044
  legal_entity_application_id?: string;
2020
- /** Format: uuid */
2021
- legal_entity_id?: string;
2045
+ max_daily_credits_amount?: number;
2046
+ max_daily_debits_amount?: number;
2047
+ max_monthly_credits_amount?: number;
2048
+ max_monthly_debits_amount?: number;
2049
+ max_single_debit_amount?: number;
2022
2050
  max_transaction_amount?: string;
2023
2051
  mcc?: string;
2024
2052
  postal_code?: string;
@@ -2028,10 +2056,15 @@ export interface components {
2028
2056
  primary_contact_phone?: string;
2029
2057
  purchase_currency?: string;
2030
2058
  settlement_currency?: string;
2059
+ settlement_days?: number;
2031
2060
  state_province?: string;
2032
2061
  street_address1?: string;
2033
2062
  street_address2?: string;
2034
2063
  website_url?: string;
2064
+ /** Format: date-time */
2065
+ created_at?: string;
2066
+ /** Format: date-time */
2067
+ updated_at?: string;
2035
2068
  };
2036
2069
  Merchant: {
2037
2070
  /** Format: uuid */
@@ -2172,7 +2205,6 @@ export interface components {
2172
2205
  recurring_payment?: components["schemas"]["RecurringPayment"];
2173
2206
  /** Format: uuid */
2174
2207
  payment_method_id?: string;
2175
- source?: components["schemas"]["TransactionSourceType"];
2176
2208
  /** @enum {string} */
2177
2209
  state?: "requires_payment_method" | "requires_confirmation" | "requires_capture" | "processing_authorization" | "processing_capture" | "processing_sale" | "requires_review" | "succeeded" | "cancelled" | "errored_authorization" | "errored_capture" | "errored_sale";
2178
2210
  statement_descriptor?: string;
@@ -2264,6 +2296,113 @@ export interface components {
2264
2296
  cancel_url?: string;
2265
2297
  allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
2266
2298
  metadata?: components["schemas"]["Metadata"];
2299
+ /** Format: date-time */
2300
+ created_at?: string;
2301
+ /** Format: date-time */
2302
+ updated_at?: string;
2303
+ };
2304
+ CreatePaymentMethodInput: {
2305
+ /** Format: uuid */
2306
+ customer_id?: string;
2307
+ metadata?: components["schemas"]["Metadata"];
2308
+ billing_address_attributes?: components["schemas"]["BillingAddressInput"];
2309
+ card_profile_attributes?: {
2310
+ brand?: string;
2311
+ card_holder_name?: string;
2312
+ cvc?: string;
2313
+ encrypted_card_number?: string;
2314
+ exp_month?: number;
2315
+ exp_year?: number;
2316
+ first6?: string;
2317
+ last4?: string;
2318
+ pan_type?: string;
2319
+ token?: string;
2320
+ wallet_payload?: string;
2321
+ wallet_provider?: components["schemas"]["WalletProviderType"];
2322
+ };
2323
+ bank_account_profile_attributes?: {
2324
+ last4?: string;
2325
+ account_holder_name?: string;
2326
+ account_holder_type?: string;
2327
+ account_type?: string;
2328
+ bank_name?: string;
2329
+ currency?: string;
2330
+ encrypted_account_number?: string;
2331
+ token?: string;
2332
+ routing_number?: string;
2333
+ };
2334
+ };
2335
+ CreatePaymentMethodRequest: {
2336
+ payment_method: components["schemas"]["CreatePaymentMethodInput"];
2337
+ };
2338
+ UpdateMerchantInput: {
2339
+ active?: boolean;
2340
+ business_category?: components["schemas"]["MerchantBusinessCategoryType"];
2341
+ dba_name?: string;
2342
+ allowed_payment_methods?: components["schemas"]["AllowedPaymentMethodInput"][];
2343
+ };
2344
+ UpdateMerchantRequest: {
2345
+ merchant: components["schemas"]["UpdateMerchantInput"];
2346
+ };
2347
+ UpdateLegalEntityApplicationInput: {
2348
+ legal_name?: string;
2349
+ entity_type?: components["schemas"]["LegalEntityEntityType"];
2350
+ ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
2351
+ tax_id?: string;
2352
+ contact_email?: string;
2353
+ contact_phone?: string;
2354
+ business_address_line1?: string;
2355
+ business_address_line2?: string;
2356
+ business_city?: string;
2357
+ business_state?: string;
2358
+ business_postal_code?: string;
2359
+ business_country?: string;
2360
+ };
2361
+ UpdateLegalEntityApplicationRequest: {
2362
+ legal_entity_application: components["schemas"]["UpdateLegalEntityApplicationInput"];
2363
+ };
2364
+ UpdateLegalEntityApplicationPrincipalInput: {
2365
+ title?: string;
2366
+ first_name?: string;
2367
+ last_name?: string;
2368
+ email?: string;
2369
+ tax_id?: string;
2370
+ date_of_birth?: string;
2371
+ address_line1?: string;
2372
+ address_line2?: string;
2373
+ city?: string;
2374
+ state?: string;
2375
+ country?: string;
2376
+ postal_code?: string;
2377
+ stake_percent?: number;
2378
+ contact_phone?: string;
2379
+ };
2380
+ UpdateLegalEntityApplicationPrincipalRequest: {
2381
+ legal_entity_application_principal: components["schemas"]["UpdateLegalEntityApplicationPrincipalInput"];
2382
+ };
2383
+ UpdateMerchantApplicationInput: {
2384
+ annual_credit_card_sales_volume?: number;
2385
+ bank_account_number?: string;
2386
+ bank_routing_number?: string;
2387
+ business_category?: components["schemas"]["MerchantBusinessCategoryType"];
2388
+ business_description?: string;
2389
+ city?: string;
2390
+ country_code?: string;
2391
+ customer_service_number?: string;
2392
+ dba_name?: string;
2393
+ max_transaction_amount?: number;
2394
+ postal_code?: string;
2395
+ primary_contact_email_address?: string;
2396
+ primary_contact_first_name?: string;
2397
+ primary_contact_last_name?: string;
2398
+ primary_contact_phone?: string;
2399
+ state_province?: string;
2400
+ street_address1?: string;
2401
+ street_address2?: string;
2402
+ website_url?: string;
2403
+ };
2404
+ UpdateMerchantApplicationRequest: {
2405
+ merchant_application: components["schemas"]["UpdateMerchantApplicationInput"];
2267
2406
  };
2268
2407
  PaymentMethod: {
2269
2408
  /** Format: uuid */
@@ -2333,8 +2472,16 @@ export interface components {
2333
2472
  ProcessorTransaction: {
2334
2473
  /** Format: uuid */
2335
2474
  id?: string;
2336
- /** Format: uuid */
2337
- account_id?: string;
2475
+ /**
2476
+ * Format: uuid
2477
+ * @description Account the transaction was processed under. Null for setup intent verifications, which are scoped to the organization.
2478
+ */
2479
+ account_id?: string | null;
2480
+ /**
2481
+ * Format: uuid
2482
+ * @description Organization the transaction belongs to.
2483
+ */
2484
+ organization_id?: string | null;
2338
2485
  approved?: boolean;
2339
2486
  avs_check?: string;
2340
2487
  avs_check_message?: string;
@@ -2348,8 +2495,6 @@ export interface components {
2348
2495
  payment_transaction_id?: string;
2349
2496
  /** @enum {string} */
2350
2497
  payment_transaction_type?: "charge" | "refund" | "void";
2351
- /** Format: uuid */
2352
- processor_transaction_id?: string;
2353
2498
  processor_reference?: string;
2354
2499
  network_transaction_id?: string;
2355
2500
  transaction_link_id?: string;
@@ -2386,7 +2531,6 @@ export interface components {
2386
2531
  name?: string;
2387
2532
  description?: string;
2388
2533
  active?: boolean;
2389
- metadata?: components["schemas"]["Metadata"];
2390
2534
  /** Format: date-time */
2391
2535
  created_at?: string;
2392
2536
  /** Format: date-time */
@@ -2471,6 +2615,10 @@ export interface components {
2471
2615
  /** Format: date-time */
2472
2616
  last_used_at?: string | null;
2473
2617
  origins: components["schemas"]["Origin"][];
2618
+ /** Format: date-time */
2619
+ created_at?: string;
2620
+ /** Format: date-time */
2621
+ updated_at?: string;
2474
2622
  };
2475
2623
  CreateSetupIntentInput: {
2476
2624
  /**
@@ -2497,11 +2645,6 @@ export interface components {
2497
2645
  SetupIntent: {
2498
2646
  /** Format: uuid */
2499
2647
  id?: string;
2500
- /**
2501
- * Format: uuid
2502
- * @description Legacy account association. Null for organization-scoped setup intents.
2503
- */
2504
- account_id?: string | null;
2505
2648
  /**
2506
2649
  * Format: uuid
2507
2650
  * @description Organization that owns the setup intent.
@@ -2551,9 +2694,12 @@ export interface components {
2551
2694
  Subscription: {
2552
2695
  /** Format: uuid */
2553
2696
  id?: string;
2554
- /** Format: uuid */
2555
- account_id?: string;
2556
2697
  amount?: number;
2698
+ /** Format: date-time */
2699
+ cancel_at?: string | null;
2700
+ cancel_at_period_end?: boolean;
2701
+ /** Format: date-time */
2702
+ cancelled_at?: string | null;
2557
2703
  currency?: string;
2558
2704
  cycles?: number;
2559
2705
  /** Format: uuid */
@@ -2564,6 +2710,9 @@ export interface components {
2564
2710
  payment_method_id?: string;
2565
2711
  interval?: components["schemas"]["SubscriptionIntervalType"];
2566
2712
  interval_count?: number;
2713
+ metadata?: components["schemas"]["Metadata"];
2714
+ /** Format: date-time */
2715
+ start_at?: string | null;
2567
2716
  /** @enum {string} */
2568
2717
  state?: "active" | "paused" | "past_due" | "cancelled";
2569
2718
  cycles_completed?: number;
@@ -2574,8 +2723,6 @@ export interface components {
2574
2723
  /** Format: date-time */
2575
2724
  current_billing_period_end?: string;
2576
2725
  /** Format: date-time */
2577
- trial_ends_at?: string | null;
2578
- /** Format: date-time */
2579
2726
  created_at?: string;
2580
2727
  /** Format: date-time */
2581
2728
  updated_at?: string;
@@ -2734,6 +2881,11 @@ export interface components {
2734
2881
  WebhookRequest: {
2735
2882
  id?: string;
2736
2883
  /** Format: uuid */
2884
+ eventable_id?: string;
2885
+ eventable_type?: string;
2886
+ /** Format: uuid */
2887
+ organization_id?: string;
2888
+ /** Format: uuid */
2737
2889
  webhook_endpoint_id?: string;
2738
2890
  /** Format: date-time */
2739
2891
  expires_at?: string;
@@ -2747,6 +2899,8 @@ export interface components {
2747
2899
  responses: never;
2748
2900
  parameters: {
2749
2901
  XIdempotencyHeader: string;
2902
+ /** @description Render template JWT required to create a payment or setup intent. */
2903
+ XRenderTokenHeader: string;
2750
2904
  /** @description The ID of the customer to filter by */
2751
2905
  CustomerIdQuery: string;
2752
2906
  /** @description Exact email match (case-insensitive). For substring search, use `q`. */
@@ -2783,6 +2937,22 @@ export interface components {
2783
2937
  OriginQQuery: string;
2784
2938
  /** @description The ID of the webhook request to filter by */
2785
2939
  WebhookRequestIdQuery: string;
2940
+ /** @description The customer ID to filter by */
2941
+ OptionalCustomerIdQuery: string;
2942
+ DbaNameQuery: string;
2943
+ LegalEntityIdQuery: string;
2944
+ LegalNameQuery: string;
2945
+ /** @description Filter payment intents by id */
2946
+ PaymentIntentRecordIdQuery: string;
2947
+ ProcessorReferenceQuery: string;
2948
+ OriginalTransactionIdQuery: string;
2949
+ SubscriptionStateQuery: string;
2950
+ ExternalReferenceQuery: string;
2951
+ PaymentSnapshotStateQuery: string;
2952
+ WebhookEndpointIdQuery: string;
2953
+ WebhookEventQuery: string;
2954
+ EventableIdQuery: string;
2955
+ WebhookSuccessQuery: boolean;
2786
2956
  };
2787
2957
  requestBodies: never;
2788
2958
  headers: never;
@@ -2876,6 +3046,8 @@ export interface operations {
2876
3046
  per_page?: components["parameters"]["PerPageQuery"];
2877
3047
  /** @description The ID of the payment intent to filter by */
2878
3048
  payment_intent_id?: components["parameters"]["PaymentIntentIdQuery"];
3049
+ /** @description The customer ID to filter by */
3050
+ customer_id?: components["parameters"]["OptionalCustomerIdQuery"];
2879
3051
  };
2880
3052
  header?: never;
2881
3053
  path?: never;
@@ -3540,6 +3712,41 @@ export interface operations {
3540
3712
  };
3541
3713
  };
3542
3714
  };
3715
+ UpdateLegalEntityApplication: {
3716
+ parameters: {
3717
+ query?: never;
3718
+ header?: never;
3719
+ path: {
3720
+ id: string;
3721
+ };
3722
+ cookie?: never;
3723
+ };
3724
+ requestBody: {
3725
+ content: {
3726
+ "application/json": components["schemas"]["UpdateLegalEntityApplicationRequest"];
3727
+ };
3728
+ };
3729
+ responses: {
3730
+ /** @description Legal entity application updated successfully */
3731
+ 200: {
3732
+ headers: {
3733
+ [name: string]: unknown;
3734
+ };
3735
+ content: {
3736
+ "application/json": components["schemas"]["LegalEntityApplication"];
3737
+ };
3738
+ };
3739
+ /** @description Unprocessable entity */
3740
+ 422: {
3741
+ headers: {
3742
+ [name: string]: unknown;
3743
+ };
3744
+ content: {
3745
+ "application/json": components["schemas"]["Error"];
3746
+ };
3747
+ };
3748
+ };
3749
+ };
3543
3750
  SubmitLegalEntityApplication: {
3544
3751
  parameters: {
3545
3752
  query?: never;
@@ -3664,6 +3871,41 @@ export interface operations {
3664
3871
  };
3665
3872
  };
3666
3873
  };
3874
+ UpdateLegalEntityApplicationPrincipal: {
3875
+ parameters: {
3876
+ query?: never;
3877
+ header?: never;
3878
+ path: {
3879
+ id: string;
3880
+ };
3881
+ cookie?: never;
3882
+ };
3883
+ requestBody: {
3884
+ content: {
3885
+ "application/json": components["schemas"]["UpdateLegalEntityApplicationPrincipalRequest"];
3886
+ };
3887
+ };
3888
+ responses: {
3889
+ /** @description Legal entity application principal updated successfully */
3890
+ 200: {
3891
+ headers: {
3892
+ [name: string]: unknown;
3893
+ };
3894
+ content: {
3895
+ "application/json": components["schemas"]["LegalEntityApplicationPrincipal"];
3896
+ };
3897
+ };
3898
+ /** @description Unprocessable entity */
3899
+ 422: {
3900
+ headers: {
3901
+ [name: string]: unknown;
3902
+ };
3903
+ content: {
3904
+ "application/json": components["schemas"]["Error"];
3905
+ };
3906
+ };
3907
+ };
3908
+ };
3667
3909
  ListLegalEntityPrincipals: {
3668
3910
  parameters: {
3669
3911
  query: {
@@ -3780,6 +4022,42 @@ export interface operations {
3780
4022
  };
3781
4023
  };
3782
4024
  };
4025
+ UpdateMerchantApplication: {
4026
+ parameters: {
4027
+ query?: never;
4028
+ header?: never;
4029
+ path: {
4030
+ /** @description The ID of the merchant application to update */
4031
+ id: string;
4032
+ };
4033
+ cookie?: never;
4034
+ };
4035
+ requestBody: {
4036
+ content: {
4037
+ "application/json": components["schemas"]["UpdateMerchantApplicationRequest"];
4038
+ };
4039
+ };
4040
+ responses: {
4041
+ /** @description Merchant application updated successfully */
4042
+ 200: {
4043
+ headers: {
4044
+ [name: string]: unknown;
4045
+ };
4046
+ content: {
4047
+ "application/json": components["schemas"]["MerchantApplication"];
4048
+ };
4049
+ };
4050
+ /** @description Unprocessable entity */
4051
+ 422: {
4052
+ headers: {
4053
+ [name: string]: unknown;
4054
+ };
4055
+ content: {
4056
+ "application/json": components["schemas"]["Error"];
4057
+ };
4058
+ };
4059
+ };
4060
+ };
3783
4061
  ListMerchants: {
3784
4062
  parameters: {
3785
4063
  query?: {
@@ -3787,6 +4065,9 @@ export interface operations {
3787
4065
  page?: components["parameters"]["PageQuery"];
3788
4066
  /** @description Number of results per page. */
3789
4067
  per_page?: components["parameters"]["PerPageQuery"];
4068
+ dba_name?: components["parameters"]["DbaNameQuery"];
4069
+ legal_entity_id?: components["parameters"]["LegalEntityIdQuery"];
4070
+ legal_name?: components["parameters"]["LegalNameQuery"];
3790
4071
  };
3791
4072
  header?: never;
3792
4073
  path?: never;
@@ -3831,6 +4112,42 @@ export interface operations {
3831
4112
  };
3832
4113
  };
3833
4114
  };
4115
+ UpdateMerchant: {
4116
+ parameters: {
4117
+ query?: never;
4118
+ header?: never;
4119
+ path: {
4120
+ /** @description The ID of the merchant to update */
4121
+ id: string;
4122
+ };
4123
+ cookie?: never;
4124
+ };
4125
+ requestBody: {
4126
+ content: {
4127
+ "application/json": components["schemas"]["UpdateMerchantRequest"];
4128
+ };
4129
+ };
4130
+ responses: {
4131
+ /** @description Merchant updated successfully */
4132
+ 200: {
4133
+ headers: {
4134
+ [name: string]: unknown;
4135
+ };
4136
+ content: {
4137
+ "application/json": components["schemas"]["Merchant"];
4138
+ };
4139
+ };
4140
+ /** @description Unprocessable entity */
4141
+ 422: {
4142
+ headers: {
4143
+ [name: string]: unknown;
4144
+ };
4145
+ content: {
4146
+ "application/json": components["schemas"]["Error"];
4147
+ };
4148
+ };
4149
+ };
4150
+ };
3834
4151
  GetOrganization: {
3835
4152
  parameters: {
3836
4153
  query?: never;
@@ -4070,6 +4387,9 @@ export interface operations {
4070
4387
  page?: components["parameters"]["PageQuery"];
4071
4388
  /** @description Number of results per page. */
4072
4389
  per_page?: components["parameters"]["PerPageQuery"];
4390
+ /** @description Filter payment intents by id */
4391
+ id?: components["parameters"]["PaymentIntentRecordIdQuery"];
4392
+ processor_reference?: components["parameters"]["ProcessorReferenceQuery"];
4073
4393
  };
4074
4394
  header?: never;
4075
4395
  path?: never;
@@ -4094,7 +4414,10 @@ export interface operations {
4094
4414
  CreatePaymentIntent: {
4095
4415
  parameters: {
4096
4416
  query?: never;
4097
- header?: never;
4417
+ header: {
4418
+ /** @description Render template JWT required to create a payment or setup intent. */
4419
+ "X-Render-Token": components["parameters"]["XRenderTokenHeader"];
4420
+ };
4098
4421
  path?: never;
4099
4422
  cookie?: never;
4100
4423
  };
@@ -4113,7 +4436,7 @@ export interface operations {
4113
4436
  "application/json": components["schemas"]["EmbedToken"];
4114
4437
  };
4115
4438
  };
4116
- /** @description Unprocessable entity */
4439
+ /** @description Unprocessable entity, including a missing X-Render-Token header. */
4117
4440
  422: {
4118
4441
  headers: {
4119
4442
  [name: string]: unknown;
@@ -4381,6 +4704,39 @@ export interface operations {
4381
4704
  };
4382
4705
  };
4383
4706
  };
4707
+ CreatePaymentMethod: {
4708
+ parameters: {
4709
+ query?: never;
4710
+ header?: never;
4711
+ path?: never;
4712
+ cookie?: never;
4713
+ };
4714
+ requestBody: {
4715
+ content: {
4716
+ "application/json": components["schemas"]["CreatePaymentMethodRequest"];
4717
+ };
4718
+ };
4719
+ responses: {
4720
+ /** @description Payment method created successfully */
4721
+ 201: {
4722
+ headers: {
4723
+ [name: string]: unknown;
4724
+ };
4725
+ content: {
4726
+ "application/json": components["schemas"]["PaymentMethod"];
4727
+ };
4728
+ };
4729
+ /** @description Unprocessable entity */
4730
+ 422: {
4731
+ headers: {
4732
+ [name: string]: unknown;
4733
+ };
4734
+ content: {
4735
+ "application/json": components["schemas"]["Error"];
4736
+ };
4737
+ };
4738
+ };
4739
+ };
4384
4740
  GetPaymentMethod: {
4385
4741
  parameters: {
4386
4742
  query?: never;
@@ -4551,6 +4907,7 @@ export interface operations {
4551
4907
  payment_method_id?: components["parameters"]["PaymentMethodIdQuery"];
4552
4908
  /** @description The ID of the payment transaction to filter by */
4553
4909
  payment_transaction_id?: components["parameters"]["PaymentTransactionIdQuery"];
4910
+ original_transaction_id?: components["parameters"]["OriginalTransactionIdQuery"];
4554
4911
  };
4555
4912
  header?: never;
4556
4913
  path?: never;
@@ -5040,7 +5397,10 @@ export interface operations {
5040
5397
  CreateSetupIntent: {
5041
5398
  parameters: {
5042
5399
  query?: never;
5043
- header?: never;
5400
+ header: {
5401
+ /** @description Render template JWT required to create a payment or setup intent. */
5402
+ "X-Render-Token": components["parameters"]["XRenderTokenHeader"];
5403
+ };
5044
5404
  path?: never;
5045
5405
  cookie?: never;
5046
5406
  };
@@ -5059,7 +5419,7 @@ export interface operations {
5059
5419
  "application/json": components["schemas"]["EmbedToken"];
5060
5420
  };
5061
5421
  };
5062
- /** @description Unprocessable entity */
5422
+ /** @description Unprocessable entity, including a missing X-Render-Token header. */
5063
5423
  422: {
5064
5424
  headers: {
5065
5425
  [name: string]: unknown;
@@ -5077,6 +5437,8 @@ export interface operations {
5077
5437
  page?: components["parameters"]["PageQuery"];
5078
5438
  /** @description Number of results per page. */
5079
5439
  per_page?: components["parameters"]["PerPageQuery"];
5440
+ /** @description Exact name match (case-insensitive). For substring search, use `q`. */
5441
+ name?: components["parameters"]["NameQuery"];
5080
5442
  };
5081
5443
  header?: never;
5082
5444
  path?: never;
@@ -5161,6 +5523,7 @@ export interface operations {
5161
5523
  page?: components["parameters"]["PageQuery"];
5162
5524
  /** @description Number of results per page. */
5163
5525
  per_page?: components["parameters"]["PerPageQuery"];
5526
+ state?: components["parameters"]["SubscriptionStateQuery"];
5164
5527
  };
5165
5528
  header?: never;
5166
5529
  path?: never;
@@ -5616,6 +5979,10 @@ export interface operations {
5616
5979
  page?: components["parameters"]["PageQuery"];
5617
5980
  /** @description Number of results per page. */
5618
5981
  per_page?: components["parameters"]["PerPageQuery"];
5982
+ webhook_endpoint_id?: components["parameters"]["WebhookEndpointIdQuery"];
5983
+ success?: components["parameters"]["WebhookSuccessQuery"];
5984
+ event?: components["parameters"]["WebhookEventQuery"];
5985
+ eventable_id?: components["parameters"]["EventableIdQuery"];
5619
5986
  };
5620
5987
  header?: never;
5621
5988
  path?: never;