Skip to main content
PATCH
/
currencies
/
{currencyCode}
Update a currency for an account
curl --request PATCH \
  --url https://api.equalsmoney.com/v2/currencies/{currencyCode} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true
}
'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "code": "GBP",
  "name": "Pound Sterling",
  "status": {
    "enabled": true
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

currencyCode
string
required

The currency code of the currency to work with, in ISO 4217 format.

Pattern: ^[A-Z]{3}$

Query Parameters

accountId
string
required

The ID of the account to work with.

Example:

"F50091"

Body

application/json

Body

enabled
boolean
required

Enable or disable a currency.

Response

200 - application/json

OK

id
string<uuid>
required
code
string
required
Example:

"GBP"

name
string
Example:

"Pound Sterling"

status
object