42 add billing portal endpoint (#4315)
* Add create billing portal session endpoint * Rename checkout to checkoutSession * Code review returns
This commit is contained in:
@ -1,8 +1,11 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const CHECKOUT = gql`
|
||||
mutation Checkout($recurringInterval: String!, $successUrlPath: String) {
|
||||
checkout(
|
||||
export const CHECKOUT_SESSION = gql`
|
||||
mutation CheckoutSession(
|
||||
$recurringInterval: String!
|
||||
$successUrlPath: String
|
||||
) {
|
||||
checkoutSession(
|
||||
recurringInterval: $recurringInterval
|
||||
successUrlPath: $successUrlPath
|
||||
) {
|
||||
Reference in New Issue
Block a user