@vexpay/node 0.15.0 → 0.17.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.
package/dist/index.d.ts CHANGED
@@ -50,18 +50,73 @@ interface components {
50
50
  */
51
51
  error?: string;
52
52
  };
53
+ CreateWebhookDto: {
54
+ /**
55
+ * Format: uri
56
+ * @example https://merchant.example.com/webhooks/vexpay
57
+ */
58
+ url: string;
59
+ /**
60
+ * @description Signing secret. If omitted, a random secret is generated and returned once.
61
+ * @example replace-with-a-long-random-secret
62
+ */
63
+ secret?: string;
64
+ /**
65
+ * @example [
66
+ * "payment.completed",
67
+ * "payment.failed"
68
+ * ]
69
+ */
70
+ events: ("payment.pending" | "payment.completed" | "payment.failed" | "payment.canceled" | "payment.reversed" | "payment.chargeback" | "payment.chargeback_closed" | "merchant.verified" | "merchant.rejected" | "merchant.deactivated" | "merchant.reactivated" | "merchant.balance.updated" | "merchant.created" | "merchant.activated" | "merchant.updated" | "merchant.kyb_required" | "merchant.restricted" | "merchant.capability.updated" | "merchant.wallet_credit" | "payout.completed" | "payout.failed" | "conversion.created" | "conversion.completed" | "conversion.canceled" | "onward_payout.updated" | "tenant.status_changed" | "tenant.api_key.created" | "tenant.api_key.rotated" | "tenant.api_key.revoked" | "tenant.live_status_changed" | "customer.created" | "customer.updated" | "customer.deleted" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.reactivated" | "invoice.created" | "invoice.upcoming" | "invoice.paid" | "invoice.payment_attempt" | "invoice.payment_failed" | "invoice.overdue" | "invoice.voided" | "invoice.marked_uncollectible" | "payment_method.attached" | "payment_method.updated" | "payment_method.detached" | "test_clock.advancing" | "test_clock.ready" | "notification.test")[];
71
+ };
72
+ WebhookEndpointDto: {
73
+ /** Format: uuid */
74
+ id: string;
75
+ /** Format: uuid */
76
+ tenantId: string;
77
+ /** Format: uri */
78
+ url: string;
79
+ events: ("payment.pending" | "payment.completed" | "payment.failed" | "payment.canceled" | "payment.reversed" | "payment.chargeback" | "payment.chargeback_closed" | "merchant.verified" | "merchant.rejected" | "merchant.deactivated" | "merchant.reactivated" | "merchant.balance.updated" | "merchant.created" | "merchant.activated" | "merchant.updated" | "merchant.kyb_required" | "merchant.restricted" | "merchant.capability.updated" | "merchant.wallet_credit" | "payout.completed" | "payout.failed" | "conversion.created" | "conversion.completed" | "conversion.canceled" | "onward_payout.updated" | "tenant.status_changed" | "tenant.api_key.created" | "tenant.api_key.rotated" | "tenant.api_key.revoked" | "tenant.live_status_changed" | "customer.created" | "customer.updated" | "customer.deleted" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.reactivated" | "invoice.created" | "invoice.upcoming" | "invoice.paid" | "invoice.payment_attempt" | "invoice.payment_failed" | "invoice.overdue" | "invoice.voided" | "invoice.marked_uncollectible" | "payment_method.attached" | "payment_method.updated" | "payment_method.detached" | "test_clock.advancing" | "test_clock.ready" | "notification.test")[];
80
+ isActive: boolean;
81
+ /** Format: date-time */
82
+ createdAt: string;
83
+ /** @description Returned only when the endpoint is created. Store it securely; list responses omit it. */
84
+ secret?: string;
85
+ };
86
+ UpdateWebhookDto: {
87
+ /**
88
+ * Format: uri
89
+ * @example https://merchant.example.com/webhooks/vexpay
90
+ */
91
+ url?: string;
92
+ /**
93
+ * @description Replaces the full event subscription list when provided.
94
+ * @example [
95
+ * "payment.completed",
96
+ * "payment.failed",
97
+ * "payout.completed"
98
+ * ]
99
+ */
100
+ events?: ("payment.pending" | "payment.completed" | "payment.failed" | "payment.canceled" | "payment.reversed" | "payment.chargeback" | "payment.chargeback_closed" | "merchant.verified" | "merchant.rejected" | "merchant.deactivated" | "merchant.reactivated" | "merchant.balance.updated" | "merchant.created" | "merchant.activated" | "merchant.updated" | "merchant.kyb_required" | "merchant.restricted" | "merchant.capability.updated" | "merchant.wallet_credit" | "payout.completed" | "payout.failed" | "conversion.created" | "conversion.completed" | "conversion.canceled" | "onward_payout.updated" | "tenant.status_changed" | "tenant.api_key.created" | "tenant.api_key.rotated" | "tenant.api_key.revoked" | "tenant.live_status_changed" | "customer.created" | "customer.updated" | "customer.deleted" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.reactivated" | "invoice.created" | "invoice.upcoming" | "invoice.paid" | "invoice.payment_attempt" | "invoice.payment_failed" | "invoice.overdue" | "invoice.voided" | "invoice.marked_uncollectible" | "payment_method.attached" | "payment_method.updated" | "payment_method.detached" | "test_clock.advancing" | "test_clock.ready" | "notification.test")[];
101
+ /** @example true */
102
+ isActive?: boolean;
103
+ };
104
+ DeleteWebhookResponseDto: {
105
+ /** @example true */
106
+ deleted: boolean;
107
+ };
53
108
  BsSettlementStatusDto: {
54
109
  /**
55
- * @description True when your available Bs is settled automatically every 15 minutes.
110
+ * @description True when your available Bs is settled automatically as soon as the bank confirms each sale.
56
111
  * @example true
57
112
  */
58
113
  enabled: boolean;
59
114
  /**
60
- * @description `active` = settling; `no_payout_account` / `payout_account_unverified` = add and verify a payout account; `payout_account_cooling` = destination changed recently; `paused` = paused by VEXPay; `opted_out` = off for your account; `disbursements` = your balance funds disbursements; `test_mode` = never settled in test mode.
115
+ * @description `active` = settling; `no_payout_account` / `payout_account_unverified` = add and verify a payout account; `payout_account_cooling` = destination changed recently; `paused` = paused by VEX Pay; `disbursements` = your balance funds disbursements; `test_mode` = never settled in test mode.
61
116
  * @example active
62
117
  * @enum {string}
63
118
  */
64
- status: "active" | "no_payout_account" | "payout_account_unverified" | "payout_account_cooling" | "paused" | "opted_out" | "disbursements" | "test_mode";
119
+ status: "active" | "no_payout_account" | "payout_account_unverified" | "payout_account_cooling" | "paused" | "disbursements" | "test_mode";
65
120
  /**
66
121
  * @description Smallest available Bs amount that is settled.
67
122
  * @example 100.00
@@ -94,7 +149,7 @@ interface components {
94
149
  /** @example 8650.00 */
95
150
  ledgerNetVes: string;
96
151
  /**
97
- * @description VES under a balance hold set by VEXPay (none by default, see `balanceHoldHours`): such credits count in `ledgerNetVes` but cannot be paid out until their hold ends. Conversions and seller transfers may still use them.
152
+ * @description VES under a balance hold set by VEX Pay (none by default, see `balanceHoldHours`): such credits count in `ledgerNetVes` but cannot be paid out until their hold ends. Conversions and seller transfers may still use them.
98
153
  * @example 0.00
99
154
  */
100
155
  heldVes?: string;
@@ -132,7 +187,7 @@ interface components {
132
187
  /** @example 0.00 */
133
188
  feeFixedUsd: string;
134
189
  /**
135
- * @description Hours each incoming credit is held before payouts can spend it (0 = no hold, the default). Set by VEXPay.
190
+ * @description Hours each incoming credit is held before payouts can spend it (0 = no hold, the default). Set by VEX Pay.
136
191
  * @example 0
137
192
  */
138
193
  balanceHoldHours?: number;
@@ -184,61 +239,6 @@ interface components {
184
239
  /** @description Pass as `cursor` to get the next (older) page; null on the last page. */
185
240
  nextCursor: string | null;
186
241
  };
187
- CreateWebhookDto: {
188
- /**
189
- * Format: uri
190
- * @example https://merchant.example.com/webhooks/vexpay
191
- */
192
- url: string;
193
- /**
194
- * @description Signing secret. If omitted, a random secret is generated and returned once.
195
- * @example replace-with-a-long-random-secret
196
- */
197
- secret?: string;
198
- /**
199
- * @example [
200
- * "payment.completed",
201
- * "payment.failed"
202
- * ]
203
- */
204
- events: ("payment.pending" | "payment.completed" | "payment.failed" | "payment.canceled" | "payment.reversed" | "payment.chargeback" | "payment.chargeback_closed" | "merchant.verified" | "merchant.rejected" | "merchant.deactivated" | "merchant.reactivated" | "merchant.balance.updated" | "merchant.created" | "merchant.activated" | "merchant.updated" | "merchant.kyb_required" | "merchant.restricted" | "merchant.capability.updated" | "merchant.wallet_credit" | "payout.completed" | "payout.failed" | "conversion.created" | "conversion.completed" | "conversion.canceled" | "onward_payout.updated" | "tenant.status_changed" | "tenant.api_key.created" | "tenant.api_key.rotated" | "tenant.api_key.revoked" | "tenant.live_status_changed" | "customer.created" | "customer.updated" | "customer.deleted" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.reactivated" | "invoice.created" | "invoice.upcoming" | "invoice.paid" | "invoice.payment_attempt" | "invoice.payment_failed" | "invoice.overdue" | "invoice.voided" | "invoice.marked_uncollectible" | "payment_method.attached" | "payment_method.updated" | "payment_method.detached" | "test_clock.advancing" | "test_clock.ready" | "notification.test")[];
205
- };
206
- WebhookEndpointDto: {
207
- /** Format: uuid */
208
- id: string;
209
- /** Format: uuid */
210
- tenantId: string;
211
- /** Format: uri */
212
- url: string;
213
- events: ("payment.pending" | "payment.completed" | "payment.failed" | "payment.canceled" | "payment.reversed" | "payment.chargeback" | "payment.chargeback_closed" | "merchant.verified" | "merchant.rejected" | "merchant.deactivated" | "merchant.reactivated" | "merchant.balance.updated" | "merchant.created" | "merchant.activated" | "merchant.updated" | "merchant.kyb_required" | "merchant.restricted" | "merchant.capability.updated" | "merchant.wallet_credit" | "payout.completed" | "payout.failed" | "conversion.created" | "conversion.completed" | "conversion.canceled" | "onward_payout.updated" | "tenant.status_changed" | "tenant.api_key.created" | "tenant.api_key.rotated" | "tenant.api_key.revoked" | "tenant.live_status_changed" | "customer.created" | "customer.updated" | "customer.deleted" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.reactivated" | "invoice.created" | "invoice.upcoming" | "invoice.paid" | "invoice.payment_attempt" | "invoice.payment_failed" | "invoice.overdue" | "invoice.voided" | "invoice.marked_uncollectible" | "payment_method.attached" | "payment_method.updated" | "payment_method.detached" | "test_clock.advancing" | "test_clock.ready" | "notification.test")[];
214
- isActive: boolean;
215
- /** Format: date-time */
216
- createdAt: string;
217
- /** @description Returned only when the endpoint is created. Store it securely; list responses omit it. */
218
- secret?: string;
219
- };
220
- UpdateWebhookDto: {
221
- /**
222
- * Format: uri
223
- * @example https://merchant.example.com/webhooks/vexpay
224
- */
225
- url?: string;
226
- /**
227
- * @description Replaces the full event subscription list when provided.
228
- * @example [
229
- * "payment.completed",
230
- * "payment.failed",
231
- * "payout.completed"
232
- * ]
233
- */
234
- events?: ("payment.pending" | "payment.completed" | "payment.failed" | "payment.canceled" | "payment.reversed" | "payment.chargeback" | "payment.chargeback_closed" | "merchant.verified" | "merchant.rejected" | "merchant.deactivated" | "merchant.reactivated" | "merchant.balance.updated" | "merchant.created" | "merchant.activated" | "merchant.updated" | "merchant.kyb_required" | "merchant.restricted" | "merchant.capability.updated" | "merchant.wallet_credit" | "payout.completed" | "payout.failed" | "conversion.created" | "conversion.completed" | "conversion.canceled" | "onward_payout.updated" | "tenant.status_changed" | "tenant.api_key.created" | "tenant.api_key.rotated" | "tenant.api_key.revoked" | "tenant.live_status_changed" | "customer.created" | "customer.updated" | "customer.deleted" | "customer.subscription.created" | "customer.subscription.updated" | "customer.subscription.deleted" | "customer.subscription.trial_will_end" | "customer.subscription.reactivated" | "invoice.created" | "invoice.upcoming" | "invoice.paid" | "invoice.payment_attempt" | "invoice.payment_failed" | "invoice.overdue" | "invoice.voided" | "invoice.marked_uncollectible" | "payment_method.attached" | "payment_method.updated" | "payment_method.detached" | "test_clock.advancing" | "test_clock.ready" | "notification.test")[];
235
- /** @example true */
236
- isActive?: boolean;
237
- };
238
- DeleteWebhookResponseDto: {
239
- /** @example true */
240
- deleted: boolean;
241
- };
242
242
  PayoutResponseDto: {
243
243
  /**
244
244
  * Format: uuid
@@ -489,8 +489,12 @@ interface components {
489
489
  accountId: string;
490
490
  /** @example 0163 */
491
491
  bankCode: string;
492
- /** @description Masked phone, e.g. …5555 */
492
+ /** @enum {string} */
493
+ type: "pago_movil" | "bank_account";
494
+ /** @description Masked destination: phone `…5555` (Pago Móvil) or account `••••6789` (bank_account). */
493
495
  destination: string;
496
+ /** @description Account holder name (bank_account only). */
497
+ holderName?: string | null;
494
498
  /** @example V12345678 */
495
499
  identification: string;
496
500
  /**
@@ -537,20 +541,36 @@ interface components {
537
541
  };
538
542
  UpsertTenantPayoutAccountDto: {
539
543
  /**
540
- * @description Beneficiary bank SIMF code (3–4 digits). Prefer codes from GET /v1/banks.
544
+ * @description `pago_movil` (bank + phone) or `bank_account` (20-digit checking account). Switching type is a destination change.
545
+ * @default pago_movil
546
+ * @enum {string}
547
+ */
548
+ type?: "pago_movil" | "bank_account";
549
+ /**
550
+ * @description Beneficiary bank SIMF code (3–4 digits). Prefer codes from GET /v1/banks. Required for `pago_movil`; for `bank_account` it is taken from the account number and, when sent, must match its first 4 digits.
541
551
  * @example 0163
542
552
  */
543
- banco: string;
553
+ banco?: string;
544
554
  /**
545
- * @description Beneficiary cédula/RIF.
555
+ * @description Beneficiary (account holder) cédula/RIF.
546
556
  * @example V12345678
547
557
  */
548
558
  cedula: string;
549
559
  /**
550
- * @description Beneficiary Pago Móvil phone (58… or 0…).
560
+ * @description Beneficiary Pago Móvil phone (58… or 0…). Required for `pago_movil`.
551
561
  * @example 584121234567
552
562
  */
553
- telefono: string;
563
+ telefono?: string;
564
+ /**
565
+ * @description 20-digit checking account number. Required for `bank_account`.
566
+ * @example 01160123450123456789
567
+ */
568
+ cuenta?: string;
569
+ /**
570
+ * @description Account holder name. Required for `bank_account`.
571
+ * @example Rival Plus C.A.
572
+ */
573
+ titular?: string;
554
574
  };
555
575
  ConfirmTenantPayoutAccountVerifyDto: {
556
576
  /**
@@ -629,7 +649,7 @@ interface components {
629
649
  success?: boolean;
630
650
  /**
631
651
  * Format: uuid
632
- * @description VEXPay payment id for this débito inmediato (method DEBITO_INMEDIATO).
652
+ * @description VEX Pay payment id for this débito inmediato (method DEBITO_INMEDIATO).
633
653
  * @example 3fd84b2d-9ad1-4f74-a2d9-0f2f56984db5
634
654
  */
635
655
  paymentId: string;
@@ -784,6 +804,33 @@ interface components {
784
804
  */
785
805
  cedula: string;
786
806
  };
807
+ SplitShareDto: {
808
+ /**
809
+ * @description A merchant of your account (UUID or `mrc_…` id). Each merchant at most once per payment.
810
+ * @example mrc_3f2b9c1e0a7d4e6f8b1c2d3e4f5a6b7c
811
+ */
812
+ merchantId: string;
813
+ /**
814
+ * @description This merchant's share, in the currency of the request's amount: VES for débito, C2P and Pago Móvil; for VPOS, VES when you send `vesAmount`, else USD. A string with exactly two decimals ("6000.00") or a number with at most two. USD shares are converted at the payment's rate and rounded down to Bs 0.01. Whatever the shares do not cover stays with your account (the marketplace remainder).
815
+ * @example 6000.00
816
+ */
817
+ amount: string | number;
818
+ /**
819
+ * @description Your commission on this share, in VES (exactly two decimals). Not with applicationFeePercent.
820
+ * @example 1200.00
821
+ */
822
+ applicationFeeVes?: string;
823
+ /**
824
+ * @description Your commission as a percent of this share's VES amount. When both are omitted the merchant's negotiated commission applies, else your default commission, else none.
825
+ * @example 20
826
+ */
827
+ applicationFeePercent?: number;
828
+ /**
829
+ * @description Free text returned as sent.
830
+ * @example order-1042/provider-a
831
+ */
832
+ reference?: string;
833
+ };
787
834
  ImmediateDebitDto: {
788
835
  /**
789
836
  * @description 3–4 digit bank code (padded to 4 digits when sent to the network). Prefer codes from GET /v1/banks.
@@ -837,6 +884,8 @@ interface components {
837
884
  * @example 10
838
885
  */
839
886
  applicationFeePercent?: number;
887
+ /** @description Split this payment between up to 10 of your merchants (marketplace). Each merchant is credited its share minus its part of the VEX Pay fee and your commission when the bank confirms the payment; the rest stays with your account. Not with merchantId / applicationFeeVes / applicationFeePercent, and not with onwardPayout. See the "Marketplace: split one payment between comercios" guide. */
888
+ splits?: components["schemas"]["SplitShareDto"][];
840
889
  };
841
890
  ManualOperationPollDto: {
842
891
  /**
@@ -1297,7 +1346,7 @@ interface components {
1297
1346
  merchantId?: string;
1298
1347
  idempotencyKey: string;
1299
1348
  txHash?: string;
1300
- /** @description Settled inside VEXPay (destination is one of your own deposit addresses). */
1349
+ /** @description Settled inside VEX Pay (destination is one of your own deposit addresses). */
1301
1350
  internal: boolean;
1302
1351
  failureReason?: string;
1303
1352
  /** Format: date-time */
@@ -1400,7 +1449,7 @@ interface components {
1400
1449
  };
1401
1450
  CreateCopPaymentDto: {
1402
1451
  /**
1403
- * @description Amount in whole Colombian pesos. At least 2,000 (`amount_below_minimum` otherwise).
1452
+ * @description Amount in whole Colombian pesos. At least 20,000 (`amount_below_minimum` otherwise).
1404
1453
  * @example 100000
1405
1454
  */
1406
1455
  amountCop: number;
@@ -1853,6 +1902,8 @@ interface components {
1853
1902
  applicationFeePercent?: number;
1854
1903
  /** @description Convert this payment's net VES to USDT once it completes and send it to this wallet. Needs USDT and conversions enabled; not allowed with merchantId. See the "Pay in bolívars, receive USDT" guide. */
1855
1904
  onwardPayout?: components["schemas"]["OnwardPayoutDto"];
1905
+ /** @description Split this payment between up to 10 of your merchants (marketplace). Each merchant is credited its share minus its part of the VEX Pay fee and your commission when the bank confirms the payment; the rest stays with your account. Not with merchantId / applicationFeeVes / applicationFeePercent, and not with onwardPayout. See the "Marketplace: split one payment between comercios" guide. */
1906
+ splits?: components["schemas"]["SplitShareDto"][];
1856
1907
  };
1857
1908
  OnwardPayoutStatusDto: {
1858
1909
  /**
@@ -1901,6 +1952,41 @@ interface components {
1901
1952
  /** Format: date-time */
1902
1953
  updatedAt: string;
1903
1954
  };
1955
+ PaymentSplitViewDto: {
1956
+ /** Format: uuid */
1957
+ merchantId: string;
1958
+ /**
1959
+ * @description The merchant's account id (same as the payment-level accountId).
1960
+ * @example acct_3f2b9c1e0a7d4e6f8b1c2d3e4f5a6b7c
1961
+ */
1962
+ accountId: string;
1963
+ /**
1964
+ * @description The merchant's externalRef.
1965
+ * @example planazo-comercio-17
1966
+ */
1967
+ merchantExternalRef?: string | null;
1968
+ /** @example 6000.00 */
1969
+ amountVes: string;
1970
+ /**
1971
+ * @description Your commission on this share.
1972
+ * @example 1200.00
1973
+ */
1974
+ applicationFeeVes: string;
1975
+ /** @example 20.0000 */
1976
+ applicationFeePercent?: string | null;
1977
+ /**
1978
+ * @description This share's part of the VEX Pay fee (null until completed).
1979
+ * @example 180.00
1980
+ */
1981
+ feeVes?: string | null;
1982
+ /**
1983
+ * @description Credited to the merchant (null until completed; 0.00 when the share nets nothing).
1984
+ * @example 4620.00
1985
+ */
1986
+ netVes?: string | null;
1987
+ /** @example order-1042/provider-a */
1988
+ reference?: string | null;
1989
+ };
1904
1990
  C2pIntentResponseDto: {
1905
1991
  /**
1906
1992
  * Format: uuid
@@ -1990,6 +2076,8 @@ interface components {
1990
2076
  reversalTxId?: number;
1991
2077
  /** @description Present when the pay-in was sent with `onwardPayout`. */
1992
2078
  onwardPayout?: components["schemas"]["OnwardPayoutStatusDto"];
2079
+ /** @description Multi-merchant split payments only: each merchant share with its commission, VEX Pay fee and net (feeVes / netVes are set when the payment completes). Omitted for every other payment. */
2080
+ splits?: components["schemas"]["PaymentSplitViewDto"][];
1993
2081
  /**
1994
2082
  * Format: uuid
1995
2083
  * @description Use this value as intentId when executing the C2P charge.
@@ -2050,6 +2138,8 @@ interface components {
2050
2138
  applicationFeePercent?: number;
2051
2139
  /** @description Convert this payment's net VES to USDT once it completes and send it to this wallet. Needs USDT and conversions enabled; not allowed with merchantId. See the "Pay in bolívars, receive USDT" guide. */
2052
2140
  onwardPayout?: components["schemas"]["OnwardPayoutDto"];
2141
+ /** @description Split this payment between up to 10 of your merchants (marketplace). Each merchant is credited its share minus its part of the VEX Pay fee and your commission when the bank confirms the payment; the rest stays with your account. Not with merchantId / applicationFeeVes / applicationFeePercent, and not with onwardPayout. See the "Marketplace: split one payment between comercios" guide. */
2142
+ splits?: components["schemas"]["SplitShareDto"][];
2053
2143
  };
2054
2144
  PaymentReceiptDto: {
2055
2145
  /**
@@ -2140,6 +2230,8 @@ interface components {
2140
2230
  reversalTxId?: number;
2141
2231
  /** @description Present when the pay-in was sent with `onwardPayout`. */
2142
2232
  onwardPayout?: components["schemas"]["OnwardPayoutStatusDto"];
2233
+ /** @description Multi-merchant split payments only: each merchant share with its commission, VEX Pay fee and net (feeVes / netVes are set when the payment completes). Omitted for every other payment. */
2234
+ splits?: components["schemas"]["PaymentSplitViewDto"][];
2143
2235
  };
2144
2236
  VposPaymentDto: {
2145
2237
  /**
@@ -2206,6 +2298,8 @@ interface components {
2206
2298
  * @example 10
2207
2299
  */
2208
2300
  applicationFeePercent?: number;
2301
+ /** @description Split this payment between up to 10 of your merchants (marketplace). Each merchant is credited its share minus its part of the VEX Pay fee and your commission when the bank confirms the payment; the rest stays with your account. Not with merchantId / applicationFeeVes / applicationFeePercent, and not with onwardPayout. See the "Marketplace: split one payment between comercios" guide. */
2302
+ splits?: components["schemas"]["SplitShareDto"][];
2209
2303
  };
2210
2304
  PaymentMethodAvailabilityDto: {
2211
2305
  /**
@@ -2293,6 +2387,8 @@ interface components {
2293
2387
  debtorCellPhone?: string;
2294
2388
  /** @description Convert this payment's net VES to USDT once it completes and send it to this wallet. Needs USDT and conversions enabled; not allowed with merchantId. See the "Pay in bolívars, receive USDT" guide. */
2295
2389
  onwardPayout?: components["schemas"]["OnwardPayoutDto"];
2390
+ /** @description Split this payment between up to 10 of your merchants (marketplace). Each merchant is credited its share minus its part of the VEX Pay fee and your commission when the bank confirms the payment; the rest stays with your account. Not with merchantId / applicationFeeVes / applicationFeePercent, and not with onwardPayout. See the "Marketplace: split one payment between comercios" guide. */
2391
+ splits?: components["schemas"]["SplitShareDto"][];
2296
2392
  };
2297
2393
  PayoutMethodResponseDto: {
2298
2394
  /** Format: uuid */
@@ -2491,6 +2587,8 @@ interface components {
2491
2587
  * @example 04145555555
2492
2588
  */
2493
2589
  phone?: string;
2590
+ /** @description Pay this merchant's available balance automatically every 15 minutes. Omit it to use your account's `merchantAutoPayoutDefault` (GET /v1/marketplace/settings). Used only when the merchant is created; change it later with PATCH /v1/merchants/{id}. */
2591
+ autoPayoutEnabled?: boolean;
2494
2592
  };
2495
2593
  CreatePayoutMethodDto: {
2496
2594
  /**
@@ -2614,6 +2712,11 @@ interface components {
2614
2712
  transferKey?: string;
2615
2713
  /** Format: uuid */
2616
2714
  paymentId?: string | null;
2715
+ /**
2716
+ * @description `credit` rows of a multi-merchant split payment: the share `reference` sent with the payment.
2717
+ * @example order-1042/provider-a
2718
+ */
2719
+ splitReference?: string;
2617
2720
  /** Format: uuid */
2618
2721
  payoutId?: string | null;
2619
2722
  /**
@@ -2679,6 +2782,35 @@ interface components {
2679
2782
  */
2680
2783
  applicationFeePercent?: number | null;
2681
2784
  };
2785
+ MarketplaceSettingsDto: {
2786
+ /**
2787
+ * @description When true, merchants you create without `autoPayoutEnabled` start with auto-payout on. Existing merchants keep their setting.
2788
+ * @example true
2789
+ */
2790
+ merchantAutoPayoutDefault: boolean;
2791
+ /**
2792
+ * @description Smallest available balance, in USD at the BCV rate, that an automatic merchant payout sends. null = no minimum (any balance of Bs 1 or more).
2793
+ * @example 10.00
2794
+ */
2795
+ merchantAutoPayoutMinUsd?: string | null;
2796
+ };
2797
+ UpdateMarketplaceSettingsDto: {
2798
+ /** @example true */
2799
+ merchantAutoPayoutDefault?: boolean;
2800
+ /**
2801
+ * @description USD with at most two decimals (string or number), 0–100000. null or 0 clears the minimum.
2802
+ * @example 10.00
2803
+ */
2804
+ merchantAutoPayoutMinUsd?: string | null;
2805
+ };
2806
+ NotificationTestResponseDto: {
2807
+ /** @example true */
2808
+ sent: boolean;
2809
+ /** @example notification.test */
2810
+ event: string;
2811
+ /** Format: uuid */
2812
+ tenantId: string;
2813
+ };
2682
2814
  CreateCheckoutSessionDto: {
2683
2815
  /**
2684
2816
  * @description USD amount, up to 2 decimals.
@@ -2827,7 +2959,7 @@ interface components {
2827
2959
  items: components["schemas"]["PaymentLinkResponseDto"][];
2828
2960
  };
2829
2961
  CreateProductDto: {
2830
- /** @example Camiseta VEXPay */
2962
+ /** @example Camiseta VEX Pay */
2831
2963
  name: string;
2832
2964
  description?: string;
2833
2965
  /** @example https://cdn.example/shirt.png */
@@ -2968,14 +3100,6 @@ interface components {
2968
3100
  /** @example 2500.00 */
2969
3101
  monthRemainingUsd: string;
2970
3102
  };
2971
- NotificationTestResponseDto: {
2972
- /** @example true */
2973
- sent: boolean;
2974
- /** @example notification.test */
2975
- event: string;
2976
- /** Format: uuid */
2977
- tenantId: string;
2978
- };
2979
3103
  CreateCustomerDto: {
2980
3104
  /** @example Ana Pérez */
2981
3105
  name?: string | null;
@@ -3248,7 +3372,7 @@ interface components {
3248
3372
  };
3249
3373
  PayInvoiceDto: {
3250
3374
  /**
3251
- * @description Mark the invoice paid outside VEXPay (cash, transfer). No balance change.
3375
+ * @description Mark the invoice paid outside VEX Pay (cash, transfer). No balance change.
3252
3376
  * @example true
3253
3377
  */
3254
3378
  paidOutOfBand: boolean;
@@ -3350,7 +3474,7 @@ interface components {
3350
3474
  pathItems: never;
3351
3475
  }
3352
3476
  interface operations {
3353
- Balance_getBalance: {
3477
+ Webhooks_listWebhooks: {
3354
3478
  parameters: {
3355
3479
  query?: never;
3356
3480
  header?: never;
@@ -3364,7 +3488,7 @@ interface operations {
3364
3488
  [name: string]: unknown;
3365
3489
  };
3366
3490
  content: {
3367
- "application/json": components["schemas"]["PlatformBalanceDto"];
3491
+ "application/json": components["schemas"]["WebhookEndpointDto"][];
3368
3492
  };
3369
3493
  };
3370
3494
  /** @description Missing, invalid, or inactive tenant API key. */
@@ -3405,45 +3529,28 @@ interface operations {
3405
3529
  };
3406
3530
  };
3407
3531
  };
3408
- Balance_listTransactions: {
3532
+ Webhooks_createWebhook: {
3409
3533
  parameters: {
3410
- query?: {
3411
- /** @description ISO 8601, exclusive (createdAt). */
3412
- to?: string;
3413
- /** @description ISO 8601, inclusive (createdAt). */
3414
- from?: string;
3415
- /** @description Only movements of this payout. */
3416
- payoutId?: string;
3417
- /** @description Only movements of this payment. */
3418
- paymentId?: string;
3419
- /** @description One or more types (repeat or comma-separate). */
3420
- type?: ("payment" | "fee" | "payment_reversal" | "fee_reversal" | "payout" | "payout_reversal" | "chargeback" | "chargeback_fee" | "chargeback_reversal" | "adjustment" | "seller_transfer" | "seller_transfer_reversal" | "conversion" | "conversion_reversal" | "merchant_payout_fee" | "disbursement_payout_fee" | "disbursement_payout_fee_reversal" | "topup" | "topup_fee" | "topup_instant_release" | "topup_instant_fee")[];
3421
- /** @description `nextCursor` from the previous page. */
3422
- cursor?: string;
3423
- /** @description 1–100, default 50. */
3424
- limit?: number;
3534
+ query?: never;
3535
+ header?: {
3536
+ /** @description Optional. Same key + same body within 24h replays the stored response (`Idempotent-Replayed: true`); a different body returns 409 `idempotency_key_reused`. */
3537
+ "Idempotency-Key"?: string;
3425
3538
  };
3426
- header?: never;
3427
3539
  path?: never;
3428
3540
  cookie?: never;
3429
3541
  };
3430
- requestBody?: never;
3431
- responses: {
3432
- 200: {
3433
- headers: {
3434
- [name: string]: unknown;
3435
- };
3436
- content: {
3437
- "application/json": components["schemas"]["BalanceTransactionListDto"];
3438
- };
3542
+ requestBody: {
3543
+ content: {
3544
+ "application/json": components["schemas"]["CreateWebhookDto"];
3439
3545
  };
3440
- /** @description `invalid_data` — a parameter is invalid. */
3441
- 400: {
3546
+ };
3547
+ responses: {
3548
+ 201: {
3442
3549
  headers: {
3443
3550
  [name: string]: unknown;
3444
3551
  };
3445
3552
  content: {
3446
- "application/json": components["schemas"]["ApiErrorDto"];
3553
+ "application/json": components["schemas"]["WebhookEndpointDto"];
3447
3554
  };
3448
3555
  };
3449
3556
  /** @description Missing, invalid, or inactive tenant API key. */
@@ -3484,11 +3591,13 @@ interface operations {
3484
3591
  };
3485
3592
  };
3486
3593
  };
3487
- Webhooks_listWebhooks: {
3594
+ Webhooks_deleteWebhook: {
3488
3595
  parameters: {
3489
3596
  query?: never;
3490
3597
  header?: never;
3491
- path?: never;
3598
+ path: {
3599
+ id: string;
3600
+ };
3492
3601
  cookie?: never;
3493
3602
  };
3494
3603
  requestBody?: never;
@@ -3498,7 +3607,7 @@ interface operations {
3498
3607
  [name: string]: unknown;
3499
3608
  };
3500
3609
  content: {
3501
- "application/json": components["schemas"]["WebhookEndpointDto"][];
3610
+ "application/json": components["schemas"]["DeleteWebhookResponseDto"];
3502
3611
  };
3503
3612
  };
3504
3613
  /** @description Missing, invalid, or inactive tenant API key. */
@@ -3519,6 +3628,14 @@ interface operations {
3519
3628
  "application/json": components["schemas"]["ApiErrorDto"];
3520
3629
  };
3521
3630
  };
3631
+ 404: {
3632
+ headers: {
3633
+ [name: string]: unknown;
3634
+ };
3635
+ content: {
3636
+ "application/json": components["schemas"]["ApiErrorDto"];
3637
+ };
3638
+ };
3522
3639
  /** @description Client error. */
3523
3640
  "4XX": {
3524
3641
  headers: {
@@ -3539,23 +3656,22 @@ interface operations {
3539
3656
  };
3540
3657
  };
3541
3658
  };
3542
- Webhooks_createWebhook: {
3659
+ Webhooks_updateWebhook: {
3543
3660
  parameters: {
3544
3661
  query?: never;
3545
- header?: {
3546
- /** @description Optional. Same key + same body within 24h replays the stored response (`Idempotent-Replayed: true`); a different body returns 409 `idempotency_key_reused`. */
3547
- "Idempotency-Key"?: string;
3662
+ header?: never;
3663
+ path: {
3664
+ id: string;
3548
3665
  };
3549
- path?: never;
3550
3666
  cookie?: never;
3551
3667
  };
3552
3668
  requestBody: {
3553
3669
  content: {
3554
- "application/json": components["schemas"]["CreateWebhookDto"];
3670
+ "application/json": components["schemas"]["UpdateWebhookDto"];
3555
3671
  };
3556
3672
  };
3557
3673
  responses: {
3558
- 201: {
3674
+ 200: {
3559
3675
  headers: {
3560
3676
  [name: string]: unknown;
3561
3677
  };
@@ -3563,6 +3679,14 @@ interface operations {
3563
3679
  "application/json": components["schemas"]["WebhookEndpointDto"];
3564
3680
  };
3565
3681
  };
3682
+ 400: {
3683
+ headers: {
3684
+ [name: string]: unknown;
3685
+ };
3686
+ content: {
3687
+ "application/json": components["schemas"]["ApiErrorDto"];
3688
+ };
3689
+ };
3566
3690
  /** @description Missing, invalid, or inactive tenant API key. */
3567
3691
  401: {
3568
3692
  headers: {
@@ -3581,6 +3705,14 @@ interface operations {
3581
3705
  "application/json": components["schemas"]["ApiErrorDto"];
3582
3706
  };
3583
3707
  };
3708
+ 404: {
3709
+ headers: {
3710
+ [name: string]: unknown;
3711
+ };
3712
+ content: {
3713
+ "application/json": components["schemas"]["ApiErrorDto"];
3714
+ };
3715
+ };
3584
3716
  /** @description Client error. */
3585
3717
  "4XX": {
3586
3718
  headers: {
@@ -3601,13 +3733,11 @@ interface operations {
3601
3733
  };
3602
3734
  };
3603
3735
  };
3604
- Webhooks_deleteWebhook: {
3736
+ Balance_getBalance: {
3605
3737
  parameters: {
3606
3738
  query?: never;
3607
3739
  header?: never;
3608
- path: {
3609
- id: string;
3610
- };
3740
+ path?: never;
3611
3741
  cookie?: never;
3612
3742
  };
3613
3743
  requestBody?: never;
@@ -3617,7 +3747,7 @@ interface operations {
3617
3747
  [name: string]: unknown;
3618
3748
  };
3619
3749
  content: {
3620
- "application/json": components["schemas"]["DeleteWebhookResponseDto"];
3750
+ "application/json": components["schemas"]["PlatformBalanceDto"];
3621
3751
  };
3622
3752
  };
3623
3753
  /** @description Missing, invalid, or inactive tenant API key. */
@@ -3638,14 +3768,6 @@ interface operations {
3638
3768
  "application/json": components["schemas"]["ApiErrorDto"];
3639
3769
  };
3640
3770
  };
3641
- 404: {
3642
- headers: {
3643
- [name: string]: unknown;
3644
- };
3645
- content: {
3646
- "application/json": components["schemas"]["ApiErrorDto"];
3647
- };
3648
- };
3649
3771
  /** @description Client error. */
3650
3772
  "4XX": {
3651
3773
  headers: {
@@ -3666,29 +3788,39 @@ interface operations {
3666
3788
  };
3667
3789
  };
3668
3790
  };
3669
- Webhooks_updateWebhook: {
3791
+ Balance_listTransactions: {
3670
3792
  parameters: {
3671
- query?: never;
3672
- header?: never;
3673
- path: {
3674
- id: string;
3793
+ query?: {
3794
+ /** @description ISO 8601, exclusive (createdAt). */
3795
+ to?: string;
3796
+ /** @description ISO 8601, inclusive (createdAt). */
3797
+ from?: string;
3798
+ /** @description Only movements of this payout. */
3799
+ payoutId?: string;
3800
+ /** @description Only movements of this payment. */
3801
+ paymentId?: string;
3802
+ /** @description One or more types (repeat or comma-separate). */
3803
+ type?: ("payment" | "fee" | "payment_reversal" | "fee_reversal" | "payout" | "payout_reversal" | "chargeback" | "chargeback_fee" | "chargeback_reversal" | "adjustment" | "seller_transfer" | "seller_transfer_reversal" | "conversion" | "conversion_reversal" | "merchant_payout_fee" | "disbursement_payout_fee" | "disbursement_payout_fee_reversal" | "topup" | "topup_fee" | "topup_instant_release" | "topup_instant_fee")[];
3804
+ /** @description `nextCursor` from the previous page. */
3805
+ cursor?: string;
3806
+ /** @description 1–100, default 50. */
3807
+ limit?: number;
3675
3808
  };
3809
+ header?: never;
3810
+ path?: never;
3676
3811
  cookie?: never;
3677
3812
  };
3678
- requestBody: {
3679
- content: {
3680
- "application/json": components["schemas"]["UpdateWebhookDto"];
3681
- };
3682
- };
3813
+ requestBody?: never;
3683
3814
  responses: {
3684
3815
  200: {
3685
3816
  headers: {
3686
3817
  [name: string]: unknown;
3687
3818
  };
3688
3819
  content: {
3689
- "application/json": components["schemas"]["WebhookEndpointDto"];
3820
+ "application/json": components["schemas"]["BalanceTransactionListDto"];
3690
3821
  };
3691
3822
  };
3823
+ /** @description `invalid_data` — a parameter is invalid. */
3692
3824
  400: {
3693
3825
  headers: {
3694
3826
  [name: string]: unknown;
@@ -3715,14 +3847,6 @@ interface operations {
3715
3847
  "application/json": components["schemas"]["ApiErrorDto"];
3716
3848
  };
3717
3849
  };
3718
- 404: {
3719
- headers: {
3720
- [name: string]: unknown;
3721
- };
3722
- content: {
3723
- "application/json": components["schemas"]["ApiErrorDto"];
3724
- };
3725
- };
3726
3850
  /** @description Client error. */
3727
3851
  "4XX": {
3728
3852
  headers: {
@@ -4744,7 +4868,7 @@ interface operations {
4744
4868
  };
4745
4869
  };
4746
4870
  responses: {
4747
- /** @description Network payload plus VEXPay `paymentId` (and `externalRef` when sent). */
4871
+ /** @description Network payload plus VEX Pay `paymentId` (and `externalRef` when sent). */
4748
4872
  200: {
4749
4873
  headers: {
4750
4874
  [name: string]: unknown;
@@ -8487,9 +8611,252 @@ interface operations {
8487
8611
  };
8488
8612
  };
8489
8613
  };
8490
- Merchants_getBalance: {
8614
+ Merchants_getBalance: {
8615
+ parameters: {
8616
+ query?: never;
8617
+ header?: never;
8618
+ path: {
8619
+ id: string;
8620
+ };
8621
+ cookie?: never;
8622
+ };
8623
+ requestBody?: never;
8624
+ responses: {
8625
+ 200: {
8626
+ headers: {
8627
+ [name: string]: unknown;
8628
+ };
8629
+ content: {
8630
+ "application/json": components["schemas"]["MerchantBalanceDto"];
8631
+ };
8632
+ };
8633
+ /** @description Validation failure. */
8634
+ 400: {
8635
+ headers: {
8636
+ [name: string]: unknown;
8637
+ };
8638
+ content: {
8639
+ "application/json": components["schemas"]["ApiErrorDto"];
8640
+ };
8641
+ };
8642
+ /** @description Missing, invalid, or inactive tenant API key. */
8643
+ 401: {
8644
+ headers: {
8645
+ [name: string]: unknown;
8646
+ };
8647
+ content: {
8648
+ "application/json": components["schemas"]["ApiErrorDto"];
8649
+ };
8650
+ };
8651
+ /** @description Live mode not activated (`live_mode_not_activated`): the live account is pending VEX Pay review or suspended. Test keys are unaffected. */
8652
+ 403: {
8653
+ headers: {
8654
+ [name: string]: unknown;
8655
+ };
8656
+ content: {
8657
+ "application/json": components["schemas"]["ApiErrorDto"];
8658
+ };
8659
+ };
8660
+ 404: {
8661
+ headers: {
8662
+ [name: string]: unknown;
8663
+ };
8664
+ content: {
8665
+ "application/json": components["schemas"]["ApiErrorDto"];
8666
+ };
8667
+ };
8668
+ /** @description Client error. */
8669
+ "4XX": {
8670
+ headers: {
8671
+ [name: string]: unknown;
8672
+ };
8673
+ content: {
8674
+ "application/json": components["schemas"]["ApiErrorDto"];
8675
+ };
8676
+ };
8677
+ /** @description Server or upstream bank error. */
8678
+ "5XX": {
8679
+ headers: {
8680
+ [name: string]: unknown;
8681
+ };
8682
+ content: {
8683
+ "application/json": components["schemas"]["ApiErrorDto"];
8684
+ };
8685
+ };
8686
+ };
8687
+ };
8688
+ Merchants_transfer: {
8689
+ parameters: {
8690
+ query?: never;
8691
+ header?: {
8692
+ /** @description Optional. Same key + same body within 24h replays the stored response (`Idempotent-Replayed: true`); a different body returns 409 `idempotency_key_reused`. */
8693
+ "Idempotency-Key"?: string;
8694
+ };
8695
+ path: {
8696
+ id: string;
8697
+ };
8698
+ cookie?: never;
8699
+ };
8700
+ requestBody: {
8701
+ content: {
8702
+ "application/json": components["schemas"]["CreateMerchantTransferDto"];
8703
+ };
8704
+ };
8705
+ responses: {
8706
+ 200: {
8707
+ headers: {
8708
+ [name: string]: unknown;
8709
+ };
8710
+ content: {
8711
+ "application/json": components["schemas"]["MerchantTransferResponseDto"];
8712
+ };
8713
+ };
8714
+ /** @description Validation failure. */
8715
+ 400: {
8716
+ headers: {
8717
+ [name: string]: unknown;
8718
+ };
8719
+ content: {
8720
+ "application/json": components["schemas"]["ApiErrorDto"];
8721
+ };
8722
+ };
8723
+ /** @description Missing, invalid, or inactive tenant API key. */
8724
+ 401: {
8725
+ headers: {
8726
+ [name: string]: unknown;
8727
+ };
8728
+ content: {
8729
+ "application/json": components["schemas"]["ApiErrorDto"];
8730
+ };
8731
+ };
8732
+ /** @description Live mode not activated (`live_mode_not_activated`): the live account is pending VEX Pay review or suspended. Test keys are unaffected. */
8733
+ 403: {
8734
+ headers: {
8735
+ [name: string]: unknown;
8736
+ };
8737
+ content: {
8738
+ "application/json": components["schemas"]["ApiErrorDto"];
8739
+ };
8740
+ };
8741
+ 404: {
8742
+ headers: {
8743
+ [name: string]: unknown;
8744
+ };
8745
+ content: {
8746
+ "application/json": components["schemas"]["ApiErrorDto"];
8747
+ };
8748
+ };
8749
+ /** @description Client error. */
8750
+ "4XX": {
8751
+ headers: {
8752
+ [name: string]: unknown;
8753
+ };
8754
+ content: {
8755
+ "application/json": components["schemas"]["ApiErrorDto"];
8756
+ };
8757
+ };
8758
+ /** @description Server or upstream bank error. */
8759
+ "5XX": {
8760
+ headers: {
8761
+ [name: string]: unknown;
8762
+ };
8763
+ content: {
8764
+ "application/json": components["schemas"]["ApiErrorDto"];
8765
+ };
8766
+ };
8767
+ };
8768
+ };
8769
+ Merchants_listTransactions: {
8770
+ parameters: {
8771
+ query?: {
8772
+ /** @description ISO 8601, exclusive (createdAt). */
8773
+ to?: string;
8774
+ /** @description ISO 8601, inclusive (createdAt). */
8775
+ from?: string;
8776
+ /** @description `nextCursor` from the previous page. */
8777
+ cursor?: string;
8778
+ /** @description 1–100, default 50. */
8779
+ limit?: number;
8780
+ };
8781
+ header?: never;
8782
+ path: {
8783
+ id: string;
8784
+ };
8785
+ cookie?: never;
8786
+ };
8787
+ requestBody?: never;
8788
+ responses: {
8789
+ 200: {
8790
+ headers: {
8791
+ [name: string]: unknown;
8792
+ };
8793
+ content: {
8794
+ "application/json": components["schemas"]["MerchantMovementListDto"];
8795
+ };
8796
+ };
8797
+ /** @description Validation failure. */
8798
+ 400: {
8799
+ headers: {
8800
+ [name: string]: unknown;
8801
+ };
8802
+ content: {
8803
+ "application/json": components["schemas"]["ApiErrorDto"];
8804
+ };
8805
+ };
8806
+ /** @description Missing, invalid, or inactive tenant API key. */
8807
+ 401: {
8808
+ headers: {
8809
+ [name: string]: unknown;
8810
+ };
8811
+ content: {
8812
+ "application/json": components["schemas"]["ApiErrorDto"];
8813
+ };
8814
+ };
8815
+ /** @description Live mode not activated (`live_mode_not_activated`): the live account is pending VEX Pay review or suspended. Test keys are unaffected. */
8816
+ 403: {
8817
+ headers: {
8818
+ [name: string]: unknown;
8819
+ };
8820
+ content: {
8821
+ "application/json": components["schemas"]["ApiErrorDto"];
8822
+ };
8823
+ };
8824
+ 404: {
8825
+ headers: {
8826
+ [name: string]: unknown;
8827
+ };
8828
+ content: {
8829
+ "application/json": components["schemas"]["ApiErrorDto"];
8830
+ };
8831
+ };
8832
+ /** @description Client error. */
8833
+ "4XX": {
8834
+ headers: {
8835
+ [name: string]: unknown;
8836
+ };
8837
+ content: {
8838
+ "application/json": components["schemas"]["ApiErrorDto"];
8839
+ };
8840
+ };
8841
+ /** @description Server or upstream bank error. */
8842
+ "5XX": {
8843
+ headers: {
8844
+ [name: string]: unknown;
8845
+ };
8846
+ content: {
8847
+ "application/json": components["schemas"]["ApiErrorDto"];
8848
+ };
8849
+ };
8850
+ };
8851
+ };
8852
+ Merchants_statement: {
8491
8853
  parameters: {
8492
- query?: never;
8854
+ query: {
8855
+ /** @description YYYY-MM. */
8856
+ month: string;
8857
+ /** @description Default json. */
8858
+ format?: "json" | "csv";
8859
+ };
8493
8860
  header?: never;
8494
8861
  path: {
8495
8862
  id: string;
@@ -8503,7 +8870,7 @@ interface operations {
8503
8870
  [name: string]: unknown;
8504
8871
  };
8505
8872
  content: {
8506
- "application/json": components["schemas"]["MerchantBalanceDto"];
8873
+ "application/json": components["schemas"]["MerchantStatementDto"];
8507
8874
  };
8508
8875
  };
8509
8876
  /** @description Validation failure. */
@@ -8561,30 +8928,23 @@ interface operations {
8561
8928
  };
8562
8929
  };
8563
8930
  };
8564
- Merchants_transfer: {
8931
+ Merchants_getById: {
8565
8932
  parameters: {
8566
8933
  query?: never;
8567
- header?: {
8568
- /** @description Optional. Same key + same body within 24h replays the stored response (`Idempotent-Replayed: true`); a different body returns 409 `idempotency_key_reused`. */
8569
- "Idempotency-Key"?: string;
8570
- };
8934
+ header?: never;
8571
8935
  path: {
8572
8936
  id: string;
8573
8937
  };
8574
8938
  cookie?: never;
8575
8939
  };
8576
- requestBody: {
8577
- content: {
8578
- "application/json": components["schemas"]["CreateMerchantTransferDto"];
8579
- };
8580
- };
8940
+ requestBody?: never;
8581
8941
  responses: {
8582
8942
  200: {
8583
8943
  headers: {
8584
8944
  [name: string]: unknown;
8585
8945
  };
8586
8946
  content: {
8587
- "application/json": components["schemas"]["MerchantTransferResponseDto"];
8947
+ "application/json": components["schemas"]["MerchantResponseDto"];
8588
8948
  };
8589
8949
  };
8590
8950
  /** @description Validation failure. */
@@ -8642,18 +9002,9 @@ interface operations {
8642
9002
  };
8643
9003
  };
8644
9004
  };
8645
- Merchants_listTransactions: {
9005
+ Merchants_remove: {
8646
9006
  parameters: {
8647
- query?: {
8648
- /** @description ISO 8601, exclusive (createdAt). */
8649
- to?: string;
8650
- /** @description ISO 8601, inclusive (createdAt). */
8651
- from?: string;
8652
- /** @description `nextCursor` from the previous page. */
8653
- cursor?: string;
8654
- /** @description 1–100, default 50. */
8655
- limit?: number;
8656
- };
9007
+ query?: never;
8657
9008
  header?: never;
8658
9009
  path: {
8659
9010
  id: string;
@@ -8667,7 +9018,7 @@ interface operations {
8667
9018
  [name: string]: unknown;
8668
9019
  };
8669
9020
  content: {
8670
- "application/json": components["schemas"]["MerchantMovementListDto"];
9021
+ "application/json": components["schemas"]["DeleteMerchantResponseDto"];
8671
9022
  };
8672
9023
  };
8673
9024
  /** @description Validation failure. */
@@ -8697,6 +9048,7 @@ interface operations {
8697
9048
  "application/json": components["schemas"]["ApiErrorDto"];
8698
9049
  };
8699
9050
  };
9051
+ /** @description Merchant not found for this tenant. */
8700
9052
  404: {
8701
9053
  headers: {
8702
9054
  [name: string]: unknown;
@@ -8705,6 +9057,15 @@ interface operations {
8705
9057
  "application/json": components["schemas"]["ApiErrorDto"];
8706
9058
  };
8707
9059
  };
9060
+ /** @description merchant_has_payouts — merchant has payout history; deactivate instead. */
9061
+ 409: {
9062
+ headers: {
9063
+ [name: string]: unknown;
9064
+ };
9065
+ content: {
9066
+ "application/json": components["schemas"]["ApiErrorDto"];
9067
+ };
9068
+ };
8708
9069
  /** @description Client error. */
8709
9070
  "4XX": {
8710
9071
  headers: {
@@ -8725,28 +9086,27 @@ interface operations {
8725
9086
  };
8726
9087
  };
8727
9088
  };
8728
- Merchants_statement: {
9089
+ Merchants_update: {
8729
9090
  parameters: {
8730
- query: {
8731
- /** @description YYYY-MM. */
8732
- month: string;
8733
- /** @description Default json. */
8734
- format?: "json" | "csv";
8735
- };
9091
+ query?: never;
8736
9092
  header?: never;
8737
9093
  path: {
8738
9094
  id: string;
8739
9095
  };
8740
9096
  cookie?: never;
8741
9097
  };
8742
- requestBody?: never;
9098
+ requestBody: {
9099
+ content: {
9100
+ "application/json": components["schemas"]["UpdateMerchantDto"];
9101
+ };
9102
+ };
8743
9103
  responses: {
8744
9104
  200: {
8745
9105
  headers: {
8746
9106
  [name: string]: unknown;
8747
9107
  };
8748
9108
  content: {
8749
- "application/json": components["schemas"]["MerchantStatementDto"];
9109
+ "application/json": components["schemas"]["MerchantResponseDto"];
8750
9110
  };
8751
9111
  };
8752
9112
  /** @description Validation failure. */
@@ -8804,7 +9164,7 @@ interface operations {
8804
9164
  };
8805
9165
  };
8806
9166
  };
8807
- Merchants_getById: {
9167
+ Merchants_listAuditEvents: {
8808
9168
  parameters: {
8809
9169
  query?: never;
8810
9170
  header?: never;
@@ -8820,7 +9180,7 @@ interface operations {
8820
9180
  [name: string]: unknown;
8821
9181
  };
8822
9182
  content: {
8823
- "application/json": components["schemas"]["MerchantResponseDto"];
9183
+ "application/json": components["schemas"]["MerchantAuditEventListDto"];
8824
9184
  };
8825
9185
  };
8826
9186
  /** @description Validation failure. */
@@ -8878,10 +9238,13 @@ interface operations {
8878
9238
  };
8879
9239
  };
8880
9240
  };
8881
- Merchants_remove: {
9241
+ Merchants_startVerify: {
8882
9242
  parameters: {
8883
9243
  query?: never;
8884
- header?: never;
9244
+ header?: {
9245
+ /** @description Optional. Same key + same body within 24h replays the stored response (`Idempotent-Replayed: true`); a different body returns 409 `idempotency_key_reused`. */
9246
+ "Idempotency-Key"?: string;
9247
+ };
8885
9248
  path: {
8886
9249
  id: string;
8887
9250
  };
@@ -8889,12 +9252,12 @@ interface operations {
8889
9252
  };
8890
9253
  requestBody?: never;
8891
9254
  responses: {
8892
- 200: {
9255
+ 202: {
8893
9256
  headers: {
8894
9257
  [name: string]: unknown;
8895
9258
  };
8896
9259
  content: {
8897
- "application/json": components["schemas"]["DeleteMerchantResponseDto"];
9260
+ "application/json": components["schemas"]["VerifyStartResponseDto"];
8898
9261
  };
8899
9262
  };
8900
9263
  /** @description Validation failure. */
@@ -8924,7 +9287,6 @@ interface operations {
8924
9287
  "application/json": components["schemas"]["ApiErrorDto"];
8925
9288
  };
8926
9289
  };
8927
- /** @description Merchant not found for this tenant. */
8928
9290
  404: {
8929
9291
  headers: {
8930
9292
  [name: string]: unknown;
@@ -8933,15 +9295,6 @@ interface operations {
8933
9295
  "application/json": components["schemas"]["ApiErrorDto"];
8934
9296
  };
8935
9297
  };
8936
- /** @description merchant_has_payouts — merchant has payout history; deactivate instead. */
8937
- 409: {
8938
- headers: {
8939
- [name: string]: unknown;
8940
- };
8941
- content: {
8942
- "application/json": components["schemas"]["ApiErrorDto"];
8943
- };
8944
- };
8945
9298
  /** @description Client error. */
8946
9299
  "4XX": {
8947
9300
  headers: {
@@ -8962,10 +9315,13 @@ interface operations {
8962
9315
  };
8963
9316
  };
8964
9317
  };
8965
- Merchants_update: {
9318
+ Merchants_confirmVerify: {
8966
9319
  parameters: {
8967
9320
  query?: never;
8968
- header?: never;
9321
+ header?: {
9322
+ /** @description Optional. Same key + same body within 24h replays the stored response (`Idempotent-Replayed: true`); a different body returns 409 `idempotency_key_reused`. */
9323
+ "Idempotency-Key"?: string;
9324
+ };
8969
9325
  path: {
8970
9326
  id: string;
8971
9327
  };
@@ -8973,7 +9329,7 @@ interface operations {
8973
9329
  };
8974
9330
  requestBody: {
8975
9331
  content: {
8976
- "application/json": components["schemas"]["UpdateMerchantDto"];
9332
+ "application/json": components["schemas"]["ConfirmMerchantVerifyDto"];
8977
9333
  };
8978
9334
  };
8979
9335
  responses: {
@@ -8982,7 +9338,7 @@ interface operations {
8982
9338
  [name: string]: unknown;
8983
9339
  };
8984
9340
  content: {
8985
- "application/json": components["schemas"]["MerchantResponseDto"];
9341
+ "application/json": components["schemas"]["VerifyConfirmResponseDto"];
8986
9342
  };
8987
9343
  };
8988
9344
  /** @description Validation failure. */
@@ -9040,13 +9396,11 @@ interface operations {
9040
9396
  };
9041
9397
  };
9042
9398
  };
9043
- Merchants_listAuditEvents: {
9399
+ MarketplaceSettings_get: {
9044
9400
  parameters: {
9045
9401
  query?: never;
9046
9402
  header?: never;
9047
- path: {
9048
- id: string;
9049
- };
9403
+ path?: never;
9050
9404
  cookie?: never;
9051
9405
  };
9052
9406
  requestBody?: never;
@@ -9056,16 +9410,7 @@ interface operations {
9056
9410
  [name: string]: unknown;
9057
9411
  };
9058
9412
  content: {
9059
- "application/json": components["schemas"]["MerchantAuditEventListDto"];
9060
- };
9061
- };
9062
- /** @description Validation failure. */
9063
- 400: {
9064
- headers: {
9065
- [name: string]: unknown;
9066
- };
9067
- content: {
9068
- "application/json": components["schemas"]["ApiErrorDto"];
9413
+ "application/json": components["schemas"]["MarketplaceSettingsDto"];
9069
9414
  };
9070
9415
  };
9071
9416
  /** @description Missing, invalid, or inactive tenant API key. */
@@ -9086,14 +9431,6 @@ interface operations {
9086
9431
  "application/json": components["schemas"]["ApiErrorDto"];
9087
9432
  };
9088
9433
  };
9089
- 404: {
9090
- headers: {
9091
- [name: string]: unknown;
9092
- };
9093
- content: {
9094
- "application/json": components["schemas"]["ApiErrorDto"];
9095
- };
9096
- };
9097
9434
  /** @description Client error. */
9098
9435
  "4XX": {
9099
9436
  headers: {
@@ -9114,29 +9451,28 @@ interface operations {
9114
9451
  };
9115
9452
  };
9116
9453
  };
9117
- Merchants_startVerify: {
9454
+ MarketplaceSettings_update: {
9118
9455
  parameters: {
9119
9456
  query?: never;
9120
- header?: {
9121
- /** @description Optional. Same key + same body within 24h replays the stored response (`Idempotent-Replayed: true`); a different body returns 409 `idempotency_key_reused`. */
9122
- "Idempotency-Key"?: string;
9123
- };
9124
- path: {
9125
- id: string;
9126
- };
9457
+ header?: never;
9458
+ path?: never;
9127
9459
  cookie?: never;
9128
9460
  };
9129
- requestBody?: never;
9461
+ requestBody: {
9462
+ content: {
9463
+ "application/json": components["schemas"]["UpdateMarketplaceSettingsDto"];
9464
+ };
9465
+ };
9130
9466
  responses: {
9131
- 202: {
9467
+ 200: {
9132
9468
  headers: {
9133
9469
  [name: string]: unknown;
9134
9470
  };
9135
9471
  content: {
9136
- "application/json": components["schemas"]["VerifyStartResponseDto"];
9472
+ "application/json": components["schemas"]["MarketplaceSettingsDto"];
9137
9473
  };
9138
9474
  };
9139
- /** @description Validation failure. */
9475
+ /** @description `invalid_data` — unknown field or invalid value. */
9140
9476
  400: {
9141
9477
  headers: {
9142
9478
  [name: string]: unknown;
@@ -9163,14 +9499,6 @@ interface operations {
9163
9499
  "application/json": components["schemas"]["ApiErrorDto"];
9164
9500
  };
9165
9501
  };
9166
- 404: {
9167
- headers: {
9168
- [name: string]: unknown;
9169
- };
9170
- content: {
9171
- "application/json": components["schemas"]["ApiErrorDto"];
9172
- };
9173
- };
9174
9502
  /** @description Client error. */
9175
9503
  "4XX": {
9176
9504
  headers: {
@@ -9191,39 +9519,25 @@ interface operations {
9191
9519
  };
9192
9520
  };
9193
9521
  };
9194
- Merchants_confirmVerify: {
9522
+ Notifications_sendTest: {
9195
9523
  parameters: {
9196
9524
  query?: never;
9197
9525
  header?: {
9198
9526
  /** @description Optional. Same key + same body within 24h replays the stored response (`Idempotent-Replayed: true`); a different body returns 409 `idempotency_key_reused`. */
9199
9527
  "Idempotency-Key"?: string;
9200
9528
  };
9201
- path: {
9202
- id: string;
9203
- };
9529
+ path?: never;
9204
9530
  cookie?: never;
9205
9531
  };
9206
- requestBody: {
9207
- content: {
9208
- "application/json": components["schemas"]["ConfirmMerchantVerifyDto"];
9209
- };
9210
- };
9532
+ requestBody?: never;
9211
9533
  responses: {
9212
- 200: {
9213
- headers: {
9214
- [name: string]: unknown;
9215
- };
9216
- content: {
9217
- "application/json": components["schemas"]["VerifyConfirmResponseDto"];
9218
- };
9219
- };
9220
- /** @description Validation failure. */
9221
- 400: {
9534
+ /** @description Test event queued/delivered to matching endpoints. */
9535
+ 202: {
9222
9536
  headers: {
9223
9537
  [name: string]: unknown;
9224
9538
  };
9225
9539
  content: {
9226
- "application/json": components["schemas"]["ApiErrorDto"];
9540
+ "application/json": components["schemas"]["NotificationTestResponseDto"];
9227
9541
  };
9228
9542
  };
9229
9543
  /** @description Missing, invalid, or inactive tenant API key. */
@@ -9244,7 +9558,8 @@ interface operations {
9244
9558
  "application/json": components["schemas"]["ApiErrorDto"];
9245
9559
  };
9246
9560
  };
9247
- 404: {
9561
+ /** @description More than 10 test notifications in 10 minutes. */
9562
+ 429: {
9248
9563
  headers: {
9249
9564
  [name: string]: unknown;
9250
9565
  };
@@ -10462,74 +10777,6 @@ interface operations {
10462
10777
  };
10463
10778
  };
10464
10779
  };
10465
- Notifications_sendTest: {
10466
- parameters: {
10467
- query?: never;
10468
- header?: {
10469
- /** @description Optional. Same key + same body within 24h replays the stored response (`Idempotent-Replayed: true`); a different body returns 409 `idempotency_key_reused`. */
10470
- "Idempotency-Key"?: string;
10471
- };
10472
- path?: never;
10473
- cookie?: never;
10474
- };
10475
- requestBody?: never;
10476
- responses: {
10477
- /** @description Test event queued/delivered to matching endpoints. */
10478
- 202: {
10479
- headers: {
10480
- [name: string]: unknown;
10481
- };
10482
- content: {
10483
- "application/json": components["schemas"]["NotificationTestResponseDto"];
10484
- };
10485
- };
10486
- /** @description Missing, invalid, or inactive tenant API key. */
10487
- 401: {
10488
- headers: {
10489
- [name: string]: unknown;
10490
- };
10491
- content: {
10492
- "application/json": components["schemas"]["ApiErrorDto"];
10493
- };
10494
- };
10495
- /** @description Live mode not activated (`live_mode_not_activated`): the live account is pending VEX Pay review or suspended. Test keys are unaffected. */
10496
- 403: {
10497
- headers: {
10498
- [name: string]: unknown;
10499
- };
10500
- content: {
10501
- "application/json": components["schemas"]["ApiErrorDto"];
10502
- };
10503
- };
10504
- /** @description More than 10 test notifications in 10 minutes. */
10505
- 429: {
10506
- headers: {
10507
- [name: string]: unknown;
10508
- };
10509
- content: {
10510
- "application/json": components["schemas"]["ApiErrorDto"];
10511
- };
10512
- };
10513
- /** @description Client error. */
10514
- "4XX": {
10515
- headers: {
10516
- [name: string]: unknown;
10517
- };
10518
- content: {
10519
- "application/json": components["schemas"]["ApiErrorDto"];
10520
- };
10521
- };
10522
- /** @description Server or upstream bank error. */
10523
- "5XX": {
10524
- headers: {
10525
- [name: string]: unknown;
10526
- };
10527
- content: {
10528
- "application/json": components["schemas"]["ApiErrorDto"];
10529
- };
10530
- };
10531
- };
10532
- };
10533
10780
  Customers_list: {
10534
10781
  parameters: {
10535
10782
  query?: {
@@ -12744,7 +12991,7 @@ declare class PagePromise<Page extends CursorPage<Item>, Item = Page['items'][nu
12744
12991
 
12745
12992
  type OperationId = keyof operations;
12746
12993
 
12747
- /** Every request/response schema in the VEXPay API, e.g. `Schemas['PaymentReceiptDto']`. */
12994
+ /** Every request/response schema in the VEX Pay API, e.g. `Schemas['PaymentReceiptDto']`. */
12748
12995
  type Schemas = components['schemas'];
12749
12996
  type Params<O extends OperationId> = operations[O]['parameters'];
12750
12997
  type PathParams<O extends OperationId> = NonNullable<Params<O>['path']>;
@@ -13095,12 +13342,14 @@ declare class Payouts extends APIResource {
13095
13342
  settledAt?: string | null;
13096
13343
  }>;
13097
13344
  }
13098
- /** The account your own VEXPay earnings are paid out to. */
13345
+ /** The account your own VEX Pay earnings are paid out to. */
13099
13346
  declare class TenantPayoutAccount extends APIResource {
13100
13347
  retrieve(options?: RequestOptions): Promise<{
13101
13348
  accountId: string;
13102
13349
  bankCode: string;
13350
+ type: "pago_movil" | "bank_account";
13103
13351
  destination: string;
13352
+ holderName?: string | null;
13104
13353
  identification: string;
13105
13354
  eligibility: "pending_verification" | "verifying" | "cooling" | "eligible" | "rejected" | "locked";
13106
13355
  status: "pending_verification" | "verifying" | "verified" | "rejected";
@@ -13114,7 +13363,9 @@ declare class TenantPayoutAccount extends APIResource {
13114
13363
  upsert(params: RequestBody<'TenantPayoutAccount_upsert'>, options?: RequestOptions): Promise<{
13115
13364
  accountId: string;
13116
13365
  bankCode: string;
13366
+ type: "pago_movil" | "bank_account";
13117
13367
  destination: string;
13368
+ holderName?: string | null;
13118
13369
  identification: string;
13119
13370
  eligibility: "pending_verification" | "verifying" | "cooling" | "eligible" | "rejected" | "locked";
13120
13371
  status: "pending_verification" | "verifying" | "verified" | "rejected";
@@ -13128,7 +13379,9 @@ declare class TenantPayoutAccount extends APIResource {
13128
13379
  create(params: RequestBody<'TenantPayoutAccount_upsertPost'>, options?: RequestOptions): Promise<{
13129
13380
  accountId: string;
13130
13381
  bankCode: string;
13382
+ type: "pago_movil" | "bank_account";
13131
13383
  destination: string;
13384
+ holderName?: string | null;
13132
13385
  identification: string;
13133
13386
  eligibility: "pending_verification" | "verifying" | "cooling" | "eligible" | "rejected" | "locked";
13134
13387
  status: "pending_verification" | "verifying" | "verified" | "rejected";
@@ -13149,7 +13402,7 @@ declare class TenantPayoutAccount extends APIResource {
13149
13402
  payoutEligibleAt: string;
13150
13403
  }>;
13151
13404
  }
13152
- /** Where VEXPay delivers signed webhooks. */
13405
+ /** Where VEX Pay delivers signed webhooks. */
13153
13406
  declare class WebhookEndpoints extends APIResource {
13154
13407
  /** The response includes the signing `secret` — store it to verify deliveries. */
13155
13408
  create(params: RequestBody<'Webhooks_createWebhook'>, options?: RequestOptions): Promise<{
@@ -13595,7 +13848,7 @@ declare class Invoices extends APIResource {
13595
13848
  createdAt: string;
13596
13849
  livemode: boolean;
13597
13850
  }>;
13598
- /** Record an open invoice as paid outside VEXPay (`paidOutOfBand: true`); no money moves. */
13851
+ /** Record an open invoice as paid outside VEX Pay (`paidOutOfBand: true`); no money moves. */
13599
13852
  pay(id: string, params: RequestBody<'Invoices_pay'>, options?: RequestOptions): Promise<{
13600
13853
  id: string;
13601
13854
  object: string;
@@ -13935,7 +14188,7 @@ declare class ConversionSettings extends APIResource {
13935
14188
  }
13936
14189
  /**
13937
14190
  * Convert available VES or COP into your USDT balance. Accepting a quote debits the source at once
13938
- * (`conversion.created`); the conversion is `PENDING` until VEXPay delivers the USDT
14191
+ * (`conversion.created`); the conversion is `PENDING` until VEX Pay delivers the USDT
13939
14192
  * (`conversion.completed`). Enabled per account.
13940
14193
  */
13941
14194
  declare class Conversions extends APIResource {
@@ -14339,8 +14592,21 @@ declare class PayoutMethods extends APIResource {
14339
14592
  payoutMethodId: string;
14340
14593
  }>;
14341
14594
  }
14595
+ /** Marketplace comercio auto-payout: the default for new merchants and the payout minimum. */
14596
+ declare class MarketplaceSettings extends APIResource {
14597
+ retrieve(options?: RequestOptions): Promise<{
14598
+ merchantAutoPayoutDefault: boolean;
14599
+ merchantAutoPayoutMinUsd?: string | null;
14600
+ }>;
14601
+ /** `merchantAutoPayoutDefault` and/or `merchantAutoPayoutMinUsd` (USD; null clears it). */
14602
+ update(params: RequestBody<'MarketplaceSettings_update'>, options?: RequestOptions): Promise<{
14603
+ merchantAutoPayoutDefault: boolean;
14604
+ merchantAutoPayoutMinUsd?: string | null;
14605
+ }>;
14606
+ }
14342
14607
  declare class Merchants extends APIResource {
14343
14608
  readonly payoutMethods: PayoutMethods;
14609
+ readonly marketplaceSettings: MarketplaceSettings;
14344
14610
  /** `externalRef` is required and is the idempotency key for merchant creation. */
14345
14611
  create(params: RequestBody<'Merchants_create'>, options?: RequestOptions): Promise<{
14346
14612
  merchantId: string;
@@ -14507,6 +14773,7 @@ declare class Merchants extends APIResource {
14507
14773
  description: string;
14508
14774
  transferKey?: string;
14509
14775
  paymentId?: string | null;
14776
+ splitReference?: string;
14510
14777
  payoutId?: string | null;
14511
14778
  availableAt?: string | null;
14512
14779
  amountUsd?: string;
@@ -14575,6 +14842,7 @@ declare class C2p extends APIResource {
14575
14842
  reversalRef?: string;
14576
14843
  reversalTxId?: number;
14577
14844
  onwardPayout?: components["schemas"]["OnwardPayoutStatusDto"];
14845
+ splits?: components["schemas"]["PaymentSplitViewDto"][];
14578
14846
  intentId: string;
14579
14847
  otpRequested: boolean;
14580
14848
  }>;
@@ -14610,6 +14878,7 @@ declare class C2p extends APIResource {
14610
14878
  reversalRef?: string;
14611
14879
  reversalTxId?: number;
14612
14880
  onwardPayout?: components["schemas"]["OnwardPayoutStatusDto"];
14881
+ splits?: components["schemas"]["PaymentSplitViewDto"][];
14613
14882
  }>;
14614
14883
  }
14615
14884
  /** Card payments (VPOS). Prefer the hosted/embedded checkout so card data never touches your servers. */
@@ -14645,6 +14914,7 @@ declare class Vpos extends APIResource {
14645
14914
  reversalRef?: string;
14646
14915
  reversalTxId?: number;
14647
14916
  onwardPayout?: components["schemas"]["OnwardPayoutStatusDto"];
14917
+ splits?: components["schemas"]["PaymentSplitViewDto"][];
14648
14918
  }>;
14649
14919
  }
14650
14920
  /** Confirm a Pago Móvil the customer already sent to you. */
@@ -14694,6 +14964,7 @@ declare class PagoMovil extends APIResource {
14694
14964
  reversalRef?: string;
14695
14965
  reversalTxId?: number;
14696
14966
  onwardPayout?: components["schemas"]["OnwardPayoutStatusDto"];
14967
+ splits?: components["schemas"]["PaymentSplitViewDto"][];
14697
14968
  }>;
14698
14969
  }
14699
14970
  /** Débito inmediato (advanced payments, enabled per account). */
@@ -14837,6 +15108,7 @@ declare class Payments extends APIResource {
14837
15108
  reversalRef?: string;
14838
15109
  reversalTxId?: number;
14839
15110
  onwardPayout?: components["schemas"]["OnwardPayoutStatusDto"];
15111
+ splits?: components["schemas"]["PaymentSplitViewDto"][];
14840
15112
  }>;
14841
15113
  /** Look up a payment by the `externalRef` you sent. */
14842
15114
  retrieveByRef(externalRef: string, options?: RequestOptions): Promise<{
@@ -14870,6 +15142,7 @@ declare class Payments extends APIResource {
14870
15142
  reversalRef?: string;
14871
15143
  reversalTxId?: number;
14872
15144
  onwardPayout?: components["schemas"]["OnwardPayoutStatusDto"];
15145
+ splits?: components["schemas"]["PaymentSplitViewDto"][];
14873
15146
  }>;
14874
15147
  /** Reverse a completed C2P payment. */
14875
15148
  reverse(id: string, options?: RequestOptions): Promise<{
@@ -14903,6 +15176,7 @@ declare class Payments extends APIResource {
14903
15176
  reversalRef?: string;
14904
15177
  reversalTxId?: number;
14905
15178
  onwardPayout?: components["schemas"]["OnwardPayoutStatusDto"];
15179
+ splits?: components["schemas"]["PaymentSplitViewDto"][];
14906
15180
  }>;
14907
15181
  }
14908
15182
 
@@ -15105,7 +15379,7 @@ declare class VexPayConflictError extends VexPayError {
15105
15379
  /** 429 — too many requests. Retried automatically before surfacing. */
15106
15380
  declare class VexPayRateLimitError extends VexPayError {
15107
15381
  }
15108
- /** 5xx — VEXPay or an upstream bank failed. Retried automatically before surfacing. */
15382
+ /** 5xx — VEX Pay or an upstream bank failed. Retried automatically before surfacing. */
15109
15383
  declare class VexPayAPIError extends VexPayError {
15110
15384
  }
15111
15385
  /** The request never got an HTTP answer (DNS, refused, reset). */
@@ -15118,6 +15392,6 @@ declare class VexPayTimeoutError extends VexPayConnectionError {
15118
15392
  declare class VexPaySignatureVerificationError extends VexPayError {
15119
15393
  }
15120
15394
 
15121
- declare const VERSION = "0.15.0";
15395
+ declare const VERSION = "0.17.0";
15122
15396
 
15123
15397
  export { type CopPaymentWebhookData, type CursorPage, DEFAULT_BASE_URL, DEFAULT_TOLERANCE_SECONDS, type OperationId, PagePromise, type PathParams, type PaymentWebhookData, type QueryParams, type RequestBody, type RequestOptions, type ResponseBody, SIGNATURE_HEADER, type Schemas, VERSION, VexPay, VexPayAPIError, VexPayAuthenticationError, VexPayConfigurationError, VexPayConflictError, VexPayConnectionError, VexPayError, VexPayInvalidRequestError, VexPayNotFoundError, type VexPayOptions, VexPayRateLimitError, VexPaySignatureVerificationError, VexPayTimeoutError, WEBHOOK_EVENT_NAMES, type WebhookEvent, type WebhookEventName, Webhooks, VexPay as default };