Authentication
Each partner receives a unique API token. Include it in the x-api-key header on every request.
Passing the customer IP address
Guardarian uses the customer's IP address for country detection, risk scoring and fraud checks. If the request comes from partner backend instead of the customer's device, pass the customer's IP address. Guardarian reads it in this order:
- The
ip,ipV4, andipV6fields inside thecustomerobject in the request body. - Deprecated: The
ipquery parameter - Deprecated: The
X-Forwarded-Forheader