Transactions
Get Transaction
Returns a single transaction by ID. Only returns transactions belonging to the authenticated publisher.
GET
/pub_api/v3/transactions/:id
read:transactions
Path parameters
|
idrequired
integer
|
Transaction ID. |
Response
Returns the same fields as the List Transactions response, wrapped in a data object (not an array).
Request
curl https://developers.cuelinks.com/pub_api/v3/transactions/123456 \ -H "Authorization: Token YOUR_API_KEY"
200 OK
200
{ "data": { "id": 123456, "campaign_id": 101, "campaign_name": "Flipkart", "campaign_type": "CPS", "transaction_date": "2026-03-20", "status": "validated", "sale_amount": "1500.00", "currency": "INR", "user_commission": "67.50", "merchant_reference_id": "NW-TXN-98765", "order_id": "OD123456789", "product_name": "Samsung Galaxy S24", "category": "Electronics", "extra_info": null, "channel_id": 3424, "channel_name": "My Telegram", "sub_id": "homepage_banner", "sub_id_2": null, "sub_id_3": null, "sub_id_4": null, "sub_id_5": null, "invoice_number": null, "created_at": "2026-03-20T10:30:00Z", "updated_at": "2026-03-22T14:00:00Z" } }
404 Not Found
404
{ "error": "Transaction not found" }