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

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

id
string
required

Card type ID

Body

application/json
countries
string[]
required

List of restricted countries in ISO 3166-1 alpha-3 format.

Required string length: 3

Response

Successfully updated restricted countries

status
string
Example:

"success"

data
object