Zum Hauptinhalt springen
Mutation

updateSpacePaymentMethod

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

Argumente

  • cardTokenString

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

  • spaceIdID!

    The space's identifier.

Rückgabe

String!

Beispiel

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