{
    "info": {
        "_postman_id": "lion-upi-gateway-universal",
        "name": "MTG Pay Gateway API Collection",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
        "description": "Official API Collection for integrating MTG Pay UPI Gateway into Websites, Mobile Apps, and Desktop Softwares."
    },
    "item": [
        {
            "name": "1. Create Payment Order",
            "request": {
                "method": "POST",
                "header": [
                    {
                        "key": "X-API-Key",
                        "value": "pi_live_sample_key_99812903",
                        "type": "text"
                    },
                    {
                        "key": "X-API-Secret",
                        "value": "sk_live_sample_secret_74829104",
                        "type": "text"
                    },
                    {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                    }
                ],
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"amount\": \"199.00\",\n    \"order_id\": \"ORD_1790675325\",\n    \"customer_name\": \"Aarav Sharma\",\n    \"customer_mobile\": \"9876543210\",\n    \"callback_url\": \"https://www.printin.space/demo.php?action=callback\",\n    \"description\": \"API Payment Test\"\n}"
                },
                "url": {
                    "raw": "https://www.printin.space/api/create-order",
                    "protocol": "https",
                    "host": [
                        "www.printin.space"
                    ],
                    "path": {
                        "1": "api",
                        "2": "create-order"
                    }
                }
            }
        },
        {
            "name": "2. Check Payment Status",
            "request": {
                "method": "POST",
                "header": [
                    {
                        "key": "X-API-Key",
                        "value": "pi_live_sample_key_99812903",
                        "type": "text"
                    },
                    {
                        "key": "X-API-Secret",
                        "value": "sk_live_sample_secret_74829104",
                        "type": "text"
                    },
                    {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                    }
                ],
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"order_id\": \"ORD_1790675325\"\n}"
                },
                "url": {
                    "raw": "https://www.printin.space/api/check-status",
                    "protocol": "https",
                    "host": [
                        "www.printin.space"
                    ],
                    "path": {
                        "1": "api",
                        "2": "check-status"
                    }
                }
            }
        }
    ]
}