Swap
Swaps one stablecoin for another on the same chain using the builder's pool as liquidity (e.g. USDC → USDT on Polygon).
Body
customerId
*StringCustomer ID.
directProvider
*StringChain to swap on (must be same for both currencies).
fromCurrency
*StringStablecoin to swap from (e.g. USDC).
toCurrency
*StringStablecoin to swap to (e.g. USDT).
amount
*NumberAmount in fromCurrency.
POST
/ v2/stablecoin/customers/swap
Endpoint URL(TEXT)
Request Body
Response(JSON)
// Click 'Try now' to see the response