Never expose your private API keys or SDK credentials directly to frontend applications.

This document explains the general integration flow for SwapDuck’s B2B platform. Using our SDK, partners can create exchange orders, monitor their lifecycle, and receive status updates either by polling the API or by using WebHooks.

The integration is intentionally designed around a simple lifecycle:

  1. Initialise the SDK using your partner credentials
  2. Estimate exchange rates
  3. Create an Order
  4. Show the deposit information to the client
  5. Track the Order until completion
  6. Receive partner commissions through Payouts

Pipeline model

At a high level, your platform acts as the frontend layer for your users, while SwapDuck handles:

Your system communicates with SwapDuck using the B2B SDK.

A typical flow looks like this:

Client → Your Platform → SwapDuck → Exchange Providers