Standard Flow

Summary of Integration Flow

tip

As user will usually want to see rates updating every few seconds - we recommend generating a "User Token" and allowing your client to call directly to the Altalix API - but this isn't mandatory.

sequenceDiagram; participant YA as Your App; participant YB as Your Backend; participant AB as Altalix Api; participant AA as Altalix App; rect rgb(240, 255, 255 ); Note over YA,AB: Create User Bearer Token YA ->> YB: createUserSession; YB ->> AB: createSession(Role, expiry); AB -->> YB: User Bearer Token; YB -->> YA: User Bearer Token; end; rect rgb(240, 255, 255 ); Note over YA,AB: Get Indicative Rates YA ->> AB: GET Rates (Auth: User Bearer Token); AB -->> YA: Rate(s) end; rect rgb(240, 255, 255 ); Note over YA,AA: Altalix WebApp Payment YA ->> YB: Payment Parameters YB ->> YB: Sign Parameters with Private Key YB -->> YA: Encoded URL (with Signature) YA -->> AA: Open embedded screen at Encoded URL end;