Mutation
mutation CreatePaymentSession($input: PaymentSessionInput!) {
createPaymentSession(input: $input) {
token
}
}Variables
{
"input": {
"customerId": "string",
"planId": "string"
}
}Response
{
"data": {
"createPaymentSession": {
"token": "string"
}
}
}Mutations
createPaymentSession
Create a billing payment session
MUTATION
createPaymentSession(input: PaymentSessionInput!): PaymentSession!Arguments
input
required
The billing payment session input
Returns
token
String!
Billing payment session token
Mutation
mutation CreatePaymentSession($input: PaymentSessionInput!) {
createPaymentSession(input: $input) {
token
}
}Variables
{
"input": {
"customerId": "string",
"planId": "string"
}
}Response
{
"data": {
"createPaymentSession": {
"token": "string"
}
}
}