Skip to main content

createCheckoutSession

Creates a checkout session in the current account and returns it. Send the buyer to its url to pay. Arguments: - input: Details of the new checkout session.

createCheckoutSession(
input: CreateCheckoutSessionInput!
): CheckoutSession!

Arguments​

createCheckoutSession.input ● CreateCheckoutSessionInput! non-null input​

Type​

CheckoutSession object​

A cart of prices that a buyer pays on one MONEI page (url). Paying it creates a payment and, when a line has a recurring price, a subscription. The buyer's billing details are on the payment.