Subscriptions
Get Subscription Events [Deprecated]
DEPRECATED: This endpoint will be removed in version 2.3.0. You can get the events of the subscription(s) of a client, with the customer id
get/customers/{id}/subscription/events
Request
- Base URLhttps://api.conekta.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Example:6307a60c41de27127515a575
Identifier of the resource
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
{
"object": "list",
"next_page_url": "https://api.conekta.io/resources?limit=10&next=chrg_1",
"previous_page_url": "https://api.conekta.io/resources?limit=10&previous=chrg_1",
"data": [
{
"created_at": 1661445644,
"data": {
"action": "ping",
"livemode": true
},
"id": "6307a60c41de27127515a575",
"livemode": true,
"object": "event",
"type": "webhook_ping",
"webhook_logs": [
{
"failed_attempts": 10,
"id": "webhl_2svd2sh6GbqzyWBNZ",
"last_attempted_at": 1669651274,
"last_http_response_status": 200,
"object": "webhook_log",
"response_data": {
"amount": 3000,
"payable": true
},
"url": "https://username:password@mockoon.conekta.io/payments-api/cash/merchant_approval"
}
],
"webhook_status": "successful"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.