{
    "info": {
        "_postman_id": "c14574c0-468e-444d-9704-a93070a1c014",
        "name": "Payment Gateway API",
        "description": "Collection for Payment Gateway API with strict body validation and header enforcement.",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
        "_exporter_id": "28804227",
        "_collection_link": "https://go.postman.co/collection/28804227-c14574c0-468e-444d-9704-a93070a1c014?source=collection_link"
    },
    "item": [
        {
            "name": "Invoices",
            "item": [
                {
                    "name": "Create Invoice",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-api-key",
                                "value": "sk_abcd12345",
                                "description": "Your API Key",
                                "type": "text"
                            },
                            {
                                "key": "merchant-id",
                                "value": "abcdef",
                                "description": "Your Merchant ID",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Origin",
                                "value": "https://localhost",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"amount\": 0.5,\n    \"currency\": \"BNB\",\n    \"network\": \"bsc\",\n    \"customer_name\": \"Mohd Ajmer\",\n    \"notification_emails\": \"realmlmads@gmail.com\"\n    \n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        },
                        "url": {
                            "raw": "https://www.smartcloudpay.com/api/invoice",
                            "protocol": "https",
                            "host": [
                                "www",
                                "smartcloudpay",
                                "com"
                            ],
                            "path": [
                                "api",
                                "invoice"
                            ]
                        },
                        "description": "Creates a new invoice. Requires x-api-key and merchant_id headers. Body MUST NOT contain merchant_id."
                    },
                    "response": []
                },
                {
                    "name": "Cancel Invoice",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-api-key",
                                "value": "sk_abcd12345",
                                "description": "Your API Key",
                                "type": "text"
                            },
                            {
                                "key": "merchant-id",
                                "value": "abcdef",
                                "description": "Your Merchant ID",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Origin",
                                "value": "https://localhost",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        },
                        "url": {
                            "raw": "https://www.smartcloudpay.com/api/payment/invoice/cancel/899c26e3-1e0f-4173-8c50-6c5ec9b8fb68",
                            "protocol": "https",
                            "host": [
                                "www",
                                "smartcloudpay",
                                "com"
                            ],
                            "path": [
                                "api",
                                "payment",
                                "invoice",
                                "cancel",
                                "899c26e3-1e0f-4173-8c50-6c5ec9b8fb68"
                            ]
                        },
                        "description": "Cancel an existing invoice."
                    },
                    "response": []
                },
                {
                    "name": "Get Invoice Details",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "https://www.smartcloudpay.com/api/invoice/444bf99d-718f-40fa-9b37-926a4b4ec3e9",
                            "protocol": "https",
                            "host": [
                                "www",
                                "smartcloudpay",
                                "com"
                            ],
                            "path": [
                                "api",
                                "invoice",
                                "444bf99d-718f-40fa-9b37-926a4b4ec3e9"
                            ]
                        }
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Managed Payouts",
            "item": [
                {
                    "name": "Execute Payout",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-api-key",
                                "value": "sk_abcd12345",
                                "description": "Your API Key",
                                "type": "text"
                            },
                            {
                                "key": "merchant-id",
                                "value": "abcdef",
                                "description": "Your Merchant ID",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Origin",
                                "value": "https://localhost",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"recipient_address\": \"0xe24B4Ea27754e92Dd0D25f28e3B6C39707B7fe64\",\n    \"amount\": 0.025,\n    \"currency\": \"USDT\",\n    \"chain\": \"bsc\",\n    \"reference_wp\": \"WP1234520\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        },
                        "url": {
                            "raw": "https://www.smartcloudpay.com/api/payout/execute",
                            "protocol": "https",
                            "host": [
                                "www",
                                "smartcloudpay",
                                "com"
                            ],
                            "path": [
                                "api",
                                "payout",
                                "execute"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get Payout History",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-api-key",
                                "value": "sk_abcd12345",
                                "type": "text"
                            },
                            {
                                "key": "merchant-id",
                                "value": "abcdef",
                                "description": "Your Merchant ID",
                                "type": "text"
                            },
                            {
                                "key": "Origin",
                                "value": "https://localhost",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "https://www.smartcloudpay.com/api/payout/history?limit=5",
                            "protocol": "https",
                            "host": [
                                "www",
                                "smartcloudpay",
                                "com"
                            ],
                            "path": [
                                "api",
                                "payout",
                                "history"
                            ],
                            "query": [
                                {
                                    "key": "limit",
                                    "value": "5"
                                }
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get Payout Status",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-api-key",
                                "value": "sk_abcd12345",
                                "type": "text"
                            },
                            {
                                "key": "merchant-id",
                                "value": "abcdef",
                                "type": "text"
                            },
                            {
                                "key": "Origin",
                                "value": "https://localhost",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{ \r\n    \r\n    \"reference_wp\": \"ecotrade-1769248259472\"\r\n\r\n }",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        },
                        "url": {
                            "raw": "https://www.smartcloudpay.com/api/payout/status",
                            "protocol": "https",
                            "host": [
                                "www",
                                "smartcloudpay",
                                "com"
                            ],
                            "path": [
                                "api",
                                "payout",
                                "status"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get Wallets",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-api-key",
                                "value": "sk_abcd12345",
                                "type": "text"
                            },
                            {
                                "key": "merchant-id",
                                "value": "abcdef",
                                "type": "text"
                            },
                            {
                                "key": "Origin",
                                "value": "https://localhost",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "https://www.smartcloudpay.com/api/payout/wallets",
                            "protocol": "https",
                            "host": [
                                "www",
                                "smartcloudpay",
                                "com"
                            ],
                            "path": [
                                "api",
                                "payout",
                                "wallets"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get Ip Address",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-api-key",
                                "value": "sk_abcd12345",
                                "type": "text"
                            },
                            {
                                "key": "merchant-id",
                                "value": "abcdef",
                                "type": "text"
                            },
                            {
                                "key": "",
                                "value": "",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "https://www.smartcloudpay.com/api/public/check-ip",
                            "protocol": "https",
                            "host": [
                                "www",
                                "smartcloudpay",
                                "com"
                            ],
                            "path": [
                                "api",
                                "public",
                                "check-ip"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get Prepaid Balance Check",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-api-key",
                                "value": "sk_abcd12345",
                                "type": "text"
                            },
                            {
                                "key": "merchant-id",
                                "value": "abcdef",
                                "type": "text"
                            },
                            {
                                "key": "Origin",
                                "value": "https://localhost",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "https://www.smartcloudpay.com/api/payout/balance/prepaid",
                            "protocol": "https",
                            "host": [
                                "www",
                                "smartcloudpay",
                                "com"
                            ],
                            "path": [
                                "api",
                                "payout",
                                "balance",
                                "prepaid"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get Chain Balance Check",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "x-api-key",
                                "value": "sk_abcd12345",
                                "type": "text"
                            },
                            {
                                "key": "merchant-id",
                                "value": "abcdef",
                                "type": "text"
                            },
                            {
                                "key": "Origin",
                                "value": "https://localhost",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "https://www.smartcloudpay.com/api/payout/balance/chain?network=BSC&currency=BNB",
                            "protocol": "https",
                            "host": [
                                "www",
                                "smartcloudpay",
                                "com"
                            ],
                            "path": [
                                "api",
                                "payout",
                                "balance",
                                "chain"
                            ],
                            "query": [
                                {
                                    "key": "network",
                                    "value": "BSC"
                                },
                                {
                                    "key": "currency",
                                    "value": "BNB"
                                }
                            ]
                        }
                    },
                    "response": []
                }
            ]
        }
    ],
    "variable": [
        {
            "key": "base_url",
            "value": "http://localhost:3000",
            "type": "string"
        },
        {
            "key": "api_key",
            "value": "YOUR_API_KEY_HERE",
            "type": "string"
        },
        {
            "key": "merchant_id",
            "value": "YOUR_MERCHANT_ID_HERE",
            "type": "string"
        }
    ]
}