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": {}
}'
{
"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"
}