Track a sale for a short link.
cURL
curl --request POST \ --url https://api.codeqr.io/track/sale \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "customerId": "<string>", "amount": 1, "paymentProcessor": "stripe", "eventName": "Purchase", "invoiceId": null, "currency": "usd", "metadata": null }'
{ "eventName": "<string>", "customerId": "<string>", "amount": 123, "paymentProcessor": "<string>", "invoiceId": "<string>", "currency": "<string>", "metadata": {} }
Default authentication mechanism
A sale was tracked.
The response is of type object.
object