Pay By Bank
Use callbacks
This tutorial shows you how to use the AIS API to perform various account operations. By the end of this tutorial, you will be able to:
- Use webhooks to receive notifications
- Understanding different notification options
Callback Response
You receive asynchronous HTTP callback response notifications when subscribed account link events occur. These notifications are sent to the callback URL you provide during the onboarding process.
Consent link events
You receive notifications when subscribed account link events occur.
| Events | Description | U.S. | U.K | EU |
|---|---|---|---|---|
| ConsentLinkInitiated |
The linking process has started. |
✔ |
||
| ConsentLinkOpened |
The consent link opens in the browser. | ✔ |
||
| ConsentLinkSuccessful |
The linking process has completed successfully. | ✔ |
||
| ConsentLinkCancelled |
The linking process is cancelled after starting. | ✔ |
||
| ConsentLinkAbandoned | The session or link expires after being opened, without completion. | ✔ |
||
ConsentLinkExpired |
The link has expired before use. | ✔ |
||
| ConsentLinkPending |
The linking process is waiting for micro‑deposit verification. (Only applicable for manual account validation). | ✔ |
||
| ConsentLinkFailed |
The linking process ends with an error before completion. | ✔ |
Consent Events
You receive notifications when account information events occur.
| Events | Description | U.S. | U.K | EU |
|---|---|---|---|---|
| ConsentSuccessful | The account is verified after the link is completed. | ✔ |
✔ |
✔ |
| ConsentFailed | Account verification failed after the link is completed. | ✔ |
✔ |
✔ |
| ConsentRevoked |
The consent was withdrawn by the consumer or the system after completion. | ✔ |
||
| ConsentPending | The consent process is in progress and awaiting micro‑deposit verification. (Only applicable for manual account validation). | ✔ |
||
| ConsentReadyToValidate | Small test deposits have been sent; prompted to confirm the amounts. (Only applicable for manual account validation). | ✔ |