Saltar al contenido principal
PATCH
Update Webhook Endpoint
v1 · Base URL https://api.fintoc.com/v1

Encabezados

Authorization
string
predeterminado:sk_test_9c8d8CeyBTx1VcJzuDgpm4H

Fintoc Secret Key

Parámetros de ruta

id
string
predeterminado:we_ZVkXK1EXCAEOl0pJ
requerido

The id of the Webhook Endpoint to update.

Cuerpo

application/json
description
string
predeterminado:Descripción del Webhook Endpoint

Optional description that might help identify the responsibilities of the endpoint.

enabled_events
string[]

Events that will trigger a webhook to be sent.

url
string
predeterminado:https://my.webhook.endpoint

URL that will receive the notifications about events.

disabled
boolean
predeterminado:false

Optional parameter to disable or enable the notifications to the endpoint.

Respuesta

200 - application/json

200

id
string
Ejemplo:

"we_M6yrvOepCe3Rqp8B"

description
string
Ejemplo:

"Eventos que recibirá el webhook."

url
string
Ejemplo:

"https://my.webhook.endpoint"

status
string
Ejemplo:

"enabled"

mode
string
Ejemplo:

"test"

secret
any
enabled_events
string[]
created_at
string
Ejemplo:

"2021-05-17T17:04:10.284Z"