Configurar webhook
Endpoints
Configurar webhook
Requer Bearer JWT. URL HTTPS + lista de eventos (1-5) + secret opcional para assinatura HMAC. Se secret for omitido, o NTX Pay gera um automaticamente e retorna na resposta — guarde com segurança.
POST
Configurar webhook
Authorizations
JWT obtido em POST /api/auth/token
Body
application/json
URL HTTPS que receberá os webhooks
Example:
"https://example.com/webhooks/mx"
Required array length:
1 - 5 elementsAvailable options:
cash_in, cash_out, refund_in, refund_out, internal_transfer Example:
["cash_in", "cash_out"]Secret HMAC para assinatura. Se omitido, o NTX Pay gera automaticamente.
Required string length:
8 - 128Example:
"whsec_abc123"