{
    "id": "122e7a13-610c-4a7d-83c9-f43f757f81f9",
    "status": "paid",
    "amount": 25000,
    "currency": "SAR",
    "description": "Subscription Payment",
    "logo_url": "https:\/\/api.moyasar.com\/rails\/active_storage\/blobs\/proxy\/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCSndSb2dNPSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--451a82f59da5eec3a4037db2dfc86dda2a8288de\/data",
    "amount_format": "250.00 SAR",
    "url": "https:\/\/checkout.moyasar.com\/invoices\/122e7a13-610c-4a7d-83c9-f43f757f81f9?lang=en",
    "callback_url": "https:\/\/coffee.alreyada.tech\/api\/payment\/callback\/dashboard",
    "expired_at": null,
    "created_at": "2026-10-21T19:53:14.350Z",
    "updated_at": "2026-10-21T19:53:35.323Z",
    "back_url": "https:\/\/motakamel.alreyada.tech\/dashboard\/subscriptions?payment=failed",
    "success_url": "https:\/\/coffee.alreyada.tech\/api\/payment\/callback\/dashboard",
    "metadata": {
        "track_id": "moyasar_6ad9182a34ff92.09785689",
        "company_id": "6",
        "package_id": "1",
        "subscription_id": "153",
        "subscription_addition_id": "19"
    },
    "payments": [
        {
            "id": "1b9a269c-04eb-47c9-a7e1-ce296c728d9d",
            "status": "paid",
            "amount": 25000,
            "fee": 0,
            "currency": "SAR",
            "refunded": 0,
            "refunded_at": null,
            "captured": 0,
            "captured_at": null,
            "voided_at": null,
            "description": "Subscription Payment",
            "amount_format": "250.00 SAR",
            "fee_format": "0.00 SAR",
            "refunded_format": "0.00 SAR",
            "captured_format": "0.00 SAR",
            "invoice_id": "122e7a13-610c-4a7d-83c9-f43f757f81f9",
            "ip": "197.120.48.143",
            "callback_url": "https:\/\/checkout.moyasar.com\/invoices\/122e7a13-610c-4a7d-83c9-f43f757f81f9",
            "created_at": "2026-10-21T19:53:31.602Z",
            "updated_at": "2026-10-21T19:53:34.359Z",
            "metadata": null,
            "source": {
                "type": "creditcard",
                "company": "mada",
                "name": "Asda Asda",
                "number": "4201-32XX-XXXX-1010",
                "gateway_id": "moyasar_cc_UVaH3ovxFWwr2vxQsjoLTY5",
                "reference_number": "992629457981",
                "token": null,
                "message": "APPROVED",
                "transaction_url": null,
                "response_code": "00",
                "authorization_code": "007012",
                "issuer_name": "MOYASAR PAY SANDBOX",
                "issuer_country": "SA",
                "issuer_card_type": "credit",
                "issuer_card_category": "PREPAID"
            }
        }
    ]
}