Logs
Get List Of Logs
Changed onGet log details in the form of a list
get/logs
Request
- Base URLhttps://api.conekta.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
limitinteger
The numbers of items to return, the maximum value is 250
searchstring
General order search, e.g. by mail, reference etc.
nextstring
next page
previousstring
previous page
method.in[]string[]
Filters logs by HTTP method. The parameter can be sent multiple times to filter by more than one method, e.g. method.in[]=POST&method.in[]=PUT
[ "POST" ]
Headers
Accept-Language'es' | 'en'
Use for knowing which language to use
X-Child-Company-Idstring
In the case of a holding company, the company id of the child company to which will process the request.
Response
successful
Example response
{
"data": [
{
"created_at": 1661445644,
"id": "6307a60c41de27127515a575",
"ip_address": "54.235.131.48",
"livemode": true,
"loggable_id": "ord_87632467832",
"loggable_type": "order",
"method": "POST",
"query_string": {
"amount": 3000,
"payable": true
},
"related": "FilterResource",
"request_body": {
"filters": {
"amount": {
"amount_from": 0,
"amount_to": 0
},
"created_at": {
"date_from": 1653627600,
"date_to": 1661489999
},
"filterName": "Payments",
"sort_by": "created_at",
"sort_direction": "desc",
"status": [],
"type": []
},
"id": "78e65162-0f37-4942-847c-9bf7081d54c2",
"page": "0",
"report_type": "charges",
"testMode": false
},
"request_headers": {
"Accept": "application/vnd.conekta-v2.3.0+json",
"Accept-Encoding": "gzip, deflate, br",
"Accept-Language": "es-419, es; q=0.9, en; q=0.8",
"Activitypermission": "orders:read",
"Apiversion": "2.3.0"
},
"response_headers": {
"Access-Control-Allow-Headers": "Content-Type, Depth, User-Agent, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control, X-Prototype-Version, Authorization, Accept, Date, Version, X-Forwarded-For, Host, Connection, X-Forwarded-Proto, X-Forwarded-Port, X-Amzn-Trace-Id, Accept-Encoding, Accept-Language, Referer, Origin, Activitypermission, Apiversion, Entityid, Livemode, Sec-Ch-Ua, Sec-Ch-Ua-Mobile, Sec-Ch-Ua-Platform, Sec-Fetch-Dest, Sec-Fetch-Mode, Sec-Fetch-Site, X-Datadog-Parent-Id, X-Datadog-Sampling-Priority, X-Datadog-Trace-Id, X-Forwarded-Host, X-Forwarded-Server, X-Real-Ip",
"Access-Control-Allow-Methods": "POST, GET, PUT, OPTIONS",
"Access-Control-Allow-Origin": "*",
"Access-Control-Max-Age": "1728000",
"Conekta-Media-Type": "conekta-v2.3.0; format=application/json",
"Content-Type": "application/json; charset=utf-8",
"Referrer-Policy": "strict-origin-when-cross-origin",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"X-Download-Options": "noopen",
"X-Frame-Options": "SAMEORIGIN",
"X-Permitted-Cross-Domain-Policies": "none",
"X-XSS-Protection": "1; mode=block"
},
"searchable_tags": [
"6307a60c41de27127515a575",
"6307a60c41de27127515a571"
],
"updated_at": "2022-08-25T16:40:44.887Z",
"url": "/filter_resource",
"user_account_id": "5a0b7001edbb6e1725b0b2c6",
"version": "2.3.0"
}
]
}Changes
- breaking
the
//response's property type changed from no type toobjectfor status - breaking
the
//response's property type changed from no type toobjectfor status - info
added the new optional
queryrequest parametermethod.in[]
- breaking