v1
latestOpenAPI 3.0.12026-07-245303882.5 MBApplication Webhooks
Create application webhook
Creates a webhook configuration for an application to receive notifications about payment events and journey status changes. Supports various authentication methods including API key, basic auth, and bearer token.
post/baas/v1/open/itp/applications/{applicationId}/webhooks
Path parameters
applicationIdstring required
O ID da aplicação. É um número exclusivo que identifica a aplicação.
Request body
Example request
{
"endpointBaseUrl": "https://itp.com/kong3",
"authentication": {
"authType": "bearer_token",
"data": {
"name": "<HEADER_NAME>",
"value": "<VALUE>",
"token": "<TOKEN>",
"username": "USERNAME",
"password": "PASSWORD"
},
"add_position": "header"
}
}Response
retornou com sucesso.
Example response
{
"createdAt": "2024-01-01T20:32:44.581Z",
"updatedAt": "2024-01-01T20:32:44.581Z",
"deletedAt": "2024-01-01T20:32:44.581Z",
"endpointBaseUrl": "https://itp.com/kong3",
"authentication": {
"authType": "bearer_token",
"data": {
"name": "<HEADER_NAME>",
"value": "<VALUE>",
"token": "<TOKEN>",
"username": "USERNAME",
"password": "PASSWORD"
},
"add_position": "header"
}
}