The Firmhouse Logo [FH]
Developer Docs

createSubscriptionFromCart

Finalises a subscription and returns payment details based on a cart/draft subscription identified by `X-Subscription-Token`.

Arguments

ArgumentDescription
input (CreateSubscriptionFromCartInput!)
Parameters for CreateSubscriptionFromCart

CreateSubscriptionFromCartInput Arguments

ArgumentDescription
returnUrl (String)
The URL the user gets redirected to after completing payment, can be left blank to use the Firmhouse order confirmation page.
paymentPageUrl (String!)
The URL where the user can sign up for a new subscription

Return Fields

cart (Cart!)
payment (Payment)
paymentUrl (String)
returnUrl (String)
subscription (Subscription!)