webhook
POST /public_api/webhook/event_test/{id}/
API for testing webhook events, inherits from AppTestEventAPI and customizes schema generation settings.
Request
- Base URLhttps://api.cakto.com.br
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Id do App Webhook
Query parameters
event_id'boleto_gerado' | 'chargeback' | 'checkout_abandonment' | 'initiate_checkout' | 'openfinance_nubank_gerado' | 'picpay_gerado' | 'pix_gerado' | 'purchase_approved' | 'purchase_refused' | 'refund' | 'subscription_canceled' | 'subscription_created' | 'subscription_renewal_refused' | 'subscription_renewed'
custom_id do evento a ser testado
Response
Corpo da resposta status 200
Changes
No recorded changes to this operation across all 1 revision of this API.