Payment Optimization
...
Integration Guides
Account Updater API
4 min
sandbox environment while integrating with forter, you should use our sandbox environment which is free for use, and only requires your credentials base url (sandbox environment) https //pci tokenization sandbox checkouttools com/v1/ openapi schema is available here https //pci tokenization sandbox checkouttools com/documentation/json post /v1/account updater/card/update receive card details and return updated card details from the card network warning both request and response contain pci data! const response = await axios post('https //pci tokenization sandbox checkouttools com/v1/account updater/card/update', { cardnumber "4444555566660006", expirationmonth 12, expirationyear 2025, cardholdername "john doe", }, { headers { authorization `basic ${btoa(`${site id} ${site secret}`)}` } }); post /v1/account updater/token/update receive forter token or token alias and update the underlying card details in the forter vault const response = await axios post('https //pci tokenization sandbox checkouttools com/v1/account updater/token/update', { token "ftr1d8a56cfa6b3745a39e4a42d5ab1048c8", }, { headers { authorization `basic ${btoa(`${site id} ${site secret}`)}` } }); post /v1/account updater/token/enroll receive forter token or token alias and enrolls the token for continuous updates this means forter transparently keeps the underlying card details refreshed at the background for you const response = await axios post('https //pci tokenization sandbox checkouttools com/v1/account updater/token/enroll', { token "ftr1d8a56cfa6b3745a39e4a42d5ab1048c8", }, { headers { authorization `basic ${btoa(`${site id} ${site secret}`)}` } });