Skip to main content
GET
/
v1
/
exchange
/
stablefx
/
fees
/
{tradeId}
Get fee for a trade
curl --request GET \
  --url https://api-sandbox.circle.com/v1/exchange/stablefx/fees/{tradeId} \
  --header 'Authorization: Bearer <token>'
{
  "tradeId": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
  "fee": {
    "currency": "USDC",
    "amount": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Circle's API Keys are formatted in the following structure "PREFIX:ID:SECRET". All three parts are requred to make a successful request.

Path Parameters

tradeId
string<uuid>
required

The ID of the trade.

Example:

"c4d1da72-111e-4d52-bdbf-2e74a2d803d5"

Response

200 - application/json

Fee retrieved successfully

The fee details for a trade

tradeId
string<uuid>

System-generated unique identifier of the resource.

Example:

"c4d1da72-111e-4d52-bdbf-2e74a2d803d5"

fee
object

Currency and amount details for a foreign exchange transaction