post https://komoju.com/api/v1/sessions
Creates a session. There're 3 modes for the session:
payment
: A payment will be created after user completed the session (default).customer
: A customer will be created instead of a payment, or updated ifcustomer_id
is given. This customer resource can then be used to perform delayed billing or subscriptions.customer_payment
: A payment will be created, and customer will be created or updated. You can use this mode to charge money upfront and save customer's payment details in one go.