Cria um endpoint com URL, eventos e gera um secret automaticamente. O secret é retornado apenas na criação.
basicAuth Autenticação via chave de API. Use publicKey:secretKey codificado em Base64 no header Authorization: Basic {credentials}.
In: header
TypeScript Definitions
Use the request body type in TypeScript.
curl -X POST "https://example.com/v1/postbacks/endpoints" \ -H "Content-Type: application/json" \ -d '{ "url": "http://example.com", "events": [ "charge.pending" ] }'