Developer Docs

Create a swap

Initiates a swap between USDC and EURC using the merchant's custodial wallet balance. Exactly one of amount (in cents) or max: true must be provided. The response is returned as soon as the swap is accepted; settlement is asynchronous — poll GET /api/swap/{id} or GET /api/swap/in-progress to follow progress. A merchant can only have one in-progress swap at a time.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required
Allowed:
string
enum
required
Allowed:
number
≥ 1

Amount in cents (smallest unit)

boolean

Use full available source balance (server-resolved amount)

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json