For AI agents: visit https://cubiapi.readme.io/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI. Append .md to any documentation page URL to get its markdown version.
Customers Bank will send webhooks to notify applications when an event occurs. The payload will include an ID about the item that was impacted. We do not send a full payload detailing data that was changed/modified. You can use the ID of the event to make a request to get the updated information.
Header Field
The event being dispatched from the webhook is passed via the X-Event-Type header of the payload. A sample payload can be found below. This is the way to identify which event was sent so your system can process it accordingly.
The payload of the body is a JSON object with the id of the impacted resource. Use the corresponding event identifier and the Id to act accordingly
{
"Id":"3c1d8cc1-1ef6-211f-8078-b1e10139e993" //id of impacted events
}
Given the id above, with the event transfers.book-completed this will tell you that the book transfer for record 3c1d8cc1-1ef6-211f-8078-b1e10139e993 has finished processing in our system. Any action your system needs to take can then be executed.
Transfers Events
Below is a list of event type id's for Transfers and what each event indicates.
Event Id
Description
transfers.book-completed
The associated book transfer has completed
transfers.book-declined
The associated book transfer has been declined
transfers.book-received
A new book transfer has been received
transfers.book-rejected
The associated book transfer has been declined
transfers.book-initiated
A new book transfer has been initiated
transfers.book-requires-approval
The associated book transfer requires approval.
Event Id
Description
transfers.account-link-removed
The associated account link has been removed
transfers.account-link-approved
The associated account link has been approved
transfers.account-link-declined
The associated account link has been declined
Event Id
Description
transfers.addressbook-entry-incoming-request
A new address book entry has been requested
Wire Events
Below is a list of event type id's for for Wires and what each event indicates.