* 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
16 lines
304 B
TypeScript
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
|
|
}
|
|
}
|
|
`;
|