Skip to main content
PUT
/
v1
/
exchange
/
fxConfigs
/
accounts
Create FX account
curl --request PUT \
  --url https://api-sandbox.circle.com/v1/exchange/fxConfigs/accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "fiatAccountId": "b8627ae8-732b-4d25-b947-1df8f4007a29",
  "currency": "MXN"
}'
{
  "data": {
    "currency": "MXN",
    "fiatAccountId": "b8627ae8-732b-4d25-b947-1df8f4007a29",
    "createDate": "2020-04-10T02:13:30.000Z",
    "updateDate": "2020-04-10T02:13:30.000Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
fiatAccountId
string<uuid>

Unique system generated identifier for the entity.

Example:

"b8627ae8-732b-4d25-b947-1df8f4007a29"

currency
enum<string>
Available options:
MXN,
BRL

Response

Successfully created a currency trading account.

data
object