🧠Track Sales (API)
Grab your API key
Authorization: Api-Key <API_KEY>Track sales
Parameters
fetch('https://app.uppercut.co/api/track-sale', {
method: 'POST',
headers: {
'Authorization': 'Api-Key <API_KEY>',
'Content-type': 'application/json'
},
body: JSON.stringify({
'event_id': '<payment_id>',
'amount': 130,
'email': '[email protected]',
'userId': '1234'
})
});import requests
headers = {
'Authorization': 'Api-Key <API_KEY>'
}
json_data = {
'event_id': '<payment_id>',
'amount': 130.0,
'email': '[email protected]',
'userId': '1234'
}
requests.post('https://app.uppercut.co/api/track-sale', headers=headers, json=json_data)Track refunds (optional)
Parameters
Last updated