Skip to main content
POST
/
stablecoins
/
conversion
Create a Stablecoin Conversion
curl --request POST \
  --url https://api.anchorage-staging.com/v2/stablecoins/conversion \
  --header 'Api-Access-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": "<string>",
  "destinationAssetType": "USDX",
  "destinationWalletId": "<string>",
  "idempotencyKey": "e763a50d-aa82-4ec7-b5a3-89ad0462d248",
  "sourceAssetType": "USD",
  "sourceWalletId": "<string>"
}
'
{
  "authorizationOperationId": "<string>"
}
Idempotent. The signer injects idempotencyKey into the body before computing the signature.

Authorizations

Api-Access-Key
string
header
required

An API key associated with a security role

Body

application/json

Stablecoin Conversion

amount
string
required
destinationAssetType
string
required

A string representing the asset used for this operation. For issuance, this value must be the stablecoin asset. For redemptions, it must be USD. Use /asset-types to list all supported asset types for your organization.

Example:

"USDX"

destinationWalletId
string
required
idempotencyKey
string
required

Client-provided idempotency key to ensure request is processed only once

Maximum string length: 128
Example:

"e763a50d-aa82-4ec7-b5a3-89ad0462d248"

sourceAssetType
string
required

A string representing the asset used for this operation. For issuance, this value must be USD. For redemptions, it must be the asset being redeemed. Use /asset-types to list all supported asset types for your organization.

Example:

"USD"

sourceWalletId
string
required

Response

authorizationOperationId

authorizationOperationId
string
required