Skip to main content

PIN Error Logs

GET /logs

Query the user PIN error log records, based on which developers can remind the user of the number of errors within 24 hours.

Endpoint URL

 https://api.mixin.one/logs?limit=:limit&offset=:offset&category=:category

Authentication and options

Authorization
Authorized
LimitationNo limitation

Parameters

limitPagination limit, maximamlly 100.
offsetPagination start time, e.g. `2020-12-12T12:12:12.999999999Z`
categoryLog type, please set to `PIN_INCORRECT`

Example request

curl -i -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" https://api.mixin.one/logs?category=PIN_INCORRECT&limit=1
Response
{
"data": {
"type": "log",
"log_id": "06aed1e3-bd77-4a59-991a-5bb5ae6fbb09",
"code": "WITHDRAWAL",
"ip_address": "124.64.120.192",
"created_at": "2018-05-03T06:03:56.867971412Z"
}
}