Skip to main content
Use the PayIn flow whenever you want users to cash in money with almost zero friction. To generate a PayIn through the Checkout SDK you create a checkout session with options.session_type set to payin; the session carries the transaction, the receiving account and the look of the checkout.

Session parameters

White label

You can customize your end user’s experience by using the checkout as a white label, through the options.theme object: This is what a fully customized checkout looks like:

Create the session

Make a POST request to /checkout/sessions with the following payload:
With the correct parameters you receive an HTTP 200 response like this one. Save data.id: it is the session you pass to Trio.create().

What the user sees

When the checkout opens, the user goes through these screens:

Next steps

  • Using the SDK: pass the session to Trio.create() and open the checkout.
  • Receivables: what happens to the money once the in document settles.
  • Webhooks: be notified when the payment settles.