POST
/
api
/
v0
/
transfers
/
stablecoin-conversion
Create a stablecoin conversion
curl --request POST \
  --url https://api.devdraft.ai/api/v0/transfers/stablecoin-conversion \
  --header 'Content-Type: application/json' \
  --header 'x-client-secret: <api-key>' \
  --data '{
  "walletId": "<string>",
  "sourceNetwork": "<string>",
  "sourceCurrency": "<string>",
  "destinationCurrency": "<string>",
  "amount": 123
}'

Authorizations

x-client-secret
string
header
required

Your secret API key. Keep this secure and never expose it in client-side code.

Body

application/json
walletId
string
required

The ID of the bridge wallet to use

sourceNetwork
string
required

The source network

sourceCurrency
string
required

The source currency

destinationCurrency
string
required

The destination currency

amount
number
required

The amount to convert

Response

The conversion has been successfully created.