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

*String

Customer ID.

directProvider

*String

Chain to swap on (must be same for both currencies).

fromCurrency

*String

Stablecoin to swap from (e.g. USDC).

toCurrency

*String

Stablecoin to swap to (e.g. USDT).

amount

*Number

Amount in fromCurrency.

POST
/ v2/stablecoin/customers/swap
Endpoint URL(TEXT)
Request Body
Response(JSON)
// Click 'Try now' to see the response