Purchases
Create Purchase
This endpoint submits a purchase to our system for processing. Because this purchase is processed asynchronously, there is no response JSON. Please allow up to a couple minutes to receive this purchase back from the GET /purchases endpoint.
POST
/
purchases
This endpoint is only available in SANDBOX
Response
merchant_id
string
The merchant ID
location_id
string
Location ID
amount
decimal
The purchase amount
purchased_at
string
Time the purchase was made in ISO8601-format
card
string
The card the user used, if it is registered in Thanx