Skip to main content
Mutation

updateSpacePaymentMethod

Replace the payment method, paying any open invoice. Returns the URL to send the browser to.

Arguments

  • cardTokenString

    A token from Mollie's card fields. Without one, the answer is Mollie's own payment page.

  • spaceIdID!

    The space's identifier.

Returns

String!

Example

mutation UpdateSpacePaymentMethod($cardToken: String, $spaceId: ID!) {
  updateSpacePaymentMethod(cardToken: $cardToken, spaceId: $spaceId)
}