Criar webhook
Em desenvolvimento
POST
https://api.paylogos.com.br/v1/webhooks
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.paylogos.com.br/v1/webhooks' \
--header 'Content-Type: application/json' \
--data-raw '{
"method": "POST",
"url": "https://seusistema.com/webhook",
"description": "Nome do webhook",
"event": [
"transaction.pre_authorization.succeeded"
],
"authorization": "top-secret",
"metadata": {}
}'
Response Response Example
200 - Exemplo 1
{
"method": "string",
"url": "string",
"description": "string",
"event": [
"string"
],
"status": "new",
"last_error": "string",
"retries": 0,
"events_sent": 0,
"batches_sent": 0,
"metadata": {},
"created_at": "string",
"updated_at": "string",
"last_sent_at": "string",
"uri": "string",
"id": "string",
"resource": "string"
}
Requisição
Parâmetros Bodyapplication/json
Respostas
Modificado em 2025-06-12 20:18:55