Skip to main content
The pay-in flow shall be used whenever you want users to cash in some money with almost zero friction. In order to generate a pay-in through our Checkout SDK, you must create a Checkout Session. Below, there are some important parameters that you will need to pay attention to (* for required fields):
  • options
    • session_type*: session type, in this case payin.
    • expiration_in_seconds: integer value. If set, the Checkout session will only remain active up until this time. If not, the default time is 300 seconds (5 minutes).
  • transaction
    • tax_number*: the document/tax number (CPF/CNPJ) that represents the person you intend to receive money from.
    • amount*: Value of the deposit. Always represented in cents.
    • phone_number: Additional information about the person you intend to receive money from.
    • email: Additional information about the person you intend to receive money from.
    • redirect_url: the URL the user will be redirected after completing an open finance transaction. (default will be a Trio confirmation URL)

White label

You can also customize your end-user experience by utilizing the Checkout as a white label. You can do so by utilizing the options field, with the respective xxxx_color fields. Below, you can see an example of a wholly implemented customization: In order to create a session, you must make a POST request to /checkout/sessions with the following payload:
If you input the correct parameters, you will receive an HTTP 200 response akin to:

Flow

When making use of the Checkout, the following screens will appear: