Skip to main content

The Checkout Session object

The CheckoutSession object represents the payment flow your customer completes to pay you. You create one to start a payment, a subscription, or a payment method setup, and Fintoc returns the CheckoutSession object. It holds the amount, currency, payment method configuration, and the redirect URLs your customer uses to complete the session. The session tracks its status through created, in_progress, finished, and expired.
Checkout Session Object

Customer object

The customer the session belongs to, when you attach one on creation.

Address object

Tax ID object

Payment method options

Use payment_method_options to configure payment methods in the session. For bank_transfer, set a recipient_account and, optionally, a sender_account. For pac, set a sender_account. For card, the Create checkout session endpoint defines types for payment flow sessions and kinds (credit, debit) for setup and subscription flow sessions.

Recipient account object

The Recipient account object describes the bank account that receives the funds, returned in the recipient_account field.

Sender account object

The Sender account object describes the customer’s bank account that the funds are paid from, returned in the sender_account field.

Business profile object

The Business profile object identifies the enrolled merchant receiving the payment, returned in the business_profile field of the Checkout Session.