Skip to main content
POST
/
risk-control
/
restricted-currencies
/
{id}
Set restricted currencies
curl --request POST \
  --url https://business.bfinance.app/external/api/risk-control/restricted-currencies/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "currencies": [
    "USD",
    "EUR",
    "GBP"
  ]
}
'
{
  "status": "success",
  "data": {
    "currencies": [
      "USD"
    ]
  }
}

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

id
string
required

Card type ID

Body

application/json
currencies
string[]
required

List of restricted currency codes.

Required string length: 3

Response

Successfully updated restricted currencies

status
string
Example:

"success"

data
object