Core GraphQL APIReferenceMutations
Billing__create Checkout
Authenticated tenant-scoped proxy to the private PGW subscription SDK. Requires a signed-in staff user. Needs the `billing__Checkout` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
MUTATION
billing__createCheckout(input: CreatePgwCheckoutInput!): PgwCheckoutSessionResponseDto!Authenticated tenant-scoped proxy to the private PGW subscription SDK. Requires a signed-in staff user. Needs the billing__Checkout create permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
input*Returns
- billing__createCheckout
invoiceId*String!redirectUrl*String!sessionId*String!Example Request
mutation Billing__createCheckout($input: CreatePgwCheckoutInput!) { billing__createCheckout(input: $input) { invoiceId redirectUrl sessionId }}{ "input": { "planSlug": "string" }}{ "data": { "billing__createCheckout": { "invoiceId": "string", "redirectUrl": "string", "sessionId": "string" } }}WhatsappChatCredentialsInput
Previous Page
Billing__pay Invoice MUTATION
Reopen hosted checkout for an existing pending invoice without creating a new invoice. Requires a signed-in staff user. Needs the `billing__Checkout` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).