Enviar Webhook de prueba
Changed onEnvía un webhook de prueba a una URL para validar la configuración de webhooks.
Se usa desde el panel para comprobar que un endpoint recibe correctamente los webhooks, generando un evento de ejemplo del tipo indicado. Está obsoleto y se mantiene solo por compatibilidad.
Request
- Base URLhttps://api.trytoku.com
- URLhttps://api.trytoku.com/dummy_webhook
- AuthAPI key in header x-api-key
Headers
Llave de API de una Account, para operar sobre esa Account en lugar de la principal.
Request body
Example request
{
"event_type": "transaction.success",
"url": "https://example.com/webhooks/toku"
}Response
Successful Response
Example response
{
"event_type": "transaction.success",
"id": "wheve_9Kd3pQ2rLm7xNvB4tYc1Zs8HfW0aE6uJ3Fb9Kd0aLm7=",
"url": "https://example.com/webhooks/toku"
}Changes
- breaking
request body became required
- breaking
request property
was restricted to a list of enum values - breaking
added the pattern
(https?:\/\/(www\.)?)[-a-zA-Z0-9@:%._\+~#=]{1,256}(\.[a-zA-Z0-9()]{1,6}|:[0-9]{4})\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)to the request property - info
api operation id
probar-webhookremoved and replaced withdummy_webhook - info
api tag
Webhooksadded - info
endpoint deprecated
- info
added the new optional
headerrequest parameterx-account-key - info
added the new
activation.createdenum value to the request property - info
added the new
bank_account_verification.resultenum value to the request property - info
added the new
billing_document.createdenum value to the request property - info
added the new
chargeback.status_updateenum value to the request property - info
added the new
checkout_session.accessedenum value to the request property - info
added the new
checkout_session.expiredenum value to the request property - info
added the new
client_bank_movements.bulk_createdenum value to the request property - info
added the new
customer.createdenum value to the request property - info
added the new
customer.deletedenum value to the request property - info
added the new
customer.updatedenum value to the request property - info
added the new
debt_reconciliation.reconciledenum value to the request property - info
added the new
document.canceledenum value to the request property - info
added the new
document.failedenum value to the request property - info
added the new
document.signedenum value to the request property - info
added the new
interaction.incomingenum value to the request property - info
added the new
invoice.createdenum value to the request property - info
added the new
invoice.paidenum value to the request property - info
added the new
invoice.refundenum value to the request property - info
added the new
invoice.updatedenum value to the request property - info
added the new
invoice.voidedenum value to the request property - info
added the new
invoice_restructuring.completedenum value to the request property - info
added the new
operation_receipt.createdenum value to the request property - info
added the new
payment_instrument.createdenum value to the request property - info
added the new
payment_instrument.updatedenum value to the request property - info
added the new
payment_method.attached_productsenum value to the request property - info
added the new
payment_method.deletedenum value to the request property - info
added the new
payment_method.status_updateenum value to the request property - info
added the new
payment_method.updatedenum value to the request property - info
added the new
payment_method_inscription_intent.failedenum value to the request property - info
added the new
payout.doneenum value to the request property - info
added the new
payout_br.successenum value to the request property - info
added the new
payout_cl.successenum value to the request property - info
added the new
payout_mx.successenum value to the request property - info
added the new
rendition_file.createdenum value to the request property - info
added the new
rendition_file.successenum value to the request property - info
added the new
rendition_file.uploadedenum value to the request property - info
added the new
subscription.createdenum value to the request property - info
added the new
subscription.deletedenum value to the request property - info
added the new
subscription.updatedenum value to the request property - info
added the new
transaction.bulk_failedenum value to the request property - info
added the new
transaction.bulk_successenum value to the request property - info
added the new
transaction.capture_pendingenum value to the request property - info
added the new
transaction.failedenum value to the request property - info
added the new
transaction.refundenum value to the request property - info
added the new
transaction.renewedenum value to the request property - info
added the new
transaction.status_updateenum value to the request property - info
added the new
transaction.successenum value to the request property - info
added the new
transaction_external.successenum value to the request property - info
added the new
validator_execution.resultenum value to the request property - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- breaking