{
"event": "affiliate_joined",
"team_id": "9ce445a9-21f4-4e2a-b6fa-226dbb2a14f3",
"team_name": "Nama Syarikat Sdn. Bhd.",
"affiliate": {
"id": 1,
"name": "Pearl Morgan",
"email": "mimicejig@mailinator.com",
"phone": "+6018989892"
},
"timestamp": "2025-03-08 12:46:53 +08"
}
JSON{
"event": "referral_approved",
"team_id": "9ce445a9-21f4-4e2a-b6fa-226dbb2a14f3",
"team_name": "Nama Syarikat Sdn. Bhd.",
"affiliate": {
"id": 1,
"name": "Pearl Morgan",
"email": "mimicejig@mailinator.com",
"phone": "+6018989892"
},
"referral": {
"id": 82,
"form_title": "dd",
"transaction_id": "01jnszhdng1z4mxqwsfqd27k5w",
"order_number": "LINK-05912",
"amount": "10.00",
"commission_amount": "50.00",
"status": "approved",
"referral_source": "direct",
"ip_address": "127.0.0.1",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36"
},
"timestamp": "2025-03-08 12:18:27 +08"
}
JSON{
"event": "payout_request",
"team_id": "9ce445a9-21f4-4e2a-b6fa-226dbb2a14f3",
"team_name": "Nama Syarikat Sdn. Bhd.",
"affiliate": {
"id": 1,
"name": "Pearl Morgan",
"email": "mimicejig@mailinator.com",
"phone": "+6018989892"
},
"payout_request": {
"id": 15,
"total_amount": "170.00",
"status": "approved",
"requested_at": "2025-03-08 12:19:00 +08",
"referral_count": 2,
"referrals": [
{
"id": 81,
"order_number": "LINK-05911",
"commission_amount": "50.00",
"status": "approved",
"transaction_id": "01jnsygswetywfzx29kgkdj92f"
},
{
"id": 82,
"order_number": "LINK-05912",
"commission_amount": "50.00",
"status": "approved",
"transaction_id": "01jnszhdng1z4mxqwsfqd27k5w"
}
]
},
"timestamp": "2025-03-08 12:19:01 +08"
}
JSON