{
    "info": {
        "_postman_id": "8a3e7b2c-9d4f-4e1a-8b3c-5d6e7f8a9b0c",
        "name": "OrvexPay API Collection",
        "description": "OrvexPay REST API collection for cryptocurrency payment integration.",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "item": [
        {
            "name": "Invoices",
            "item": [
                {
                    "name": "Create Invoice",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "x-api-key",
                                "value": "{{apiKey}}",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"priceAmount\": \"100.00\",\n    \"priceCurrency\": \"USD\",\n    \"payCurrency\": \"BTC\",\n    \"successUrl\": \"https://example.com/success\",\n    \"cancelUrl\": \"https://example.com/cancel\",\n    \"orderId\": \"ORDER-123\",\n    \"orderDescription\": \"Premium Subscription\"\n}"
                        },
                        "url": {
                            "raw": "{{baseUrl}}/api/invoice",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "invoice"
                            ]
                        },
                        "description": "Creates a new cryptocurrency payment invoice."
                    },
                    "response": []
                },
                {
                    "name": "Get Invoice Status",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{baseUrl}}/api/invoice/:id",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "invoice",
                                ":id"
                            ],
                            "variable": [
                                {
                                    "key": "id",
                                    "value": "INVOICE_ID_HERE"
                                }
                            ]
                        },
                        "description": "Retrieves the status and details of an existing invoice."
                    },
                    "response": []
                },
                {
                    "name": "Update Invoice Currency",
                    "request": {
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "\"ETH\""
                        },
                        "url": {
                            "raw": "{{baseUrl}}/api/invoice/:id/currency",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "invoice",
                                ":id",
                                "currency"
                            ],
                            "variable": [
                                {
                                    "key": "id",
                                    "value": "INVOICE_ID_HERE"
                                }
                            ]
                        },
                        "description": "Updates the payment currency for an existing invoice."
                    },
                    "response": []
                },
                {
                    "name": "Get Public Project Info",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "{{baseUrl}}/api/invoice/public/project/:apiKeyId",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "invoice",
                                "public",
                                "project",
                                ":apiKeyId"
                            ],
                            "variable": [
                                {
                                    "key": "apiKeyId",
                                    "value": "API_KEY_ID_HERE"
                                }
                            ]
                        },
                        "description": "Retrieves public project information using the API Key ID."
                    },
                    "response": []
                }
            ]
        }
    ],
    "event": [
        {
            "listen": "prerequest",
            "script": {
                "type": "text/javascript",
                "exec": [
                    ""
                ]
            }
        },
        {
            "listen": "test",
            "script": {
                "type": "text/javascript",
                "exec": [
                    ""
                ]
            }
        }
    ],
    "variable": [
        {
            "key": "baseUrl",
            "value": "https://api.orvexpay.com",
            "type": "string"
        },
        {
            "key": "apiKey",
            "value": "YOUR_API_KEY_HERE",
            "type": "string"
        }
    ]
}