Nice to have
bank_association_notification
When it fires
This event is triggered when a bank has been removed from or added to a programme.
Payload fields
| Field | Type | Description |
|---|---|---|
event | String | The name of the webhook event. |
eventType | String | The type of event: INSERT or DELETE. |
bank | Object | The bank that triggered the event. |
bank.id | String | The bank id stored in the Spaycial repository. |
bank.name | String | The name of the bank. |
bank.active | Boolean | Whether the end-user can register through this bank. false means the bank is not selectable by the end-user. |
shoppingHubExternalId | String | Programme id in your system. |
shoppingHubId | String | Programme id (Spaycial). |
Example
{
"event": "bank_association_notification",
"eventType": "DELETE",
"shoppingHubExternalId": "3145",
"shoppingHubId": "492f0b39-c205-4fb2-a225-70e042df3fdb",
"bank": {
"id": "398f0b39-c205-4fb2-a225-70e042df3fdb",
"name": "Société Générale",
"active": true
}
}