Listen for Successful Account Link Messages
JavaScript
Response Example
Define the handleMessage function
handleMessage function parses the data and converts it to a json object. Then, if the message contains ‘accountLinked’, it logs a success message along with the account type (data.info.type) — which could be “bank”, “card”, “iban”, or “pix”.
Merchants can replace this with their own functionalities here.

