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

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

id
string
required

Card type ID

Body

application/json
mccs
string[]
required

List of restricted merchant category codes.

Required string length: 4

Response

Successfully updated restricted MCCs

status
string
Example:

"success"

data
object