Files
twenty_crm/packages/twenty-front/src/modules/billing/graphql/checkoutSession.ts
martmull 0b889ef089 43 add billing portal link (#4318)
* Add create billing portal session endpoint

* Rename checkout to checkoutSession

* Add billig portal query in twenty-front

* Add billing menu item

* WIP: add menu page

* Code review returns

* Rename request files

* Unwip: add menu page

* Add billing cover image

* Fix icon imports

* Rename parameter

* Add feature flag soon pill
2024-03-05 17:40:58 +01:00

16 lines
304 B
TypeScript

import { gql } from '@apollo/client';
export const CHECKOUT_SESSION = gql`
mutation CheckoutSession(
$recurringInterval: String!
$successUrlPath: String
) {
checkoutSession(
recurringInterval: $recurringInterval
successUrlPath: $successUrlPath
) {
url
}
}
`;