@spritz-finance/api-client 0.18.2 → 0.19.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.
@@ -41887,6 +41887,49 @@ declare class BillService {
41887
41887
  add(institutionId: string, accountNumber: string, type?: BillType): Promise<CreateUSBill_addUSBill>;
41888
41888
  }
41889
41889
 
41890
+ type ComplianceRequirements = PathResponse<'/v1/users/me/compliance/requirements', 'get'>;
41891
+ type ComplianceRequirementField = ComplianceRequirements['fields'][number];
41892
+ type SubmitComplianceRequest = PathRequestBody<'/v1/users/me/compliance', 'post'>;
41893
+ type SubmitComplianceResponse = PathResponse<'/v1/users/me/compliance', 'post'>;
41894
+ declare class ComplianceService {
41895
+ private client;
41896
+ constructor(client: SpritzClient);
41897
+ /**
41898
+ * Fetch the additional compliance fields the authenticated user's region requires
41899
+ * (`GET /v1/users/me/compliance/requirements`).
41900
+ *
41901
+ * Users outside a regulated region get `required: false` with an empty `fields`
41902
+ * array. While `complete` is false, capabilities for the region are gated behind a
41903
+ * `regional_compliance` requirement on `user.getMe()`.
41904
+ */
41905
+ getRequirements(): Promise<{
41906
+ required: boolean;
41907
+ region: string | null;
41908
+ complete: boolean;
41909
+ deadline: string | null;
41910
+ fields: {
41911
+ field: string;
41912
+ status: "complete" | "missing";
41913
+ }[];
41914
+ }>;
41915
+ /**
41916
+ * Submit the regional compliance fields (`POST /v1/users/me/compliance`).
41917
+ *
41918
+ * All required fields must be supplied together: a partial submission is rejected
41919
+ * with field-level errors on `error.problem.errors` rather than being stored.
41920
+ * `placeOfBirth.country` and `nationalities` are ISO 3166-1 alpha-3 codes, and
41921
+ * `accountPurposeOther` is required when `accountPurpose` is `'other'`.
41922
+ *
41923
+ * `bridgeCustomerUpdated` is false when the user has not accepted the provider's
41924
+ * terms yet. The fields are stored and included when the customer is created, so
41925
+ * this is not a failure.
41926
+ */
41927
+ submit(input: SubmitComplianceRequest): Promise<{
41928
+ complianceFieldsComplete: boolean;
41929
+ bridgeCustomerUpdated: boolean;
41930
+ }>;
41931
+ }
41932
+
41890
41933
  interface CreateDebitCard_createDebitCard {
41891
41934
  __typename: 'DebitCard';
41892
41935
  id: string;
@@ -42259,6 +42302,8 @@ type SetAchDebitExposureCapResponse = PathResponse<'/v1/sandbox/ach-debit/exposu
42259
42302
  type LinkBankAccountRequest = PathRequestBody<'/v1/sandbox/bank-accounts/link', 'post'>;
42260
42303
  type LinkBankAccountResponse = PathResponse<'/v1/sandbox/bank-accounts/link', 'post'>;
42261
42304
  type DeleteFundingSourceResponse = PathResponse<'/v1/sandbox/funding-sources/{fundingSourceId}', 'delete'>;
42305
+ type SimulateAutoRampDepositRequest = PathRequestBody<'/v1/sandbox/auto-ramp-accounts/{id}/deposit', 'post'>;
42306
+ type SimulateAutoRampDepositResponse = PathResponse<'/v1/sandbox/auto-ramp-accounts/{id}/deposit', 'post'>;
42262
42307
  declare class SandboxService {
42263
42308
  private client;
42264
42309
  constructor(client: SpritzClient);
@@ -42481,6 +42526,42 @@ declare class SandboxService {
42481
42526
  id: string;
42482
42527
  deleted: true;
42483
42528
  }>;
42529
+ /**
42530
+ * Simulate a fiat deposit arriving in an auto-ramp account and settling to crypto
42531
+ * (`POST /v1/sandbox/auto-ramp-accounts/{id}/deposit`). This is the only way to make
42532
+ * an auto-ramp account settle in sandbox. The on-ramp it produces is an ordinary one:
42533
+ * follow `onRampId` with `onrampPayment.get()`.
42534
+ *
42535
+ * `amount` is in the account's own currency. Pass `settle: false` to leave the
42536
+ * deposit at `processing`, then pass the returned `depositId` back to advance that
42537
+ * same on-ramp. `gasFee` sets the network fee the provider reports (defaults to
42538
+ * `0.00`); `exchangeFee` sets the conversion fee, which is otherwise derived from the
42539
+ * provider's live bid/ask spread. Set both for a predictable fee breakdown.
42540
+ *
42541
+ * Only available in sandbox environments — returns 403 in production.
42542
+ */
42543
+ simulateAutoRampDeposit(accountId: string, input: SimulateAutoRampDepositRequest): Promise<{
42544
+ onRampId: string;
42545
+ depositId: string;
42546
+ status: "awaiting_payment" | "processing" | "partially_delivered" | "completed" | "cancelled" | "failed" | "reversed" | "refunded" | "in_review";
42547
+ input: {
42548
+ amount: string;
42549
+ currency: string;
42550
+ };
42551
+ fees: {
42552
+ total: string;
42553
+ currency: string;
42554
+ breakdown: {
42555
+ platform: string;
42556
+ exchange: string;
42557
+ network: string;
42558
+ };
42559
+ };
42560
+ output: {
42561
+ amount: string;
42562
+ token: string;
42563
+ };
42564
+ }>;
42484
42565
  }
42485
42566
 
42486
42567
  type OffRampRefundRequest = PathRequestBody<'/v1/off-ramps/{offRampId}/refund', 'post'>;
@@ -42527,6 +42608,205 @@ declare class OfframpService {
42527
42608
  }>;
42528
42609
  }
42529
42610
 
42611
+ type CreateOffRampQuoteRequest = PathRequestBody<'/v1/off-ramp-quotes/', 'post'>;
42612
+ type OffRampQuote = PathResponse<'/v1/off-ramp-quotes/', 'post'>;
42613
+ type OffRampQuoteTransactionRequest = PathRequestBody<'/v1/off-ramp-quotes/{quoteId}/transaction', 'post'>;
42614
+ type OffRampQuoteTransaction = PathResponse<'/v1/off-ramp-quotes/{quoteId}/transaction', 'post'>;
42615
+ type SubmitOffRampQuoteRequest = PathRequestBody<'/v1/off-ramp-quotes/{quoteId}/submit', 'post'>;
42616
+ declare class OffRampQuoteService {
42617
+ private client;
42618
+ constructor(client: SpritzClient);
42619
+ /**
42620
+ * Create a quote to convert crypto to fiat (`POST /v1/off-ramp-quotes/`).
42621
+ *
42622
+ * Check `fulfillment` on the response for the next step: `sign_transaction` means
42623
+ * call `getTransaction`, sign and broadcast; `send_to_address` means send exactly
42624
+ * `sendTo.amount` to `sendTo.address` before `sendTo.expiresAt`.
42625
+ *
42626
+ * `amountMode` defaults to `output`, which fixes the destination fiat amount. EUR
42627
+ * destinations require `input`: `amount` is then the exact USD value collected and
42628
+ * `output.amount` is an estimate (`output.estimated` is `true`).
42629
+ *
42630
+ * `tokenAddress` is optional in the type but required on every chain except
42631
+ * Bitcoin and Dash; a request without it is rejected with a 400.
42632
+ *
42633
+ * **This endpoint does not support an idempotency key.** A retry creates a second
42634
+ * quote. A quote that is never funded ends as `expired`.
42635
+ */
42636
+ create(input: CreateOffRampQuoteRequest): Promise<{
42637
+ id: string;
42638
+ fulfillment: "sign_transaction" | "send_to_address";
42639
+ status: "created" | "transaction_pending" | "transaction_failed" | "insufficient_funds" | "confirmed" | "completed" | "expired" | "failed" | "refunded";
42640
+ createdAt: string;
42641
+ input: {
42642
+ amount: string;
42643
+ currency: "USD";
42644
+ tokenAddress: string;
42645
+ chain: "ethereum" | "polygon" | "arbitrum" | "base" | "optimism" | "avalanche" | "binance-smart-chain" | "solana" | "bitcoin" | "dash" | "tron" | "sui" | "hyperevm" | "monad" | "sonic" | "unichain";
42646
+ };
42647
+ output: {
42648
+ amount: string;
42649
+ currency: string;
42650
+ rail: "ach_standard" | "ach_same_day" | "rtp" | "wire" | "eft" | "sepa" | "faster_payments" | "push_to_card" | "bill_pay" | "card_deposit";
42651
+ accountId: string;
42652
+ estimated: boolean;
42653
+ exchangeRate: {
42654
+ baseCurrency: "USD";
42655
+ quoteCurrency: string;
42656
+ rate: string;
42657
+ } | null;
42658
+ };
42659
+ fees: {
42660
+ amount: string;
42661
+ currency: "USD";
42662
+ };
42663
+ sendTo: {
42664
+ address: string;
42665
+ amount: string;
42666
+ token: string;
42667
+ expiresAt: string;
42668
+ } | null;
42669
+ confirmation: {
42670
+ transactionHash: string;
42671
+ explorerUrl: string;
42672
+ } | null;
42673
+ offRampId: string | null;
42674
+ }>;
42675
+ get(quoteId: string): Promise<{
42676
+ id: string;
42677
+ fulfillment: "sign_transaction" | "send_to_address";
42678
+ status: "created" | "transaction_pending" | "transaction_failed" | "insufficient_funds" | "confirmed" | "completed" | "expired" | "failed" | "refunded";
42679
+ createdAt: string;
42680
+ input: {
42681
+ amount: string;
42682
+ currency: "USD";
42683
+ tokenAddress: string;
42684
+ chain: "ethereum" | "polygon" | "arbitrum" | "base" | "optimism" | "avalanche" | "binance-smart-chain" | "solana" | "bitcoin" | "dash" | "tron" | "sui" | "hyperevm" | "monad" | "sonic" | "unichain";
42685
+ };
42686
+ output: {
42687
+ amount: string;
42688
+ currency: string;
42689
+ rail: "ach_standard" | "ach_same_day" | "rtp" | "wire" | "eft" | "sepa" | "faster_payments" | "push_to_card" | "bill_pay" | "card_deposit";
42690
+ accountId: string;
42691
+ estimated: boolean;
42692
+ exchangeRate: {
42693
+ baseCurrency: "USD";
42694
+ quoteCurrency: string;
42695
+ rate: string;
42696
+ } | null;
42697
+ };
42698
+ fees: {
42699
+ amount: string;
42700
+ currency: "USD";
42701
+ };
42702
+ sendTo: {
42703
+ address: string;
42704
+ amount: string;
42705
+ token: string;
42706
+ expiresAt: string;
42707
+ } | null;
42708
+ confirmation: {
42709
+ transactionHash: string;
42710
+ explorerUrl: string;
42711
+ } | null;
42712
+ offRampId: string | null;
42713
+ }>;
42714
+ /**
42715
+ * Get the transaction to sign for a `sign_transaction` quote
42716
+ * (`POST /v1/off-ramp-quotes/{quoteId}/transaction`).
42717
+ *
42718
+ * Branch on `type`: `evm` returns `contractAddress`, `calldata` and `value` to build the
42719
+ * transaction; `solana` and `sui` return a base64 `transactionSerialized` to sign as-is.
42720
+ * Nothing is stored: it only prepares the transaction.
42721
+ *
42722
+ * Solana and Sui transactions are built for `senderAddress`, so pass it on those chains.
42723
+ * `feePayer` is Solana only and defaults to `senderAddress`. The body is always sent,
42724
+ * as `{}` when `input` is omitted.
42725
+ *
42726
+ * Throws a `BadRequestError` (400) with problem code `sender_address_required` on a
42727
+ * Solana or Sui quote without `senderAddress`, and an `UnprocessableEntityError` (422)
42728
+ * on a `send_to_address` quote (Bitcoin, Dash, Tron), which has no transaction to sign.
42729
+ */
42730
+ getTransaction(quoteId: string, input?: OffRampQuoteTransactionRequest): Promise<{
42731
+ type: "evm";
42732
+ chain: string;
42733
+ inputToken: string;
42734
+ outputToken: string;
42735
+ requiredTokenInput: string;
42736
+ contractAddress: string;
42737
+ calldata: string;
42738
+ method: string;
42739
+ value: string | null;
42740
+ } | {
42741
+ type: "solana";
42742
+ chain: string;
42743
+ inputToken: string;
42744
+ outputToken: string;
42745
+ requiredTokenInput: string;
42746
+ recipientAddress: string;
42747
+ transactionSerialized: string;
42748
+ } | {
42749
+ type: "sui";
42750
+ chain: string;
42751
+ inputToken: string;
42752
+ outputToken: string;
42753
+ requiredTokenInput: string;
42754
+ recipientAddress: string;
42755
+ transactionSerialized: string;
42756
+ }>;
42757
+ /**
42758
+ * Report the on-chain transaction broadcast for a quote
42759
+ * (`POST /v1/off-ramp-quotes/{quoteId}/submit`).
42760
+ *
42761
+ * Optional: the chain watcher detects the transaction on its own. Reporting it moves
42762
+ * the quote to `transaction_pending` without waiting for the watcher; `confirmed` still
42763
+ * comes from the chain. Works for both fulfillment types. `offRampId` on the response
42764
+ * can still be `null`: read the quote again with `get` to pick it up.
42765
+ *
42766
+ * Safe to retry with the same hash, including after a timeout. Throws a
42767
+ * `BadRequestError` (400) when a different hash is already on record for the quote.
42768
+ */
42769
+ submit(quoteId: string, input: SubmitOffRampQuoteRequest): Promise<{
42770
+ id: string;
42771
+ fulfillment: "sign_transaction" | "send_to_address";
42772
+ status: "created" | "transaction_pending" | "transaction_failed" | "insufficient_funds" | "confirmed" | "completed" | "expired" | "failed" | "refunded";
42773
+ createdAt: string;
42774
+ input: {
42775
+ amount: string;
42776
+ currency: "USD";
42777
+ tokenAddress: string;
42778
+ chain: "ethereum" | "polygon" | "arbitrum" | "base" | "optimism" | "avalanche" | "binance-smart-chain" | "solana" | "bitcoin" | "dash" | "tron" | "sui" | "hyperevm" | "monad" | "sonic" | "unichain";
42779
+ };
42780
+ output: {
42781
+ amount: string;
42782
+ currency: string;
42783
+ rail: "ach_standard" | "ach_same_day" | "rtp" | "wire" | "eft" | "sepa" | "faster_payments" | "push_to_card" | "bill_pay" | "card_deposit";
42784
+ accountId: string;
42785
+ estimated: boolean;
42786
+ exchangeRate: {
42787
+ baseCurrency: "USD";
42788
+ quoteCurrency: string;
42789
+ rate: string;
42790
+ } | null;
42791
+ };
42792
+ fees: {
42793
+ amount: string;
42794
+ currency: "USD";
42795
+ };
42796
+ sendTo: {
42797
+ address: string;
42798
+ amount: string;
42799
+ token: string;
42800
+ expiresAt: string;
42801
+ } | null;
42802
+ confirmation: {
42803
+ transactionHash: string;
42804
+ explorerUrl: string;
42805
+ } | null;
42806
+ offRampId: string | null;
42807
+ }>;
42808
+ }
42809
+
42530
42810
  interface CreateOnrampPayment_createOnrampPayment_depositInstructions {
42531
42811
  __typename: 'OnrampPaymentDepositInstructions';
42532
42812
  amount: number;
@@ -42738,6 +43018,149 @@ declare class VirtualAccountsService {
42738
43018
  create(input: CreateVirtualAccountInput): Promise<CreateVirtualAccount_createVirtualAccount>;
42739
43019
  }
42740
43020
 
43021
+ type AutoRampAccountList = PathResponse<'/v1/auto-ramp-accounts/', 'get'>;
43022
+ type AutoRampAccount = AutoRampAccountList[number];
43023
+ type CreateAutoRampAccountRequest = PathRequestBody<'/v1/auto-ramp-accounts/', 'post'>;
43024
+ type AutoRampAccountEstimate = PathResponse<'/v1/auto-ramp-accounts/{id}/estimate', 'get'>;
43025
+ declare class AutoRampAccountService {
43026
+ private client;
43027
+ constructor(client: SpritzClient);
43028
+ list(): Promise<{
43029
+ id: string;
43030
+ depositInstructions: {
43031
+ bankName: string;
43032
+ bankAddress: string;
43033
+ paymentRails: string[];
43034
+ type: "us";
43035
+ bankRoutingNumber: string;
43036
+ bankAccountNumber: string;
43037
+ } | {
43038
+ bankName: string;
43039
+ bankAddress: string;
43040
+ paymentRails: string[];
43041
+ type: "iban";
43042
+ iban: string;
43043
+ bic?: string;
43044
+ };
43045
+ network: string;
43046
+ address: string;
43047
+ token: string;
43048
+ currency: string;
43049
+ status: "active" | "inactive";
43050
+ createdAt: string;
43051
+ }[]>;
43052
+ get(accountId: string): Promise<{
43053
+ id: string;
43054
+ depositInstructions: {
43055
+ bankName: string;
43056
+ bankAddress: string;
43057
+ paymentRails: string[];
43058
+ type: "us";
43059
+ bankRoutingNumber: string;
43060
+ bankAccountNumber: string;
43061
+ } | {
43062
+ bankName: string;
43063
+ bankAddress: string;
43064
+ paymentRails: string[];
43065
+ type: "iban";
43066
+ iban: string;
43067
+ bic?: string;
43068
+ };
43069
+ network: string;
43070
+ address: string;
43071
+ token: string;
43072
+ currency: string;
43073
+ status: "active" | "inactive";
43074
+ createdAt: string;
43075
+ }>;
43076
+ /**
43077
+ * Create an auto-ramp account (`POST /v1/auto-ramp-accounts/`): a virtual bank
43078
+ * account in the user's name that converts fiat deposits to `token` and sends them
43079
+ * to `address` on `network`.
43080
+ *
43081
+ * Branch on `depositInstructions.type` in the response: `us` carries routing and
43082
+ * account numbers, `iban` carries the IBAN and BIC for SEPA. Confirm `status` is
43083
+ * `active` before telling a user to deposit.
43084
+ *
43085
+ * The address must be valid for the network, and the network/token pair must be
43086
+ * supported in the user's region; otherwise a `BadRequestError` (400) names the
43087
+ * `field` (`address` or `network`).
43088
+ *
43089
+ * **This endpoint does not support an idempotency key.** After a timeout or lost
43090
+ * reply, call `list()` and look for the account before creating it again.
43091
+ *
43092
+ * This is the REST replacement for the legacy GraphQL `virtualAccounts.create()`.
43093
+ */
43094
+ create(input: CreateAutoRampAccountRequest): Promise<{
43095
+ id: string;
43096
+ depositInstructions: {
43097
+ bankName: string;
43098
+ bankAddress: string;
43099
+ paymentRails: string[];
43100
+ type: "us";
43101
+ bankRoutingNumber: string;
43102
+ bankAccountNumber: string;
43103
+ } | {
43104
+ bankName: string;
43105
+ bankAddress: string;
43106
+ paymentRails: string[];
43107
+ type: "iban";
43108
+ iban: string;
43109
+ bic?: string;
43110
+ };
43111
+ network: string;
43112
+ address: string;
43113
+ token: string;
43114
+ currency: string;
43115
+ status: "active" | "inactive";
43116
+ createdAt: string;
43117
+ }>;
43118
+ /**
43119
+ * Estimate what depositing `amount` into this account is expected to cost
43120
+ * (`GET /v1/auto-ramp-accounts/{id}/estimate`). `amount` is a decimal string in the
43121
+ * account's own currency, e.g. `'2525.00'`.
43122
+ *
43123
+ * An estimate, not a quote: no rate is locked. The fee is this account's, so do not
43124
+ * reuse an estimate across accounts. `fees.maximum` and `output.minimum` are omitted
43125
+ * until enough deposits have settled on the network; do not promise a user a
43126
+ * ceiling or a floor when they are absent.
43127
+ *
43128
+ * When no estimate can be produced, branch on `error.problem.code`:
43129
+ * `rate_unavailable` (503, transient: retry), `unsupported_currency_pair` (400,
43130
+ * permanent) or `exchange_rate_provider_error` (502).
43131
+ */
43132
+ estimate(accountId: string, amount: string): Promise<{
43133
+ input: {
43134
+ amount: string;
43135
+ currency: string;
43136
+ };
43137
+ fees: {
43138
+ total: string;
43139
+ currency: string;
43140
+ breakdown: {
43141
+ platform: string;
43142
+ exchange: string;
43143
+ network: string;
43144
+ };
43145
+ estimated: ("platform" | "exchange" | "network")[];
43146
+ maximum?: string;
43147
+ networkFeeSamples: number;
43148
+ };
43149
+ output: {
43150
+ amount: string;
43151
+ minimum?: string;
43152
+ token: string;
43153
+ network: string;
43154
+ address: string;
43155
+ };
43156
+ rate: {
43157
+ value: string;
43158
+ source: "provider" | "peg";
43159
+ asOf: string;
43160
+ };
43161
+ }>;
43162
+ }
43163
+
42741
43164
  interface PaymentLimitsResponse {
42742
43165
  perTransaction: number;
42743
43166
  dailyLimit: number;
@@ -42789,6 +43212,33 @@ declare class PaymentRequestService {
42789
43212
  }>;
42790
43213
  }
42791
43214
 
43215
+ type AcceptTermsRequest = PathRequestBody<'/v1/users/me/terms', 'post'>;
43216
+ type AcceptTermsResponse = PathResponse<'/v1/users/me/terms', 'post'>;
43217
+ declare class TermsService {
43218
+ private client;
43219
+ constructor(client: SpritzClient);
43220
+ /**
43221
+ * Record acceptance of the terms a capability requires (`POST /v1/users/me/terms`).
43222
+ *
43223
+ * `agreementId` is the signed agreement id the user obtained from the provider's
43224
+ * hosted flow, whose URL is the `actionUrl` of the outstanding `terms_acceptance`
43225
+ * requirement on `user.getMe()`. It is opaque: the platform resolves which provider
43226
+ * it belongs to.
43227
+ *
43228
+ * Branch on `termsAccepted`: it is `true` when the agreement was recorded and terms
43229
+ * are now accepted.
43230
+ *
43231
+ * **This endpoint does not accept an idempotency key.** If a request times out, call
43232
+ * `user.getMe()` and check whether the `terms_acceptance` requirement is still
43233
+ * outstanding before submitting again.
43234
+ *
43235
+ * This is the REST replacement for the legacy GraphQL `onramp.acceptTermsOfService()`.
43236
+ */
43237
+ accept(input: AcceptTermsRequest): Promise<{
43238
+ termsAccepted: boolean;
43239
+ }>;
43240
+ }
43241
+
42792
43242
  interface GetVerificationParams_getVerificationParams {
42793
43243
  __typename: 'VerificationParams';
42794
43244
  inquiryId: string;
@@ -42895,6 +43345,17 @@ interface AuthorizeApiKeyParams {
42895
43345
  declare class UserService {
42896
43346
  private client;
42897
43347
  constructor(client: SpritzClient);
43348
+ /**
43349
+ * Create a user under the integrator and return their API key.
43350
+ *
43351
+ * With integrator HMAC credentials (`integrationKey` + `integratorSecret`, as issued
43352
+ * by the Developer Console) this calls `POST /v1/integrator/users` on the REST API.
43353
+ * Without a secret it uses the legacy `/users/integration` route, which does not
43354
+ * accept Developer Console credentials.
43355
+ *
43356
+ * On the REST route an email that already exists is rejected with a `ConflictError`
43357
+ * (409); use Spritz Connect to have that user authorize the integrator instead.
43358
+ */
42898
43359
  createUser(args: CreateUserParams): Promise<CreateUserResponse>;
42899
43360
  create(args: CreateUserParams): Promise<CreateUserResponse>;
42900
43361
  requestApiKey(email: string): Promise<RequestApiKeyResponse>;
@@ -43157,6 +43618,8 @@ declare class SpritzApiClient {
43157
43618
  private client;
43158
43619
  user: UserService;
43159
43620
  verification: VerificationService;
43621
+ compliance: ComplianceService;
43622
+ terms: TermsService;
43160
43623
  bankAccount: BankAccountService;
43161
43624
  debitCard: DebitCardService;
43162
43625
  deposit: DepositService;
@@ -43168,7 +43631,9 @@ declare class SpritzApiClient {
43168
43631
  onrampPayment: OnrampPaymentService;
43169
43632
  onramp: OnrampService;
43170
43633
  offramp: OfframpService;
43634
+ offRampQuote: OffRampQuoteService;
43171
43635
  virtualAccounts: VirtualAccountsService;
43636
+ autoRampAccount: AutoRampAccountService;
43172
43637
  virtualCard: VirtualCardService;
43173
43638
  bill: BillService;
43174
43639
  institution: InstitutionService;
@@ -43329,4 +43794,4 @@ declare function hasProblemCode<T extends string>(error: unknown, code: T): erro
43329
43794
  };
43330
43795
 
43331
43796
  export { APIConnectionError, APIConnectionTimeoutError, APIError, APIUserAbortError, AmountMode, AuthenticationError, BadRequestError, BankAccountSubType, BankAccountType, BillType, CardFeatureType, ConflictError, DebitCardNetwork, Environment, InternalServerError, NotFoundError, OfframpFeatureType, OnrampFeatureType, PayableAccountType, PaymentDeliveryMethod, PaymentNetwork, DirectPaymentStatus as PaymentRequestStatus, PaymentStatus, PermissionDeniedError, RateLimitError, RequirementType, SpritzApiClient, SpritzApiError, UnprocessableEntityError, VirtualCardType, hasProblemCode, hasProblemType, isAPIError, onrampSupportedTokens };
43332
- export type { AccountPayments, AccountPaymentsVariables, AccountPayments_paymentsForAccount, AccountPayments_paymentsForAccount_transaction, AchDebitEligibilityRequest, AchDebitEligibilityResponse, AchDebitExposureResponse, AchDebitReturn, AchDebitReturnListQuery, AchDebitReturnListResponse, BankAccount, BankAccountFragment, BankAccountFragment_bankAccountDetails, BankAccountFragment_bankAccountDetails_CanadianBankAccountDetails, BankAccountFragment_bankAccountDetails_USBankAccountDetails, BankAccountFragment_institution, BankAccountFragment_paymentAddresses, BankAccountInput, BankAccountList, BillFragment, BillFragment_billAccountDetails, BillFragment_dataSync, BillFragment_institution, BillFragment_paymentAddresses, BypassKycRequest, CategoryAccess, ClientOptions, CompleteLinkingRequest, CompleteLinkingResponse, CreateBankAccountInput, CreateBankAccountResponse, CreateDepositOptions, CreateDepositRequest, CreateDepositWithReturnRequest, CreateDepositWithReturnResponse, CreateDirectPaymentInput, CreateOnrampPaymentInput, CreatePaymentRequestInput, CreateVirtualAccountInput, CreateWebhookParams, CurrentUser, CurrentUser_me, CurrentUser_verification, CurrentUser_verification_identity, CurrentUser_verification_identity_verificationMetadata, CurrentUser_verification_identity_verificationMetadata_details, DebitCardFragment, DebitCardInput, DeleteBankAccountResponse, DeleteFundingSourceResponse, Deposit, DepositListQuery, DepositListResponse, FullBridgeUser, FundingSource, FundingSourceDepositLimits, GetSolanaPayParams, GetSolanaPayParamsVariables, GetSolanaPayParams_solanaParams, GetSpritzPayParams, GetSpritzPayParamsVariables, GetSpritzPayParams_spritzPayParams, IntegratorWebhook, KycStatus, LinkBankAccountRequest, LinkBankAccountResponse, LinkTokenResponse, OffRampRefundRequest, OffRampRefundResponse, OnRamp, OnRampDetail, OnRampListQuery, OnRampListResponse, OnrampPaymentFragment, OnrampPaymentFragment_depositInstructions, OnrampPayments, OnrampPayments_onrampPayments, OnrampPayments_onrampPayments_depositInstructions, PathParams, PathQuery, PathRequestBody, PathResponse, PayableAccountFragment, PayableAccountFragment_BankAccount, PayableAccountFragment_BankAccount_bankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_CanadianBankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_USBankAccountDetails, PayableAccountFragment_BankAccount_dataSync, PayableAccountFragment_BankAccount_institution, PayableAccountFragment_Bill, PayableAccountFragment_Bill_billAccountDetails, PayableAccountFragment_Bill_dataSync, PayableAccountFragment_Bill_institution, PayableAccountFragment_DebitCard, PayableAccountFragment_DebitCard_dataSync, PayableAccountFragment_DebitCard_institution, PayableAccountFragment_VirtualCard, PayableAccountFragment_VirtualCard_billingInfo, PayableAccountFragment_VirtualCard_billingInfo_address, PayableAccountFragment_VirtualCard_dataSync, PayableAccountFragment_VirtualCard_institution, PayableAccountInstitutionFragment, Payment, PaymentFragment, PaymentFragment_transaction, PaymentLimits, PaymentLimitsResponse, PaymentLimitsVariables, PaymentLimits_paymentLimits, PaymentRequestFragment, PaymentRequestPayment, PaymentRequestPaymentVariables, PaymentRequestPayment_paymentForPaymentRequest, PaymentRequestPayment_paymentForPaymentRequest_transaction, PaymentVariables, Payment_payment, Payment_payment_transaction, PopularBillInstitutions, PopularBillInstitutionsVariables, PopularBillInstitutions_popularUSBillInstitutions, PrepareDepositRequest, PrepareDepositResponse, PrepareDepositWithProgramControlRequest, PrepareDepositWithProgramControlResponse, ProblemDetails, ProblemFieldError, ProblemSuggestedAction, Requirement, operations as RestApiOperations, paths as RestApiPaths, SearchUSBillInstitutions, SearchUSBillInstitutionsVariables, SearchUSBillInstitutions_searchUSBillInstitutions, SetAchDebitExposureCapRequest, SetAchDebitExposureCapResponse, TokenBalanceFragment, UpdateWebhookParams, UpdateWebhookSecretResponse, UserAccess, UserAccessCapabilities, UserAccess_bridgeUser, UserAccess_me, UserAccess_verification, UserAccess_verification_identity, UserAccess_verification_identity_verificationMetadata, UserAccess_verification_identity_verificationMetadata_details, UserBankAccounts, UserBankAccounts_bankAccounts, UserBankAccounts_bankAccounts_bankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_CanadianBankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_USBankAccountDetails, UserBankAccounts_bankAccounts_institution, UserBankAccounts_bankAccounts_paymentAddresses, UserBills, UserBills_bills, UserBills_bills_billAccountDetails, UserBills_bills_dataSync, UserBills_bills_institution, UserBills_bills_paymentAddresses, UserDebitCards, UserDebitCards_debitCards, UserFragment, UserPayableAccounts, UserPayableAccounts_payableAccounts, UserPayableAccounts_payableAccounts_BankAccount, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_CanadianBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_USBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_dataSync, UserPayableAccounts_payableAccounts_BankAccount_institution, UserPayableAccounts_payableAccounts_Bill, UserPayableAccounts_payableAccounts_Bill_billAccountDetails, UserPayableAccounts_payableAccounts_Bill_dataSync, UserPayableAccounts_payableAccounts_Bill_institution, UserPayableAccounts_payableAccounts_DebitCard, UserPayableAccounts_payableAccounts_DebitCard_dataSync, UserPayableAccounts_payableAccounts_DebitCard_institution, UserPayableAccounts_payableAccounts_VirtualCard, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo_address, UserPayableAccounts_payableAccounts_VirtualCard_dataSync, UserPayableAccounts_payableAccounts_VirtualCard_institution, UserProfile, UserVerification, UserVerification_verification, UserVerification_verification_identity, UserVerification_verification_identity_user, UserVerification_verification_identity_verificationMetadata, UserVerification_verification_identity_verificationMetadata_details, UserVirtualDebitCard, UserVirtualDebitCard_virtualDebitCard, UserVirtualDebitCard_virtualDebitCard_billingInfo, UserVirtualDebitCard_virtualDebitCard_billingInfo_address, UserVirtualDebitCard_virtualDebitCard_paymentAddresses, VerificationFragment, VerificationFragment_identity, VerificationFragment_identity_verificationMetadata, VerificationFragment_identity_verificationMetadata_details, VerificationSession, VirtualAccountFragment, VirtualAccountFragment_depositInstructions, VirtualAccounts, VirtualAccounts_virtualAccounts, VirtualAccounts_virtualAccounts_depositInstructions, VirtualDebitCardFragment, VirtualDebitCardFragment_billingInfo, VirtualDebitCardFragment_billingInfo_address, VirtualDebitCardFragment_paymentAddresses, WalletTokenBalances, WalletTokenBalancesVariables, WalletTokenBalances_tokenBalances, WebhookEvent };
43797
+ export type { AcceptTermsRequest, AcceptTermsResponse, AccountPayments, AccountPaymentsVariables, AccountPayments_paymentsForAccount, AccountPayments_paymentsForAccount_transaction, AchDebitEligibilityRequest, AchDebitEligibilityResponse, AchDebitExposureResponse, AchDebitReturn, AchDebitReturnListQuery, AchDebitReturnListResponse, AutoRampAccount, AutoRampAccountEstimate, AutoRampAccountList, BankAccount, BankAccountFragment, BankAccountFragment_bankAccountDetails, BankAccountFragment_bankAccountDetails_CanadianBankAccountDetails, BankAccountFragment_bankAccountDetails_USBankAccountDetails, BankAccountFragment_institution, BankAccountFragment_paymentAddresses, BankAccountInput, BankAccountList, BillFragment, BillFragment_billAccountDetails, BillFragment_dataSync, BillFragment_institution, BillFragment_paymentAddresses, BypassKycRequest, CategoryAccess, ClientOptions, CompleteLinkingRequest, CompleteLinkingResponse, ComplianceRequirementField, ComplianceRequirements, CreateAutoRampAccountRequest, CreateBankAccountInput, CreateBankAccountResponse, CreateDepositOptions, CreateDepositRequest, CreateDepositWithReturnRequest, CreateDepositWithReturnResponse, CreateDirectPaymentInput, CreateOffRampQuoteRequest, CreateOnrampPaymentInput, CreatePaymentRequestInput, CreateVirtualAccountInput, CreateWebhookParams, CurrentUser, CurrentUser_me, CurrentUser_verification, CurrentUser_verification_identity, CurrentUser_verification_identity_verificationMetadata, CurrentUser_verification_identity_verificationMetadata_details, DebitCardFragment, DebitCardInput, DeleteBankAccountResponse, DeleteFundingSourceResponse, Deposit, DepositListQuery, DepositListResponse, FullBridgeUser, FundingSource, FundingSourceDepositLimits, GetSolanaPayParams, GetSolanaPayParamsVariables, GetSolanaPayParams_solanaParams, GetSpritzPayParams, GetSpritzPayParamsVariables, GetSpritzPayParams_spritzPayParams, IntegratorWebhook, KycStatus, LinkBankAccountRequest, LinkBankAccountResponse, LinkTokenResponse, OffRampQuote, OffRampQuoteTransaction, OffRampQuoteTransactionRequest, OffRampRefundRequest, OffRampRefundResponse, OnRamp, OnRampDetail, OnRampListQuery, OnRampListResponse, OnrampPaymentFragment, OnrampPaymentFragment_depositInstructions, OnrampPayments, OnrampPayments_onrampPayments, OnrampPayments_onrampPayments_depositInstructions, PathParams, PathQuery, PathRequestBody, PathResponse, PayableAccountFragment, PayableAccountFragment_BankAccount, PayableAccountFragment_BankAccount_bankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_CanadianBankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_USBankAccountDetails, PayableAccountFragment_BankAccount_dataSync, PayableAccountFragment_BankAccount_institution, PayableAccountFragment_Bill, PayableAccountFragment_Bill_billAccountDetails, PayableAccountFragment_Bill_dataSync, PayableAccountFragment_Bill_institution, PayableAccountFragment_DebitCard, PayableAccountFragment_DebitCard_dataSync, PayableAccountFragment_DebitCard_institution, PayableAccountFragment_VirtualCard, PayableAccountFragment_VirtualCard_billingInfo, PayableAccountFragment_VirtualCard_billingInfo_address, PayableAccountFragment_VirtualCard_dataSync, PayableAccountFragment_VirtualCard_institution, PayableAccountInstitutionFragment, Payment, PaymentFragment, PaymentFragment_transaction, PaymentLimits, PaymentLimitsResponse, PaymentLimitsVariables, PaymentLimits_paymentLimits, PaymentRequestFragment, PaymentRequestPayment, PaymentRequestPaymentVariables, PaymentRequestPayment_paymentForPaymentRequest, PaymentRequestPayment_paymentForPaymentRequest_transaction, PaymentVariables, Payment_payment, Payment_payment_transaction, PopularBillInstitutions, PopularBillInstitutionsVariables, PopularBillInstitutions_popularUSBillInstitutions, PrepareDepositRequest, PrepareDepositResponse, PrepareDepositWithProgramControlRequest, PrepareDepositWithProgramControlResponse, ProblemDetails, ProblemFieldError, ProblemSuggestedAction, Requirement, operations as RestApiOperations, paths as RestApiPaths, SearchUSBillInstitutions, SearchUSBillInstitutionsVariables, SearchUSBillInstitutions_searchUSBillInstitutions, SetAchDebitExposureCapRequest, SetAchDebitExposureCapResponse, SimulateAutoRampDepositRequest, SimulateAutoRampDepositResponse, SubmitComplianceRequest, SubmitComplianceResponse, SubmitOffRampQuoteRequest, TokenBalanceFragment, UpdateWebhookParams, UpdateWebhookSecretResponse, UserAccess, UserAccessCapabilities, UserAccess_bridgeUser, UserAccess_me, UserAccess_verification, UserAccess_verification_identity, UserAccess_verification_identity_verificationMetadata, UserAccess_verification_identity_verificationMetadata_details, UserBankAccounts, UserBankAccounts_bankAccounts, UserBankAccounts_bankAccounts_bankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_CanadianBankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_USBankAccountDetails, UserBankAccounts_bankAccounts_institution, UserBankAccounts_bankAccounts_paymentAddresses, UserBills, UserBills_bills, UserBills_bills_billAccountDetails, UserBills_bills_dataSync, UserBills_bills_institution, UserBills_bills_paymentAddresses, UserDebitCards, UserDebitCards_debitCards, UserFragment, UserPayableAccounts, UserPayableAccounts_payableAccounts, UserPayableAccounts_payableAccounts_BankAccount, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_CanadianBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_USBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_dataSync, UserPayableAccounts_payableAccounts_BankAccount_institution, UserPayableAccounts_payableAccounts_Bill, UserPayableAccounts_payableAccounts_Bill_billAccountDetails, UserPayableAccounts_payableAccounts_Bill_dataSync, UserPayableAccounts_payableAccounts_Bill_institution, UserPayableAccounts_payableAccounts_DebitCard, UserPayableAccounts_payableAccounts_DebitCard_dataSync, UserPayableAccounts_payableAccounts_DebitCard_institution, UserPayableAccounts_payableAccounts_VirtualCard, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo_address, UserPayableAccounts_payableAccounts_VirtualCard_dataSync, UserPayableAccounts_payableAccounts_VirtualCard_institution, UserProfile, UserVerification, UserVerification_verification, UserVerification_verification_identity, UserVerification_verification_identity_user, UserVerification_verification_identity_verificationMetadata, UserVerification_verification_identity_verificationMetadata_details, UserVirtualDebitCard, UserVirtualDebitCard_virtualDebitCard, UserVirtualDebitCard_virtualDebitCard_billingInfo, UserVirtualDebitCard_virtualDebitCard_billingInfo_address, UserVirtualDebitCard_virtualDebitCard_paymentAddresses, VerificationFragment, VerificationFragment_identity, VerificationFragment_identity_verificationMetadata, VerificationFragment_identity_verificationMetadata_details, VerificationSession, VirtualAccountFragment, VirtualAccountFragment_depositInstructions, VirtualAccounts, VirtualAccounts_virtualAccounts, VirtualAccounts_virtualAccounts_depositInstructions, VirtualDebitCardFragment, VirtualDebitCardFragment_billingInfo, VirtualDebitCardFragment_billingInfo_address, VirtualDebitCardFragment_paymentAddresses, WalletTokenBalances, WalletTokenBalancesVariables, WalletTokenBalances_tokenBalances, WebhookEvent };