Purchases
Create Purchase
This endpoint submits a purchase to Thanx for processing. This allows for issuance of loyalty points to the given user.
POST
Scope required:
purchases.writeParameters
string
required
Merchant ID
string
required
User ID
decimal
required
The purchase amount
string
required
Time the purchase was made in ISO8601 format
string
Location ID
string
Card ID that the user used, if it is registered in Thanx
array(string)
Optionally specified array of product strings to associate with the purchase