The SDK is not tied to a banking API version. You create a checkout session in your back end with your usual
client_id and client_secret, and the SDK takes it from there. Only the links on these pages changed to point at the V2 guides.How it works
- Your back end creates a checkout session with the Checkout API, sending the transaction details and the type of flow (
options.session_type). - Your front end calls
Trio.create()with the sessionidand the callbacks you want. Trio.open()opens the checkout for the user, who completes the payment in Trio’s interface.- Trio tells you what happened through the
onSuccessandonEventcallbacks and through webhooks on the in document or out document that was created.
Flows
Next steps
- Using the SDK: embed the script, create a session and open the checkout, step by step.
- Local example: run a complete back end and front end example on your machine.
- PayIn flow and PayOut flow: the session payload of each flow.

