Duplicate deliveries are expected. A single purchase can trigger this
webhook multiple times — the same
id is re-sent as the purchase is processed
through authorization and settlement, and across payment rails. Delivery is
not exactly-once (best-effort, with duplicates expected). Deduplicate by id
and treat repeat deliveries for an id as updates. Because amount and
products may be refined between deliveries, prefer the values from the last
delivery you receive for a given id.Payload Description
string
The ID of the purchase record in Thanx
hash
User information
hash
Merchant information
hash
Location information
string
Time the purchase was made in ISO8601-format
string
The purchase amount, represented as a string to prevent precision issues commonly associated with floating point numbers on the receiving side. This value may be refined between the authorization and settlement deliveries for the same purchase
id; prefer the value from the last delivery you receive.hash
The order information, if this purchase reflects an online order
array(string)
The list of products the user bought