createCreditCheckout

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!required

  • input.packageIdString!required

  • input.projectReferenceString

    Project 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.successUrlString

  • input.cancelUrlString

Responses

mutation CreateCreditCheckout($input: CreditCheckoutInput!) {  createCreditCheckout(input: $input) {    status    checkoutUrl  }}
{  "data": {    "createCreditCheckout": {      "status": "string",      "checkoutUrl": "https://example.com"    }  }}

The CreditCheckout! in data.createCreditCheckout.