Webhooks/Callbacks

Get notified of Pyxis events

Overview

Webhooks can be used to keep external / third party systems informed of activities that happen withing the Pyxis system.

For example, a webhook could be created that will inform a CRM system when a new customer has been on boarded by the Pyxis system.

Registering a webhook

To create a new webhook, post to the /api/webhooks endpoint with a request body containing the following data:

NameDescriptionType
enabledSpecifies whether the webhook should be triggered.boolean
triggerThe id of the event that should trigger the webhooknFiniti Event Id (see below)
eventTypeWebhook
definitionThe url to be called when the event type specified by 'trigger' occurs.string
Event IdEvent NameDescription
1Customer Created
2Customer Creation Failed
3KYC Succeeded
4KYC Failed
5Vault Creation Success
6Vault Creation Failed
8Funding Source Creation Succeeded
9Funding Source Creation Failed,
11Fund Transfer Succeeded,
12Fund Transfer Failed,
13Asset Ownership Transfer Success
14Asset Ownership Transfer Failure
15All
16Payment Succeeded
17Payment Failed,
18Payment Intitiated,
19Asset Ownership Intitiated,
20Payment Pending,
21Asset Created,
22Asset Completed,
23Asset Creation Failed,
27Asset Ownership Deleted
100Asset Status Changed