openapi: 3.0.1 info: title: Belvo Accounts Webhooks API description: The Belvo API is a RESTful open-finance API for Latin America. It lets you connect to bank, fiscal, and employment institutions across Mexico, Brazil, and Colombia through Links, then retrieve accounts, balances, transactions, owners, incomes, and recurring expenses. The Payments (Brazil) surface initiates account-to-account payments over Pix and the Open Finance network. All requests use HTTP Basic authentication with your Secret Key ID as the username and Secret Key Password as the password. termsOfService: https://belvo.com/terms-and-conditions/ contact: name: Belvo Support email: support@belvo.com url: https://developers.belvo.com version: '1.0' servers: - url: https://api.belvo.com description: Production - url: https://sandbox.belvo.com description: Sandbox security: - basicAuth: [] tags: - name: Webhooks description: Asynchronous event notifications. paths: /api/webhooks/: get: operationId: listWebhooks tags: - Webhooks summary: List all webhooks responses: '200': description: A list of registered webhook endpoints. content: application/json: schema: type: array items: $ref: '#/components/schemas/Webhook' post: operationId: createWebhook tags: - Webhooks summary: Create a webhook requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/WebhookRequest' responses: '201': description: The webhook was created. content: application/json: schema: $ref: '#/components/schemas/Webhook' /api/webhooks/{id}/: parameters: - $ref: '#/components/parameters/ResourceId' get: operationId: detailWebhook tags: - Webhooks summary: Get a webhook's details responses: '200': description: The requested webhook. content: application/json: schema: $ref: '#/components/schemas/Webhook' delete: operationId: deleteWebhook tags: - Webhooks summary: Delete a webhook responses: '204': description: The webhook was deleted. components: schemas: WebhookRequest: type: object required: - url properties: url: type: string authorization_header: type: string Webhook: type: object properties: id: type: string format: uuid url: type: string authorization_header: type: string nullable: true enabled: type: boolean created_at: type: string format: date-time parameters: ResourceId: name: id in: path required: true description: The unique identifier of the resource. schema: type: string format: uuid securitySchemes: basicAuth: type: http scheme: basic description: HTTP Basic authentication using your Secret Key ID as the username and your Secret Key Password as the password.