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

Encabezados

Authorization
string
predeterminado:sk_test_9c8d8CeyBTx1VcJzuDgpm4H

Fintoc Secret Key

Cuerpo

application/json
url
string
predeterminado:https://my.webhook.endpoint
requerido

URL that will receive the notifications about events.

enabled_events
string[]
requerido

Events that will trigger a webhook to be sent.

description
string
predeterminado:Descripción del Webhook Endpoint

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

Respuesta

201 - application/json

201

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
string
Ejemplo:

"whsec_live_kY8cxHAHSD9WvzUf7Z7Ky-yx"

enabled_events
string[]
created_at
string
Ejemplo:

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