{
    "applications": [
        {
            "id": "app_1cc61855ac3c1fc0",
            "referenceNumber": "MDN-2026-77BD4735",
            "fullName": "John Kamau",
            "email": "test@diaspora.com",
            "phoneNumber": "+254712345678",
            "countryOfResidence": "United Kingdom",
            "professionalTitle": "Software Engineer",
            "employerOrBusiness": "",
            "industry": "Technology",
            "professionalSummary": "10 years in software",
            "internationalExposureCategories": [
                "International employment"
            ],
            "internationalExposureDescription": "Worked in UK since 2015",
            "consentAccepted": true,
            "status": "account_created",
            "paymentStatus": "confirmed",
            "reviewStatus": "accepted",
            "vettingStatus": "approved",
            "createdAt": "2026-06-11T09:01:03+00:00",
            "updatedAt": "2026-06-11T17:21:19+00:00",
            "submittedAt": "2026-06-11T09:01:16+00:00",
            "internalNotes": [
                {
                    "note": "Confirmed",
                    "createdBy": "system",
                    "createdAt": "2026-06-11T09:49:43+00:00"
                },
                {
                    "note": "You look amazing",
                    "createdBy": "system",
                    "createdAt": "2026-06-11T10:22:43+00:00"
                }
            ],
            "memberId": "mem_692642eb97378f08"
        },
        {
            "id": "app_e47f36cf6258c899",
            "referenceNumber": "MDN-2026-5B128400",
            "fullName": "Jane Mwangi",
            "email": "test@diaspora.com",
            "phoneNumber": "+254700000000",
            "countryOfResidence": "United Kingdom",
            "professionalTitle": "Software Engineer",
            "employerOrBusiness": "TechCorp Ltd",
            "industry": "Technology",
            "professionalSummary": "Senior engineer with 8 years abroad",
            "internationalExposureCategories": [
                "International employment"
            ],
            "internationalExposureDescription": "Worked at UK tech firms for 8 years",
            "consentAccepted": true,
            "status": "account_created",
            "paymentStatus": "confirmed",
            "reviewStatus": "accepted",
            "vettingStatus": "approved",
            "createdAt": "2026-06-11T09:17:25+00:00",
            "updatedAt": "2026-06-11T09:20:37+00:00",
            "submittedAt": "2026-06-11T09:17:48+00:00",
            "memberId": "mem_43b0d5a6c29d7fea"
        },
        {
            "id": "test_app_2026_01",
            "referenceNumber": "MDN-TEST-2026-01",
            "fullName": "Test User",
            "email": "test.user@example.com",
            "phoneNumber": "+254700000001",
            "countryOfResidence": "Kenya",
            "professionalTitle": "QA Tester",
            "employerOrBusiness": "Test Labs",
            "industry": "Software",
            "professionalSummary": "Testing membership ingestion.",
            "internationalExposureCategories": [
                "Testing"
            ],
            "internationalExposureDescription": "Validation test.",
            "consentAccepted": true,
            "status": "pending_admin_preapproval",
            "paymentStatus": "pending",
            "reviewStatus": "pending_review",
            "vettingStatus": "not_started",
            "createdAt": "2026-06-14T17:14:28.496022Z",
            "updatedAt": "2026-06-15T15:08:40+00:00",
            "applicationFee": {
                "amount": 20,
                "currency": "USD",
                "status": "waived",
                "waiverReason": "E2E_test_waive",
                "waivedBy": "test_admin",
                "waivedAt": "2026-06-15T15:08:40+00:00"
            },
            "internalNotes": [
                {
                    "note": "Payment waived: E2E_test_waive (amount: USD 20)",
                    "createdBy": "test_admin",
                    "createdAt": "2026-06-15T15:08:40+00:00"
                }
            ]
        },
        {
            "id": "test_app_2026_02",
            "referenceNumber": "MDN-TEST-2026-02",
            "fullName": "Test User 2",
            "email": "test.user2@example.com",
            "phoneNumber": "+254700000002",
            "countryOfResidence": "Kenya",
            "professionalTitle": "QA Tester",
            "employerOrBusiness": "Test Labs",
            "industry": "Software",
            "professionalSummary": "Backend runtime path validation.",
            "internationalExposureCategories": [
                "Testing"
            ],
            "internationalExposureDescription": "Validation test 2.",
            "consentAccepted": true,
            "status": "payment_pending",
            "paymentStatus": "pending",
            "reviewStatus": "pending_review",
            "vettingStatus": "not_started",
            "createdAt": "2026-06-14T17:16:49.826221Z",
            "updatedAt": "2026-06-14T17:16:49.826261Z"
        }
    ],
    "documents": [],
    "payments": [
        {
            "id": "pay_67644accc0f22432",
            "paymentType": "membership_application",
            "provider": "stripe",
            "amount": 100,
            "currency": "USD",
            "applicationId": "app_1cc61855ac3c1fc0",
            "memberId": null,
            "serviceRequestId": null,
            "consultationId": null,
            "description": "Annual My Diaspora Nexus membership fee",
            "status": "successful",
            "gatewayReference": "dev_simulate_08e611bc",
            "receiptNumber": "DEV-D1557671",
            "checkoutUrl": "https://checkout.stripe.com/mock/9d22865f5c71",
            "clientSecret": "pi_mock_secret_73c4b2fb7895",
            "mpesaCheckoutRequestId": null,
            "phoneNumber": null,
            "metadata": [],
            "createdAt": "2026-06-11T09:01:25+00:00",
            "updatedAt": "2026-06-11T09:45:13+00:00"
        },
        {
            "id": "pay_be733ebde1b451bd",
            "paymentType": "membership_application",
            "provider": "mpesa",
            "amount": 100,
            "currency": "USD",
            "applicationId": "app_e47f36cf6258c899",
            "memberId": null,
            "serviceRequestId": null,
            "consultationId": null,
            "description": "MDN annual membership fee",
            "status": "successful",
            "gatewayReference": "mpesa_bdf8b30fc504",
            "receiptNumber": "MPE12345678",
            "checkoutUrl": null,
            "clientSecret": null,
            "mpesaCheckoutRequestId": "ws_CO_c0134b78d35f",
            "phoneNumber": "+254700000000",
            "metadata": [],
            "createdAt": "2026-06-11T09:18:09+00:00",
            "updatedAt": "2026-06-11T09:19:23+00:00",
            "providerPayload": {
                "provider": "mpesa",
                "paymentId": "pay_be733ebde1b451bd",
                "status": "successful",
                "receiptNumber": "MPE12345678",
                "gatewayReference": "mpesa_bdf8b30fc504"
            }
        },
        {
            "id": "pay_15d48fc6b23f9bcb",
            "paymentType": "membership_application",
            "provider": "stripe",
            "amount": 20,
            "currency": "USD",
            "applicationId": "mapp_6884ad0b3edf95fd",
            "memberId": null,
            "serviceRequestId": null,
            "consultationId": null,
            "description": "My Diaspora Nexus USD 20 application fee",
            "status": "successful",
            "gatewayReference": "SMOKE-GATEWAY",
            "receiptNumber": "SMOKE-RECEIPT",
            "checkoutUrl": "https://checkout.stripe.com/mock/9b9c356902d0",
            "clientSecret": "pi_mock_secret_de6ca9700025",
            "mpesaCheckoutRequestId": null,
            "phoneNumber": null,
            "metadata": {
                "stage": "application_fee",
                "membershipApplicationId": "mapp_6884ad0b3edf95fd"
            },
            "createdAt": "2026-06-11T14:34:13+00:00",
            "updatedAt": "2026-06-11T14:34:13+00:00",
            "providerPayload": {
                "status": "successful",
                "provider": "stripe",
                "gatewayReference": "SMOKE-GATEWAY",
                "paymentId": "pay_15d48fc6b23f9bcb",
                "receiptNumber": "SMOKE-RECEIPT"
            }
        },
        {
            "id": "pay_1d426ad5b79ebf7b",
            "paymentType": "membership_application",
            "provider": "admin_waiver",
            "amount": 20,
            "currency": "USD",
            "applicationId": "test_app_2026_01",
            "description": "Admin waived application fee",
            "status": "waived",
            "method": "admin_waiver",
            "metadata": {
                "reason": "E2E_test_waive",
                "waivedBy": "test_admin"
            },
            "createdAt": "2026-06-15T15:08:40+00:00",
            "updatedAt": "2026-06-15T15:08:40+00:00"
        }
    ]
}