Transaction history and notifications
Q: How do I get notified when there is a new transaction made by a customer?
A: For this purpose, the POST /transaction-event method in the THC API was created. It requires the creation of a corresponding endpoint on the client side. Then, when Verestro receives any transaction sends an event to the created endpoint with the timestamp and id of the transaction, which can be used later to retrieve transaction details using another method in the THC API.
Q: Is it possible to define the content of the SMS sent when the corresponding actions are performed (card added to XPay, registration OTP etc.)?
A: Yes, Verestro can change texts in the SMSes as per customer’s demand.
Q: I would like to have access to THC (Transaction History) API External. How do I authorize to this API?
A: To access THC API, you need to provide Verestro with CN from the certificate that you have generated for LifeCycle/Antaca APIs. Then, Verestro will need to configure it internally and each of the requests should be done using this given certificate.
Q: Can we download transactions through THC (Transaction History)?
A: You can use THC API to download all transactions (i.e. the first Inbound endpoint from here https://developer.verestro.com/books/transaction-history-api/page/technical-documentation-thc-external-api). You can also be notified about the creation or update of a transaction. In that case you must create an endpoint as in the “Outboud” section in the link and then you will be able to download the transaction individually, i.e. through the second endpoint with “Inbound”