Webhooks
Listar endpoints de webhook
Retorna todos os endpoints de webhook configurados para o merchant.
Retorna todos os endpoints de webhook configurados para o merchant.
basicAuth Autenticação via chave de API. Use publicKey:secretKey codificado em Base64 no header Authorization: Basic {credentials}.
In: header
application/json
application/json
curl -X GET "https://example.com/v1/postbacks/endpoints"{
"success": true,
"message": "string",
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"url": "http://example.com",
"has_secret": true,
"events": [
"charge.pending"
],
"status": "active",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
]
}{
"success": false,
"message": "string",
"error": "string"
}