# JPMC-PDP Documentation from https://developer.payments.jpmorgan.com # 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. > You can configure which events to receive. For Merchant Services, refer to the [Notifications](/api/commerce/optimization-protection/notifications/notifications) API. For Treasury Services, contact your relationship manager. > ## Consent link events You receive notifications when subscribed account link events occur. **Consent Link Events** | 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. **Consent Events** | 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). | ✔ | | |