Guard
The Guard service holds a set of rules by which the system performs routing, antifraud blocking, and dispatching for incoming transactions.
Header input object
Section titled “Header input object”Each rule is matched against the transaction header input object. For the full reference on filter expression syntax, see the headers reference.
| Key | Data type | Description |
|---|---|---|
data |
string null |
extra_return passed by the merchant in the request |
amount |
number |
Transaction amount in minor units |
mid |
number |
Merchant ID |
userid |
number |
User ID |
email |
string |
Payer email from the merchant request |
email_zone |
string |
Email domain zone (e.g. ru) |
email_domain |
string |
Email domain without zone (e.g. mail) |
phone_country |
string null |
Phone number country |
tid |
string |
Unique transaction ID |
acq_id |
string |
Acquirer identifier (e.g. Gateway::BrusnikapayPayment) |
acq_alias |
string |
Acquirer alias (e.g. Brusnika), set in merchant settings |
status |
string |
Transaction status (e.g. declined) |
ip |
string |
Payer IP address, passed in the merchant request |
currency |
string |
Transaction currency (ISO 4217) |
card |
string null |
Card data |
card_number |
string null |
Card number |
card_brand |
string null |
Card brand |
bin |
string null |
Card BIN |
declination_reason |
string null |
Declination reason |
bin_country |
string null |
Country by card BIN (ISO 3166-1 alpha-2) |
order |
string null |
Order identifier, passed in the merchant request |
type |
string |
Transaction type (e.g. pay) |
product |
string |
Product name, passed in the merchant request |
mcc |
string null |
??? |
company_id |
string |
Merchant account name |
gateway_amount |
number |
Amount sent to the gateway, in minor units |
gateway_currency |
string |
Currency sent to the gateway (ISO 4217) |
gateway_response |
string null |
Gateway response |
merchant_ip |
string |
Merchant IP address, the address from which the merchant request was made |
merchant_url |
string null |
??? |
skip_counter |
boolean |
Internal flag to skip the counter |
identity |
string null |
??? |
bank_name |
string |
Bank name (deprecated) |
