startSpaceCheckout
Start paying for a plan. Returns the checkout URL to send the browser to.
Arguments
acceptedTermsBoolean!True once the customer has accepted the terms of service.
applePayBooleanTrue to pay with Apple Pay on Mollie's page, instead of a card token.
applePayTokenStringThe payment token from an Apple Pay sheet on our own page, JSON-encoded. The payment then completes in this request.
cardTokenStringA token from Mollie's card fields. Without one, the answer is Mollie's own payment page.
detailsBillingDetailsInput!The name and address for the invoices.
methodStringAnother method from
spaceCheckoutMethods, paid on Mollie's page. Ignored with a card or Apple Pay token.planID!The plan's identifier.
spaceIdID!The space's identifier.
Returns
String!Example
mutation StartSpaceCheckout($acceptedTerms: Boolean!, $applePay: Boolean, $applePayToken: String, $cardToken: String, $details: BillingDetailsInput!, $method: String, $plan: ID!, $spaceId: ID!) {
startSpaceCheckout(
acceptedTerms: $acceptedTerms
applePay: $applePay
applePayToken: $applePayToken
cardToken: $cardToken
details: $details
method: $method
plan: $plan
spaceId: $spaceId
)
}