{ "opencollection": "1.0.0", "info": { "name": "Conekta Antifraud Webhooks API", "version": "2.2.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Webhooks", "type": "folder" }, "items": [ { "info": { "name": "Get List of Webhooks", "type": "http" }, "http": { "method": "GET", "url": "https://api.conekta.io/webhooks", "headers": [ { "name": "Accept-Language", "value": "" }, { "name": "X-Child-Company-Id", "value": "6441b6376b60c3a638da80af" } ], "params": [ { "name": "limit", "value": "", "type": "query", "description": "The numbers of items to return, the maximum value is 250" }, { "name": "search", "value": "", "type": "query", "description": "General order search, e.g. by mail, reference etc." }, { "name": "url", "value": "", "type": "query", "description": "url for webhook filter" }, { "name": "next", "value": "", "type": "query", "description": "next page" }, { "name": "previous", "value": "", "type": "query", "description": "previous page" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Consume the list of webhooks you have, each environment supports 10 webhooks (For production and testing)" }, { "info": { "name": "Create Webhook", "type": "http" }, "http": { "method": "POST", "url": "https://api.conekta.io/webhooks", "headers": [ { "name": "Accept-Language", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "What we do at Conekta translates into events. For example, an event of interest to us occurs at the time a payment is successfully processed. At that moment we will be interested in doing several things: Send an email to the buyer, generate an invoice, start the process of shipping the product, etc." }, { "info": { "name": "Get Webhook", "type": "http" }, "http": { "method": "GET", "url": "https://api.conekta.io/webhooks/:id", "headers": [ { "name": "Accept-Language", "value": "" }, { "name": "X-Child-Company-Id", "value": "6441b6376b60c3a638da80af" } ], "params": [ { "name": "id", "value": "6307a60c41de27127515a575", "type": "path", "description": "Identifier of the resource" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get Webhook" }, { "info": { "name": "Update Webhook", "type": "http" }, "http": { "method": "PUT", "url": "https://api.conekta.io/webhooks/:id", "headers": [ { "name": "Accept-Language", "value": "" }, { "name": "X-Child-Company-Id", "value": "6441b6376b60c3a638da80af" } ], "params": [ { "name": "id", "value": "6307a60c41de27127515a575", "type": "path", "description": "Identifier of the resource" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "updates an existing webhook" }, { "info": { "name": "Delete Webhook", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.conekta.io/webhooks/:id", "headers": [ { "name": "Accept-Language", "value": "" } ], "params": [ { "name": "id", "value": "6307a60c41de27127515a575", "type": "path", "description": "Identifier of the resource" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete Webhook" }, { "info": { "name": "Test Webhook", "type": "http" }, "http": { "method": "POST", "url": "https://api.conekta.io/webhooks/:id/test", "headers": [ { "name": "Accept-Language", "value": "" } ], "params": [ { "name": "id", "value": "6307a60c41de27127515a575", "type": "path", "description": "Identifier of the resource" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Send a webhook.ping event" } ] } ], "bundled": true }