Update a currency for an account

Updates the boolean enabled status of a single currency for a given accountId.

SecurityCommonAuth
Request
path Parameters
currencyCode
required
string

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

Example: GBP
query Parameters
accountId
required
string (accountId)

The ID of the account to work with.

Example: accountId=F50091
Request Body schema: application/json
required

Enable or disable a currency.

enabled
required
boolean
Responses
200

OK

400

Bad request

401

Unauthorised

403

Forbidden

404

Not found

405

Method not allowed

415

Unsupported media type

429

Too many requests

500

Internal server error

patch/currencies/{currencyCode}
Request samples
application/json
{
  • "enabled": false
}
Response samples
application/json
{
  • "id": "af849178-b239-4661-9140-8ebe467d3541",
  • "code": "GBP",
  • "name": "Pound Sterling",
  • "status": {
    }
}