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

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

id
string
required

Card type ID

Body

application/json
merchants
string[]
required

List of restricted merchant names or identifiers.

Required string length: 1 - 100

Response

Successfully updated restricted merchants

status
string
Example:

"success"

data
object