Creates a new Asaas Checkout to provide a payment page hosted by Asaas.
Use this operation when the payer will complete the payment later on the Checkout page. The creation returns the Checkout id, used to make the page available to the payer, and does not confirm the payment.
Provide at least one payment method in billingTypes and one charge type in chargeTypes.
When chargeTypes includes RECURRENT, provide subscription. When it includes INSTALLMENT, provide installment.
To associate the Checkout with a customer already registered in Asaas, provide their ID in customer. If the customer is not yet registered, but your application already has their data, use customerData. Do not send customer and customerData in the same request.
See How to provide customer data to learn about the use cases for each option.
Checkout trackingCreating the Checkout does not represent financial confirmation.
Use the Events for Checkout to track the outcome of the journey, mainly
CHECKOUT_PAID,CHECKOUT_CANCELED, andCHECKOUT_EXPIRED.The
callbackURLs control the payer's redirect and must not be used to confirm the payment.
