onfido v0.2.0 Onfido.Resources.Webhook
Link to this section Summary
Link to this section Functions
Link to this function
get(webhook_id)
Get a webhook
Example
Onfido.Resources.Webhook.get("<webhook-id>")
Link to this function
list()
List webhooks
Example
Onfido.Resources.Webhook.list()
Link to this function
register(params)
Register a webhook
Example
Onfido.Resources.Webhook.register(%{
url: "https://yourwebserver.com",
enabled: true,
environments: ["live", "sandbox"],
events: [
"report.completed",
"check.completed"
]
})