Skip to main content

setAppListingBilling

Requires permission platform:apps:review.

Set a public app's paid plans (with Growmax's Stripe price ids) and Growmax's revenue share. No default rate: a paid app cannot publish without one.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation SetAppListingBilling($input: SetAppListingBillingInput!) {
setAppListingBilling(input: $input) {
appName
status
appHandle
appId
description
dpaAcceptedAt
scopeJustifications {
justification
scope
}
}
}

Variables:

{
"input": {
"appId": "id",
"plans": [
{
"handle": "string",
"interval": "string",
"name": "string",
"priceUsdCents": 0
}
]
}
}

Response:

{
"data": {
"setAppListingBilling": {
"appName": "string",
"status": "string",
"appHandle": "string",
"appId": "id",
"description": "string",
"dpaAcceptedAt": "2025-01-15T00:00:00Z",
"scopeJustifications": [
{
"justification": "string",
"scope": "string"
}
]
}
}
}
setAppListingBilling(
input: SetAppListingBillingInput!
): AppReviewListing!

Arguments​

setAppListingBilling.input ● SetAppListingBillingInput! non-null input​

The app, its plans and the rate.

Type​

AppReviewListing object​

A public app's listing as Growmax review sees it.