curl https://api.thanxsandbox.com/purchases \ -X POST \ $STANDARD_HEADERS \ -d '{ "purchase": { "merchant_id": "weoru", "location_id": "hljkfd2345", "user_id": "wgljsdwer23", "amount": 13.45, "purchased_at": "2020-09-15T00:52:10.655+00:00", "card_id": null } }'
{}
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.