Copy {
"responseCode": 1,
"responseText": "Purchase Successful",
"data": {
"policy": {
"id": "cb5cf399-88e8-4a82-9cdc-bc6f0cca9941",
"app_mode": "test",
"active": true,
"first_name": "Ken",
"last_name": "Jim",
"email": "glitzyken177@gmail.com",
"dob": "1997-12-12",
"phone": "09095104478",
"start_date": "2024-07-02T09:35:08.000Z",
"expiration_date": "2024-08-02T09:35:08.000Z",
"activation_date": "2024-07-02T09:35:08.000Z",
"distributor_id": "10cd1dac-3a5c-43ee-b935-641d53f9cb27",
"customer_id": "916c28bb-ec70-4a2d-b6ea-07794b139513",
"buyer_id": "916c28bb-ec70-4a2d-b6ea-07794b139513",
"product_id": "0521ffe3-e7c1-4bfa-b90e-d69ab311ec98",
"product_category_id": "9d78bc79-3fa8-447d-b688-e42c1c6838a0",
"provider_id": "0ef7f726-19e1-438c-87aa-574ca1718726",
"meta": {
"payload": {
"plan_id": "41",
"customer": {
"dob": "1997-12-12",
"city": 1,
"phone": "09095104478",
"state": 1,
"gender": "Male",
"address": "My residential address",
"country": 164,
"lastName": "Jim",
"relation": "Self",
"firstName": "Ken",
},
"policyId": "2058",
"reference": "JPQAUNJBJD"
},
"id_image": "https://via.placeholder.com/300/09f/fff.png",
"payment_plan": 1,
"hmo_policy_id": "100005512",
"provider_expiry": "2025-05-08 23:59:59",
"provider_policy_id": "2058",
"id_card_url": "https://s3.eu-west-2.amazonaws.com/staging.mycover.ai/269e57f2-f780-479a-9fc3-4fdd7d3a8371-Ken"
},
"genius_price": 55000,
"market_price": 55000,
"purchase_id": "696f1224-13f1-40ea-89dd-b0d2834d7737",
"profit": 21725,
"submitted_to_provider": true,
"updated_at": "2024-07-02T09:35:12.625Z",
"created_at": "2024-07-02T09:35:08.014Z",
"history": null,
"deleted_at": null
}
}
}