Strong Customer Authentication
Record a security event
Changed onRecord a client-side security-relevant event for the customer with Grid's risk engine (e.g. a sign-in, a sensitive view), to feed adaptive-authentication signals.
This endpoint is only meaningful for customers in a region where SCA is required (e.g. EU). For customers outside SCA-regulated regions, this returns 409.
post/sca/record-event
Request
- Base URLhttps://api.lightspark.com/grid/2025-10-13
- URLhttps://api.lightspark.com/grid/2025-10-13/sca/record-event
- AuthHTTP basic
Request body
Example request
{
"eventType": "FAILED_LOGIN_ATTEMPT",
"endUserIpAddress": "203.0.113.42"
}Response
Event recorded; the customer's resulting login-security state is returned (including any lockout).
Example response
{
"eventType": "FAILED_LOGIN_ATTEMPT",
"lockedUntil": "2025-10-03T12:15:00Z",
"failedAttempts": 5
}Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- warning
added the new
PURCHASE_CARD_LIMIT_REACHEDenum value to theresponse property for the response status
- warning