curl --request POST \
--url https://api.example.com/api/v1/transaction \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"externalId": "<string>",
"type": "<string>",
"affiliateId": "<string>",
"clickKey": "<string>",
"externalCustomerId": "<string>",
"externalBrandId": "<string>",
"externalProductId": "<string>",
"transactionDate": "2023-11-07T05:31:56Z",
"country": "<string>",
"country_code": "<string>",
"depositAmount": 123,
"grossRevenue": 123,
"wageredAmount": 123,
"revShareCommission": 123,
"cpaCommission": 123,
"fixedCommission": 123,
"category": "<string>",
"label": "<string>",
"note": "<string>",
"operatorId": "<string>"
}
'