Skip to main content
GET
/
api
/
public
/
v1
/
block-rules
/
{id}
Get block rule by ID
curl --request GET \
  --url https://app.tagadapay.com/api/public/v1/block-rules/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "rule_123",
  "name": "Block High Risk Countries",
  "enabled": true,
  "type": "country",
  "value": [
    "XX",
    "YY"
  ],
  "createdAt": "2024-03-20T10:30:00Z",
  "updatedAt": "2024-03-20T10:30:00Z"
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Path Parameters

id
string
required

Response

Successful response

The response is of type any.