mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat: clean up the stripe payment integration
This commit is contained in:
@@ -14,6 +14,11 @@ interface AccountSessionResponse {
|
||||
client_secret: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates a new Stripe checkout session for the provided link ID.
|
||||
* @param {CreateCheckoutSessionValues} values - The values required to create a checkout session.
|
||||
* @returns {Promise<CreateCheckoutSessionResponse>} The response containing the checkout session details.
|
||||
*/
|
||||
export const useCreateStripeAccountSession = (
|
||||
options?: UseMutationOptions<
|
||||
AccountSessionResponse,
|
||||
|
||||
Reference in New Issue
Block a user