{
"success": true,
"message": "subscription transactions fetched successfully",
"data": [
{
"id": "923",
"user_id": "2238",
"plan_id": "3",
"user_plan_id": "193",
"email": "chimezienwagbo@gmail.com",
"plan_name": "team",
"reference": "1735390884583",
"currency": "NGN",
"channel": "card",
"amount": 1063300,
"status": "SUCCESS",
"data": "{\"id\":4527104959,\"domain\":\"test\",\"status\":\"success\",\"reference\":\"1735390884583\",\"amount\":1063300,\"message\":null,\"gateway_response\":\"Successful\",\"paid_at\":\"2024-12-28T13:01:43.000Z\",\"created_at\":\"2024-12-28T13:01:32.000Z\",\"channel\":\"card\",\"currency\":\"NGN\",\"ip_address\":\"105.112.206.67\",\"metadata\":{\"plan_price\":\"11\",\"referrer\":\"http://localhost:5173/settings\"},\"fees_breakdown\":null,\"log\":null,\"fees\":25950,\"fees_split\":null,\"authorization\":{\"authorization_code\":\"AUTH_b7xdjpcfqs\",\"bin\":\"408408\",\"last4\":\"4081\",\"exp_month\":\"12\",\"exp_year\":\"2030\",\"channel\":\"card\",\"card_type\":\"visa \",\"bank\":\"TEST BANK\",\"country_code\":\"NG\",\"brand\":\"visa\",\"reusable\":true,\"signature\":\"SIG_e7GJEcn23oRUsmnJN5EO\",\"account_name\":null,\"receiver_bank_account_number\":null,\"receiver_bank\":null},\"customer\":{\"id\":220291772,\"first_name\":\"\",\"last_name\":\"\",\"email\":\"chimezienwagbo@gmail.com\",\"customer_code\":\"CUS_2f0v9qzrh0xys7x\",\"phone\":\"\",\"metadata\":null,\"risk_action\":\"default\",\"international_format_phone\":null},\"plan\":{},\"subaccount\":{},\"split\":{},\"order_id\":null,\"paidAt\":\"2024-12-28T13:01:43.000Z\",\"requested_amount\":1063300,\"pos_transaction_data\":null,\"source\":{\"type\":\"web\",\"source\":\"checkout\",\"entry_point\":\"request_inline\",\"identifier\":null}}",
"platform": "PAYSTACK",
"created_at": "2024-12-28T14:01:46.042+01:00",
"updated_at": "2024-12-28T14:01:46.069+01:00",
"plan": {
"id": "3",
"name": "team",
"description": null,
"created_at": null,
"updated_at": null
}
},
{
"id": "473",
"user_id": "2238",
"plan_id": "2",
"user_plan_id": "127",
"email": "chimezienwagbo@gmail.com",
"plan_name": "pro",
"reference": "1735279802445",
"currency": "NGN",
"channel": "card",
"amount": 980000,
"status": "SUCCESS",
"data": "{\"id\":4522307348,\"domain\":\"test\",\"status\":\"success\",\"reference\":\"1735279802445\",\"amount\":980000,\"message\":null,\"gateway_response\":\"Successful\",\"paid_at\":\"2024-12-27T06:10:19.000Z\",\"created_at\":\"2024-12-27T06:10:12.000Z\",\"channel\":\"card\",\"currency\":\"NGN\",\"ip_address\":\"105.112.206.67\",\"metadata\":{\"plan_price\":\"8\",\"referrer\":\"http://localhost:5173/settings\"},\"fees_breakdown\":null,\"log\":null,\"fees\":24700,\"fees_split\":null,\"authorization\":{\"authorization_code\":\"AUTH_hbn6ifqvlw\",\"bin\":\"408408\",\"last4\":\"4081\",\"exp_month\":\"12\",\"exp_year\":\"2030\",\"channel\":\"card\",\"card_type\":\"visa \",\"bank\":\"TEST BANK\",\"country_code\":\"NG\",\"brand\":\"visa\",\"reusable\":true,\"signature\":\"SIG_e7GJEcn23oRUsmnJN5EO\",\"account_name\":null,\"receiver_bank_account_number\":null,\"receiver_bank\":null},\"customer\":{\"id\":220291772,\"first_name\":\"\",\"last_name\":\"\",\"email\":\"chimezienwagbo@gmail.com\",\"customer_code\":\"CUS_2f0v9qzrh0xys7x\",\"phone\":\"\",\"metadata\":null,\"risk_action\":\"default\",\"international_format_phone\":null},\"plan\":{},\"subaccount\":{},\"split\":{},\"order_id\":null,\"paidAt\":\"2024-12-27T06:10:19.000Z\",\"requested_amount\":980000,\"pos_transaction_data\":null,\"source\":{\"type\":\"web\",\"source\":\"checkout\",\"entry_point\":\"request_inline\",\"identifier\":null}}",
"platform": "PAYSTACK",
"created_at": "2024-12-27T07:10:20.826+01:00",
"updated_at": "2024-12-27T07:10:20.924+01:00",
"plan": {
"id": "2",
"name": "pro",
"description": null,
"created_at": null,
"updated_at": null
}
}
]
}