Start a Stripe checkout to buy a credit package for an account, or for the account that owns a project; returns the checkout URL. Requires account.billing.manage.
Arguments
inputCreditCheckoutInput!requiredinput.packageIdString!requiredinput.projectReferenceStringProject UUID or slug for an owner-pays top-up: the project owner’s wallet and effective price apply. Naming a project also requires project.read on it.
input.successUrlStringinput.cancelUrlString
Responses
mutation CreateCreditCheckout($input: CreditCheckoutInput!) { createCreditCheckout(input: $input) { status checkoutUrl }}{ "data": { "createCreditCheckout": { "status": "string", "checkoutUrl": "https://example.com" } }}The CreditCheckout! in data.createCreditCheckout.