GST Filing Details Code Examples

Business
POST /api/v1/gst/filing-details Bearer

Ready-to-run GST Filing Details calls. Replace YOUR_API_KEY with the key from your dashboard.

GST Filing Details — Code Samples

cURL
PHP
Fetch
jQuery
Axios
Python
curl -X POST https://app.way2api.com/api/v1/gst/filing-details \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"gst_number":"03DOXPM4071K1ZE","financial_year":"2023-24"}'

Expected Response — 200

{
    "status": "SUCCESS",
    "status_code": 200,
    "charged": true,
    "success": true,
    "message": "",
    "message_code": "OK",
    "order_id": "W2A1739512345abcdef01",
    "data": {
        "order_id": "W2A1739512345abcdef01",
        "result": {
            "gst_number": "03DOXPM4071K1ZE",
            "financial_year": "2023-24",
            "filing_count": 16,
            "filings": [
                {
                    "return_type": "GSTR1",
                    "return_period": "2024-03",
                    "arn": "AA030324078315H",
                    "filed_on": "2024-04-08",
                    "filing_mode": "online",
                    "status": "filed",
                    "is_valid": true
                },
                {
                    "return_type": "GSTR3B",
                    "return_period": "2024-03",
                    "arn": "AA0303244598718",
                    "filed_on": "2024-04-19",
                    "filing_mode": "online",
                    "status": "filed",
                    "is_valid": true
                },
                {
                    "return_type": "GSTR1",
                    "return_period": "2024-02",
                    "arn": "AA0302241450008",
                    "filed_on": "2024-03-10",
                    "filing_mode": "online",
                    "status": "filed",
                    "is_valid": true
                }
            ]
        }
    }
}