@spritz-finance/api-client 0.0.12 → 0.1.1

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/README.md CHANGED
@@ -21,27 +21,26 @@ A Typescript library for interacting with the Spritz Finance API
21
21
  ## Usage
22
22
 
23
23
  Your integration key is provided by Spritz and must always be provided.
24
- The api key is specific to each user,
25
- and is returned once the user is created. Leave the api key blank if you haven't created the user yet.
24
+ The api key is specific to each user,
25
+ and is returned once the user is created. Leave the api key blank if you haven't created the user yet.
26
26
 
27
27
  ```typescript
28
28
  import { SpritzApiClient, Environment } from '@spritz-finance/api-client'
29
29
 
30
30
  const client = SpritzApiClient.initialize({
31
31
  environment: Environment.Staging,
32
- apiKey: 'YOUR_USER_API_KEY_HERE',
32
+ apiKey: 'YOUR_USER_API_KEY_HERE',
33
33
  integrationKey: 'YOUR_INTEGRATION_KEY_HERE',
34
34
  })
35
35
  ```
36
36
 
37
37
  ## User Creation
38
38
 
39
- You start the process by transmitting the user's email address.
39
+ A new Spritz user can be created by supplying the user's email address.
40
40
 
41
41
  ```typescript
42
- // Fetch all bank accounts for the user
43
- const user = await client.user.createUser({
44
- email: "bilbo@shiremail.net"
42
+ const user = await client.user.create({
43
+ email: 'bilbo@shiremail.net',
45
44
  })
46
45
 
47
46
  // user = {
@@ -49,8 +48,6 @@ const user = await client.user.createUser({
49
48
  // userId: "62d17d3b377dab6c1342136e",
50
49
  // apiKey: "ak_ZTBGDcjfdTg3NmYtZDJlZC00ZjYyLThlMDMtZmYwNDJiZDRlMWZm"
51
50
  // }
52
-
53
-
54
51
  ```
55
52
 
56
53
  Once the user is created, set the api client to use the user's api key:
@@ -199,6 +196,64 @@ To remove a bank account from a user's account, you can use the following endpoi
199
196
  await client.bankAccounts.delete('62d17d3b377dab6c1342136e')
200
197
  ```
201
198
 
199
+ ## Virtual Cards
200
+
201
+ Spritz enables the creation of virtual cards, which can be funded using cryptocurrency. Similar to bank accounts, these virtual cards represent an additional type of payable account provided by Spritz. Utilize the endpoints detailed below to interact with the Virtual Card API.
202
+
203
+ ### Fetch a users virtual card
204
+
205
+ The fetch endpoint returns an object encompassing all the details associated with the virtual card. Please note, this object does not include sensitive card information such as the card number or the CVV.
206
+
207
+ ```typescript
208
+ const virtualCard = await client.virtualCard.fetch()
209
+ ```
210
+
211
+ #### Example response
212
+
213
+ ```typescript
214
+ const virtualCard = {
215
+ id: '62d17d3b377dab6c1342136e',
216
+ type: 'VirtualCard',
217
+ virtualCardType: 'USVirtualDebitCard',
218
+ userId: '62d17d3b377dab6c1342136e',
219
+ mask: '0001',
220
+ country: 'US',
221
+ currency: 'USD',
222
+ balance: 0,
223
+ renderSecret: 'U2FsdGVkX18bLYGYLILf4AeW5fOl8VYxAvKWVDtbZI5DO7swFqkJ2o',
224
+ billingInfo: {
225
+ holder: 'Bilbo Baggins',
226
+ phone: '+123456789',
227
+ email: 'bilbo@shiremail.net',
228
+ address: {
229
+ street: '1 Bagshot Row',
230
+ street2: '',
231
+ city: 'Hobbiton',
232
+ subdivision: 'The Shire',
233
+ postalCose: '12345',
234
+ countryCode: 'ME',
235
+ },
236
+ },
237
+ }
238
+ ```
239
+
240
+ ### Create a US virtual debit card
241
+
242
+ ```typescript
243
+ import { VirtualCardType } from '@spritz-finance/api-client'
244
+
245
+ const virtualCard = await client.virtualCard.create(VirtualCardType.USVirtualDebitCard)
246
+ ```
247
+
248
+ ### Displaying sensitive card details
249
+
250
+ In order to display the sensitive card details necessary for a user to make payments, you must utilize our drop-in widget, which securely renders the card. This process requires the renderSecret, returned from the standard fetch card endpoint, in combination with the user's API key.
251
+
252
+ We currently offer and maintain the following packages to assist with the card rendering process:
253
+
254
+ - [React Library](https://www.npmjs.com/package/@spritz-finance/react-secure-elements)
255
+ - [React Native Library](https://www.npmjs.com/package/@spritz-finance/react-native-secure-elements)
256
+
202
257
  ## Payment Requests
203
258
 
204
259
  A payment request refers to the intent to initiate a payment to a specific account. Once a payment request is created, a blockchain transaction is required to fulfill it. After the blockchain transaction settles, the payment request is completed, and a fiat payment is issued to the designated account.
@@ -78,117 +78,6 @@ interface USBankAccountInput {
78
78
  subType: BankAccountSubType;
79
79
  }
80
80
 
81
- interface CreateUSBankAccount_createUSBankAccount_bankAccountDetails_CanadianBankAccountDetails {
82
- __typename: 'CanadianBankAccountDetails';
83
- }
84
- interface CreateUSBankAccount_createUSBankAccount_bankAccountDetails_USBankAccountDetails {
85
- __typename: 'USBankAccountDetails';
86
- routingNumber: string;
87
- }
88
- type CreateUSBankAccount_createUSBankAccount_bankAccountDetails = CreateUSBankAccount_createUSBankAccount_bankAccountDetails_CanadianBankAccountDetails | CreateUSBankAccount_createUSBankAccount_bankAccountDetails_USBankAccountDetails;
89
- interface CreateUSBankAccount_createUSBankAccount_institution {
90
- __typename: 'BankAccountInstitution' | 'BillInstitution';
91
- id: string;
92
- name: string;
93
- logo: string | null;
94
- country: string;
95
- currency: string;
96
- }
97
- interface CreateUSBankAccount_createUSBankAccount {
98
- __typename: 'BankAccount';
99
- id: string;
100
- name: string | null;
101
- userId: string;
102
- country: string;
103
- currency: string;
104
- createdAt: any;
105
- type: PayableAccountType;
106
- accountNumber: string;
107
- bankAccountType: BankAccountType;
108
- bankAccountSubType: BankAccountSubType;
109
- holder: string;
110
- email: string;
111
- ownedByUser: boolean;
112
- bankAccountDetails: CreateUSBankAccount_createUSBankAccount_bankAccountDetails;
113
- institution: CreateUSBankAccount_createUSBankAccount_institution | null;
114
- }
115
- interface CreateUSBankAccount {
116
- createUSBankAccount: CreateUSBankAccount_createUSBankAccount;
117
- }
118
- interface CreateUSBankAccountVariables {
119
- createUSAccountInput: USBankAccountInput;
120
- }
121
-
122
- interface DeleteBankAccount_deletePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails {
123
- __typename: 'CanadianBankAccountDetails';
124
- }
125
- interface DeleteBankAccount_deletePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails {
126
- __typename: 'USBankAccountDetails';
127
- routingNumber: string;
128
- }
129
- type DeleteBankAccount_deletePayableAccount_BankAccount_bankAccountDetails = DeleteBankAccount_deletePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails | DeleteBankAccount_deletePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails;
130
- interface DeleteBankAccount_deletePayableAccount_BankAccount_institution {
131
- __typename: 'BankAccountInstitution' | 'BillInstitution';
132
- id: string;
133
- name: string;
134
- logo: string | null;
135
- country: string;
136
- currency: string;
137
- }
138
- interface DeleteBankAccount_deletePayableAccount_BankAccount {
139
- __typename: 'BankAccount';
140
- id: string;
141
- name: string | null;
142
- userId: string;
143
- country: string;
144
- currency: string;
145
- createdAt: any;
146
- type: PayableAccountType;
147
- accountNumber: string;
148
- bankAccountType: BankAccountType;
149
- bankAccountSubType: BankAccountSubType;
150
- holder: string;
151
- email: string;
152
- ownedByUser: boolean;
153
- bankAccountDetails: DeleteBankAccount_deletePayableAccount_BankAccount_bankAccountDetails;
154
- institution: DeleteBankAccount_deletePayableAccount_BankAccount_institution | null;
155
- }
156
-
157
- interface RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails {
158
- __typename: 'CanadianBankAccountDetails';
159
- }
160
- interface RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails {
161
- __typename: 'USBankAccountDetails';
162
- routingNumber: string;
163
- }
164
- type RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails = RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails | RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails;
165
- interface RenameBankAccount_renamePayableAccount_BankAccount_institution {
166
- __typename: 'BankAccountInstitution' | 'BillInstitution';
167
- id: string;
168
- name: string;
169
- logo: string | null;
170
- country: string;
171
- currency: string;
172
- }
173
- interface RenameBankAccount_renamePayableAccount_BankAccount {
174
- __typename: 'BankAccount';
175
- id: string;
176
- name: string | null;
177
- userId: string;
178
- country: string;
179
- currency: string;
180
- createdAt: any;
181
- type: PayableAccountType;
182
- accountNumber: string;
183
- bankAccountType: BankAccountType;
184
- bankAccountSubType: BankAccountSubType;
185
- holder: string;
186
- email: string;
187
- ownedByUser: boolean;
188
- bankAccountDetails: RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails;
189
- institution: RenameBankAccount_renamePayableAccount_BankAccount_institution | null;
190
- }
191
-
192
81
  interface AccountPayments_paymentsForAccount {
193
82
  __typename: 'Payment';
194
83
  id: string;
@@ -711,6 +600,117 @@ interface WalletTokenBalancesVariables {
711
600
  network?: string | null;
712
601
  }
713
602
 
603
+ interface CreateUSBankAccount_createUSBankAccount_bankAccountDetails_CanadianBankAccountDetails {
604
+ __typename: 'CanadianBankAccountDetails';
605
+ }
606
+ interface CreateUSBankAccount_createUSBankAccount_bankAccountDetails_USBankAccountDetails {
607
+ __typename: 'USBankAccountDetails';
608
+ routingNumber: string;
609
+ }
610
+ type CreateUSBankAccount_createUSBankAccount_bankAccountDetails = CreateUSBankAccount_createUSBankAccount_bankAccountDetails_CanadianBankAccountDetails | CreateUSBankAccount_createUSBankAccount_bankAccountDetails_USBankAccountDetails;
611
+ interface CreateUSBankAccount_createUSBankAccount_institution {
612
+ __typename: 'BankAccountInstitution' | 'BillInstitution';
613
+ id: string;
614
+ name: string;
615
+ logo: string | null;
616
+ country: string;
617
+ currency: string;
618
+ }
619
+ interface CreateUSBankAccount_createUSBankAccount {
620
+ __typename: 'BankAccount';
621
+ id: string;
622
+ name: string | null;
623
+ userId: string;
624
+ country: string;
625
+ currency: string;
626
+ createdAt: any;
627
+ type: PayableAccountType;
628
+ accountNumber: string;
629
+ bankAccountType: BankAccountType;
630
+ bankAccountSubType: BankAccountSubType;
631
+ holder: string;
632
+ email: string;
633
+ ownedByUser: boolean;
634
+ bankAccountDetails: CreateUSBankAccount_createUSBankAccount_bankAccountDetails;
635
+ institution: CreateUSBankAccount_createUSBankAccount_institution | null;
636
+ }
637
+ interface CreateUSBankAccount {
638
+ createUSBankAccount: CreateUSBankAccount_createUSBankAccount;
639
+ }
640
+ interface CreateUSBankAccountVariables {
641
+ createUSAccountInput: USBankAccountInput;
642
+ }
643
+
644
+ interface DeletePayableAccount_deletePayableAccount_BankAccount_institution {
645
+ __typename: 'BankAccountInstitution' | 'BillInstitution';
646
+ id: string;
647
+ name: string;
648
+ logo: string | null;
649
+ country: string;
650
+ currency: string;
651
+ }
652
+ interface DeletePayableAccount_deletePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails {
653
+ __typename: 'CanadianBankAccountDetails';
654
+ }
655
+ interface DeletePayableAccount_deletePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails {
656
+ __typename: 'USBankAccountDetails';
657
+ routingNumber: string;
658
+ }
659
+ type DeletePayableAccount_deletePayableAccount_BankAccount_bankAccountDetails = DeletePayableAccount_deletePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails | DeletePayableAccount_deletePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails;
660
+ interface DeletePayableAccount_deletePayableAccount_BankAccount {
661
+ __typename: 'BankAccount';
662
+ id: string;
663
+ name: string | null;
664
+ userId: string;
665
+ country: string;
666
+ currency: string;
667
+ createdAt: any;
668
+ type: PayableAccountType;
669
+ institution: DeletePayableAccount_deletePayableAccount_BankAccount_institution | null;
670
+ accountNumber: string;
671
+ bankAccountType: BankAccountType;
672
+ bankAccountSubType: BankAccountSubType;
673
+ holder: string;
674
+ email: string;
675
+ ownedByUser: boolean;
676
+ bankAccountDetails: DeletePayableAccount_deletePayableAccount_BankAccount_bankAccountDetails;
677
+ }
678
+
679
+ interface RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails {
680
+ __typename: 'CanadianBankAccountDetails';
681
+ }
682
+ interface RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails {
683
+ __typename: 'USBankAccountDetails';
684
+ routingNumber: string;
685
+ }
686
+ type RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails = RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails | RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails;
687
+ interface RenameBankAccount_renamePayableAccount_BankAccount_institution {
688
+ __typename: 'BankAccountInstitution' | 'BillInstitution';
689
+ id: string;
690
+ name: string;
691
+ logo: string | null;
692
+ country: string;
693
+ currency: string;
694
+ }
695
+ interface RenameBankAccount_renamePayableAccount_BankAccount {
696
+ __typename: 'BankAccount';
697
+ id: string;
698
+ name: string | null;
699
+ userId: string;
700
+ country: string;
701
+ currency: string;
702
+ createdAt: any;
703
+ type: PayableAccountType;
704
+ accountNumber: string;
705
+ bankAccountType: BankAccountType;
706
+ bankAccountSubType: BankAccountSubType;
707
+ holder: string;
708
+ email: string;
709
+ ownedByUser: boolean;
710
+ bankAccountDetails: RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails;
711
+ institution: RenameBankAccount_renamePayableAccount_BankAccount_institution | null;
712
+ }
713
+
714
714
  interface QueryParams<V = any> {
715
715
  query: DocumentNode;
716
716
  variables?: V;
@@ -722,10 +722,10 @@ declare class GraphClient {
722
722
  query<Q = any, V = any>({ query, variables }: QueryParams<V>): Promise<Q>;
723
723
  }
724
724
 
725
- type CreateInputMapping = {
725
+ type CreateInputMapping$1 = {
726
726
  [BankAccountType.USBankAccount]: USBankAccountInput;
727
727
  };
728
- type CreateMutationMapping = {
728
+ type CreateMutationMapping$1 = {
729
729
  [BankAccountType.USBankAccount]: {
730
730
  query: CreateUSBankAccount;
731
731
  variables: CreateUSBankAccountVariables;
@@ -737,8 +737,8 @@ declare class BankAccountService {
737
737
  constructor(client: GraphClient);
738
738
  list(): Promise<UserBankAccounts_bankAccounts[]>;
739
739
  rename(accountId: string, name: string): Promise<RenameBankAccount_renamePayableAccount_BankAccount>;
740
- delete(accountId: string): Promise<DeleteBankAccount_deletePayableAccount_BankAccount>;
741
- create<T extends BankAccountType>(type: T, input: CreateInputMapping[T]): Promise<NonNullable<CreateMutationMapping[T]["query"][keyof CreateMutationMapping[T]["query"]]> | null>;
740
+ delete(accountId: string): Promise<DeletePayableAccount_deletePayableAccount_BankAccount>;
741
+ create<T extends BankAccountType>(type: T, input: CreateInputMapping$1[T]): Promise<NonNullable<CreateMutationMapping$1[T]["query"][keyof CreateMutationMapping$1[T]["query"]]> | null>;
742
742
  }
743
743
 
744
744
  declare class PaymentService {
@@ -809,6 +809,58 @@ declare class UserService {
809
809
  getUserVerification(): Promise<UserVerification_verification | null>;
810
810
  }
811
811
 
812
+ interface CreateUSVirtualDebitCard_createUSVirtualDebitCard_billingInfo_address {
813
+ __typename: 'CardHolderAddress';
814
+ street: string | null;
815
+ street2: string | null;
816
+ city: string | null;
817
+ subdivision: string | null;
818
+ postalCode: string | null;
819
+ countryCode: string | null;
820
+ }
821
+ interface CreateUSVirtualDebitCard_createUSVirtualDebitCard_billingInfo {
822
+ __typename: 'BillingInfo';
823
+ holder: string;
824
+ phone: string;
825
+ email: string;
826
+ address: CreateUSVirtualDebitCard_createUSVirtualDebitCard_billingInfo_address | null;
827
+ }
828
+ interface CreateUSVirtualDebitCard_createUSVirtualDebitCard {
829
+ __typename: 'VirtualCard';
830
+ id: string;
831
+ name: string | null;
832
+ userId: string;
833
+ country: string;
834
+ currency: string;
835
+ createdAt: any;
836
+ type: PayableAccountType;
837
+ mask: string | null;
838
+ balance: number;
839
+ renderSecret: string | null;
840
+ virtualCardType: VirtualCardType;
841
+ billingInfo: CreateUSVirtualDebitCard_createUSVirtualDebitCard_billingInfo | null;
842
+ }
843
+ interface CreateUSVirtualDebitCard {
844
+ createUSVirtualDebitCard: CreateUSVirtualDebitCard_createUSVirtualDebitCard;
845
+ }
846
+
847
+ type CreateInputMapping = {
848
+ [VirtualCardType.USVirtualDebitCard]: undefined;
849
+ };
850
+ type CreateMutationMapping = {
851
+ [VirtualCardType.USVirtualDebitCard]: {
852
+ query: CreateUSVirtualDebitCard;
853
+ variables: undefined;
854
+ response: keyof CreateUSVirtualDebitCard;
855
+ };
856
+ };
857
+ declare class VirtualCardService {
858
+ private client;
859
+ constructor(client: GraphClient);
860
+ fetch(): Promise<UserVirtualDebitCard_virtualDebitCard | null>;
861
+ create<T extends VirtualCardType>(type: T, input: CreateInputMapping[T]): Promise<NonNullable<CreateMutationMapping[T]["query"][keyof CreateMutationMapping[T]["query"]]> | null>;
862
+ }
863
+
812
864
  type ClientParams = {
813
865
  environment: Environment;
814
866
  apiKey: string;
@@ -823,10 +875,11 @@ declare class SpritzApiClient {
823
875
  bankAccount: BankAccountService;
824
876
  paymentRequest: PaymentRequestService;
825
877
  payment: PaymentService;
878
+ virtualCard: VirtualCardService;
826
879
  constructor(apiKey: string, integrationKey: string, environment: Environment);
827
880
  static initialize({ environment, apiKey, integrationKey }: ClientParams): SpritzApiClient;
828
881
  private init;
829
882
  setApiKey(_apiKey: string): this;
830
883
  }
831
884
 
832
- export { AccountPayments, AccountPaymentsVariables, AccountPayments_paymentsForAccount, AccountProvider, BankAccountFragment, BankAccountFragment_bankAccountDetails, BankAccountFragment_bankAccountDetails_CanadianBankAccountDetails, BankAccountFragment_bankAccountDetails_USBankAccountDetails, BankAccountFragment_institution, BankAccountSubType, BankAccountType, CreateDirectPaymentInput, CreatePaymentRequestInput, CurrentUser, CurrentUser_me, DirectPaymentStatus, Environment, GetSpritzPayParams, GetSpritzPayParamsVariables, GetSpritzPayParams_spritzPayParams, ModuleStatus, PayableAccountFragment, PayableAccountFragment_BankAccount, PayableAccountFragment_BankAccount_bankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_CanadianBankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_USBankAccountDetails, PayableAccountFragment_BankAccount_institution, PayableAccountFragment_Bill, PayableAccountFragment_Bill_institution, PayableAccountFragment_VirtualCard, PayableAccountFragment_VirtualCard_billingInfo, PayableAccountFragment_VirtualCard_billingInfo_address, PayableAccountFragment_VirtualCard_institution, PayableAccountType, PaymentFragment, PaymentNetwork, PaymentRequestFragment, PaymentRequestPayment, PaymentRequestPaymentVariables, PaymentRequestPayment_paymentForPaymentRequest, PaymentStatus, SpritzApiClient, TokenBalanceFragment, TransactionPrice, TransactionPriceVariables, USBankAccountInput, UserBankAccounts, UserBankAccounts_bankAccounts, UserBankAccounts_bankAccounts_bankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_CanadianBankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_USBankAccountDetails, UserBankAccounts_bankAccounts_institution, UserFragment, UserPayableAccounts, UserPayableAccounts_payableAccounts, UserPayableAccounts_payableAccounts_BankAccount, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_CanadianBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_USBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_institution, UserPayableAccounts_payableAccounts_Bill, UserPayableAccounts_payableAccounts_Bill_institution, UserPayableAccounts_payableAccounts_VirtualCard, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo_address, UserPayableAccounts_payableAccounts_VirtualCard_institution, UserVerification, UserVerification_verification, UserVerification_verification_identity, UserVerification_verification_identity_user, UserVirtualDebitCard, UserVirtualDebitCard_virtualDebitCard, UserVirtualDebitCard_virtualDebitCard_billingInfo, UserVirtualDebitCard_virtualDebitCard_billingInfo_address, VirtualCardType, VirtualDebitCardFragment, VirtualDebitCardFragment_billingInfo, VirtualDebitCardFragment_billingInfo_address, WalletTokenBalances, WalletTokenBalancesVariables, WalletTokenBalances_tokenBalances };
885
+ export { AccountPayments, AccountPaymentsVariables, AccountPayments_paymentsForAccount, BankAccountFragment, BankAccountFragment_bankAccountDetails, BankAccountFragment_bankAccountDetails_CanadianBankAccountDetails, BankAccountFragment_bankAccountDetails_USBankAccountDetails, BankAccountFragment_institution, BankAccountSubType, BankAccountType, CreateDirectPaymentInput, CreatePaymentRequestInput, CurrentUser, CurrentUser_me, Environment, GetSpritzPayParams, GetSpritzPayParamsVariables, GetSpritzPayParams_spritzPayParams, PayableAccountFragment, PayableAccountFragment_BankAccount, PayableAccountFragment_BankAccount_bankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_CanadianBankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_USBankAccountDetails, PayableAccountFragment_BankAccount_institution, PayableAccountFragment_Bill, PayableAccountFragment_Bill_institution, PayableAccountFragment_VirtualCard, PayableAccountFragment_VirtualCard_billingInfo, PayableAccountFragment_VirtualCard_billingInfo_address, PayableAccountFragment_VirtualCard_institution, PayableAccountType, PaymentFragment, PaymentNetwork, PaymentRequestFragment, PaymentRequestPayment, PaymentRequestPaymentVariables, PaymentRequestPayment_paymentForPaymentRequest, DirectPaymentStatus as PaymentRequestStatus, PaymentStatus, SpritzApiClient, TokenBalanceFragment, TransactionPrice, TransactionPriceVariables, USBankAccountInput, UserBankAccounts, UserBankAccounts_bankAccounts, UserBankAccounts_bankAccounts_bankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_CanadianBankAccountDetails, UserBankAccounts_bankAccounts_bankAccountDetails_USBankAccountDetails, UserBankAccounts_bankAccounts_institution, UserFragment, UserPayableAccounts, UserPayableAccounts_payableAccounts, UserPayableAccounts_payableAccounts_BankAccount, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_CanadianBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_USBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_institution, UserPayableAccounts_payableAccounts_Bill, UserPayableAccounts_payableAccounts_Bill_institution, UserPayableAccounts_payableAccounts_VirtualCard, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo, UserPayableAccounts_payableAccounts_VirtualCard_billingInfo_address, UserPayableAccounts_payableAccounts_VirtualCard_institution, UserVerification, UserVerification_verification, UserVerification_verification_identity, UserVerification_verification_identity_user, UserVirtualDebitCard, UserVirtualDebitCard_virtualDebitCard, UserVirtualDebitCard_virtualDebitCard_billingInfo, UserVirtualDebitCard_virtualDebitCard_billingInfo_address, VirtualCardType, VirtualDebitCardFragment, VirtualDebitCardFragment_billingInfo, VirtualDebitCardFragment_billingInfo_address, WalletTokenBalances, WalletTokenBalancesVariables, WalletTokenBalances_tokenBalances };