mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
feat: Stripe connect using OAuth
This commit is contained in:
@@ -12,7 +12,6 @@ import { transformToCamelCase, transfromToSnakeCase } from '@/utils';
|
||||
const PaymentServicesQueryKey = 'PaymentServices';
|
||||
const PaymentServicesStateQueryKey = 'PaymentServicesState';
|
||||
|
||||
|
||||
// # Get payment services.
|
||||
// -----------------------------------------
|
||||
export interface GetPaymentServicesResponse {}
|
||||
@@ -48,12 +47,15 @@ export const useGetPaymentServices = (
|
||||
export interface GetPaymentServicesStateResponse {
|
||||
stripe: {
|
||||
isStripeAccountCreated: boolean;
|
||||
isStripePaymentActive: boolean;
|
||||
isStripePaymentEnabled: boolean;
|
||||
isStripePayoutEnabled: boolean;
|
||||
isStripeEnabled: boolean;
|
||||
isStripeServerConfigured: boolean;
|
||||
stripeAccountId: string | null;
|
||||
stripePaymentMethodId: number | null;
|
||||
stripeCurrencies: string[];
|
||||
stripePublishableKey: string;
|
||||
stripeAuthLink: string;
|
||||
stripeRedirectUrl: string;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user