{
    "item": [
        {
            "name": "Invoice Report API Calls",
            "description": "API Calls to retrieve the Invoice Report data",
            "item": [
                {
                    "id": "2fae0adf-d63e-49c1-82d8-d6c5af920d0a",
                    "name": "GetInvoiceReport",
                    "request": {
                        "name": "GetInvoiceReport",
                        "description": {
                            "content": "This API call is used to retrieve the Invoice Report data.\n",
                            "type": "text/plain"
                        },
                        "url": {
                            "path": [
                                "invoice"
                            ],
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "query": [
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "(Required) The start date of the Invoice Report span",
                                        "type": "text/plain"
                                    },
                                    "key": "from",
                                    "value": "<string>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "(Required) The end date of the Invoice Report span. Regardless of the date from/to, the default time values are 00:00 to 23:59.",
                                        "type": "text/plain"
                                    },
                                    "key": "to",
                                    "value": "<string>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "The Merchant ID is the unique alphanumeric merchant identifier and defines the transaction currency. If a MID is not specified, all invoices for all MIDs assigned to the API key in use will be retrieved.",
                                        "type": "text/plain"
                                    },
                                    "key": "mid",
                                    "value": "<string>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "The Merchant ID is the unique alphanumeric merchant identifier and defines the transaction currency. If a MID is not specified, all invoices for all MIDs assigned to the API key in use will be retrieved.",
                                        "type": "text/plain"
                                    },
                                    "key": "mid",
                                    "value": "<string>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "The invoice identifier.",
                                        "type": "text/plain"
                                    },
                                    "key": "invoice_number",
                                    "value": "<string>"
                                }
                            ],
                            "variable": []
                        },
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "method": "GET",
                        "body": {},
                        "auth": {
                            "type": "basic",
                            "basic": [
                                {
                                    "key": "username",
                                    "value": "{{basicAuthUsername}}"
                                },
                                {
                                    "key": "password",
                                    "value": "{{basicAuthPassword}}"
                                }
                            ]
                        }
                    },
                    "response": [
                        {
                            "id": "3defe3b0-da67-447c-b5c0-8e4f5bdedc9a",
                            "name": "Invoice Report requested successfully",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "invoice"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The start date of the Invoice Report span",
                                                "type": "text/plain"
                                            },
                                            "key": "from",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The end date of the Invoice Report span. Regardless of the date from/to, the default time values are 00:00 to 23:59.",
                                                "type": "text/plain"
                                            },
                                            "key": "to",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "The Merchant ID is the unique alphanumeric merchant identifier and defines the transaction currency. If a MID is not specified, all invoices for all MIDs assigned to the API key in use will be retrieved.",
                                                "type": "text/plain"
                                            },
                                            "key": "mid",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "The invoice identifier.",
                                                "type": "text/plain"
                                            },
                                            "key": "invoice_number",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "OK",
                            "code": 200,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"mid\": \"<string>\",\n  \"invoiceNumber\": \"<string>\",\n  \"invoiceDate\": \"<string>\",\n  \"invoicePeriod\": {\n    \"startDate\": \"<string>\",\n    \"endDate\": \"<string>\"\n  },\n  \"transactionCurrency\": \"<string>\",\n  \"settlementCurrency\": \"<string>\",\n  \"totalAmount\": \"<number>\",\n  \"settlementAmount\": \"<number>\",\n  \"exchangeRate\": \"<number>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "97b67bec-054d-4238-8ee3-b9c0983cd2d0",
                            "name": "Invalid request parameter. One of the request parameters failed validation. The message and param fields contain more detailed information.",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "invoice"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The start date of the Invoice Report span",
                                                "type": "text/plain"
                                            },
                                            "key": "from",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The end date of the Invoice Report span. Regardless of the date from/to, the default time values are 00:00 to 23:59.",
                                                "type": "text/plain"
                                            },
                                            "key": "to",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "The Merchant ID is the unique alphanumeric merchant identifier and defines the transaction currency. If a MID is not specified, all invoices for all MIDs assigned to the API key in use will be retrieved.",
                                                "type": "text/plain"
                                            },
                                            "key": "mid",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "The invoice identifier.",
                                                "type": "text/plain"
                                            },
                                            "key": "invoice_number",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"code\": \"<string>\",\n  \"message\": \"<string>\",\n  \"number\": \"<integer>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        }
                    ],
                    "event": [],
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    }
                },
                {
                    "id": "4c1db49e-c491-4808-beb2-d381645893a4",
                    "name": "GetInvoicesReport",
                    "request": {
                        "name": "GetInvoicesReport",
                        "description": {
                            "content": "\nThis API call is used to retrieve the multiple Invoice Report data.\n",
                            "type": "text/plain"
                        },
                        "url": {
                            "path": [
                                "invoices"
                            ],
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "query": [
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "(Required) The start date of the Invoice Report span",
                                        "type": "text/plain"
                                    },
                                    "key": "from",
                                    "value": "<string>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "(Required) The end date of the Invoice Report span. Regardless of the date from/to, the default time values are 00:00 to 23:59.",
                                        "type": "text/plain"
                                    },
                                    "key": "to",
                                    "value": "<string>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "The Merchant ID is the unique alphanumeric merchant identifier and defines the transaction currency. If a MID is not specified, all invoices for all MIDs assigned to the API key in use will be retrieved.",
                                        "type": "text/plain"
                                    },
                                    "key": "mid",
                                    "value": "<string>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "The Merchant ID is the unique alphanumeric merchant identifier and defines the transaction currency. If a MID is not specified, all invoices for all MIDs assigned to the API key in use will be retrieved.",
                                        "type": "text/plain"
                                    },
                                    "key": "mid",
                                    "value": "<string>"
                                }
                            ],
                            "variable": []
                        },
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "method": "GET",
                        "body": {},
                        "auth": {
                            "type": "basic",
                            "basic": [
                                {
                                    "key": "username",
                                    "value": "{{basicAuthUsername}}"
                                },
                                {
                                    "key": "password",
                                    "value": "{{basicAuthPassword}}"
                                }
                            ]
                        }
                    },
                    "response": [
                        {
                            "id": "cd0471d2-8f73-4e7a-b428-59edc33682be",
                            "name": "Invoices Report requested successfully",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "invoices"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The start date of the Invoice Report span",
                                                "type": "text/plain"
                                            },
                                            "key": "from",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The end date of the Invoice Report span. Regardless of the date from/to, the default time values are 00:00 to 23:59.",
                                                "type": "text/plain"
                                            },
                                            "key": "to",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "The Merchant ID is the unique alphanumeric merchant identifier and defines the transaction currency. If a MID is not specified, all invoices for all MIDs assigned to the API key in use will be retrieved.",
                                                "type": "text/plain"
                                            },
                                            "key": "mid",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "OK",
                            "code": 200,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"invoices\": [\n    {\n      \"mid\": \"<string>\",\n      \"invoiceNumber\": \"<string>\",\n      \"invoiceDate\": \"<string>\",\n      \"invoicePeriod\": {\n        \"startDate\": \"<string>\",\n        \"endDate\": \"<string>\"\n      },\n      \"transactionCurrency\": \"<string>\",\n      \"settlementCurrency\": \"<string>\",\n      \"totalAmount\": \"<number>\",\n      \"settlementAmount\": \"<number>\",\n      \"exchangeRate\": \"<number>\"\n    },\n    {\n      \"mid\": \"<string>\",\n      \"invoiceNumber\": \"<string>\",\n      \"invoiceDate\": \"<string>\",\n      \"invoicePeriod\": {\n        \"startDate\": \"<string>\",\n        \"endDate\": \"<string>\"\n      },\n      \"transactionCurrency\": \"<string>\",\n      \"settlementCurrency\": \"<string>\",\n      \"totalAmount\": \"<number>\",\n      \"settlementAmount\": \"<number>\",\n      \"exchangeRate\": \"<number>\"\n    }\n  ]\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "f806fa95-64c7-4466-b0a5-93b59cbfab0c",
                            "name": "Invalid request parameter. One of the request parameters failed validation. The message and param fields contain more detailed information.",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "invoices"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The start date of the Invoice Report span",
                                                "type": "text/plain"
                                            },
                                            "key": "from",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The end date of the Invoice Report span. Regardless of the date from/to, the default time values are 00:00 to 23:59.",
                                                "type": "text/plain"
                                            },
                                            "key": "to",
                                            "value": "<string>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "The Merchant ID is the unique alphanumeric merchant identifier and defines the transaction currency. If a MID is not specified, all invoices for all MIDs assigned to the API key in use will be retrieved.",
                                                "type": "text/plain"
                                            },
                                            "key": "mid",
                                            "value": "<string>"
                                        }
                                    ],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"code\": \"<string>\",\n  \"message\": \"<string>\",\n  \"number\": \"<integer>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        }
                    ],
                    "event": [],
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    }
                }
            ]
        }
    ],
    "event": [],
    "variable": [
        {
            "key": "baseUrl",
            "value": "https://api.paysafecard.com/v2/reports"
        }
    ],
    "info": {
        "_postman_id": "51148c17-49a2-45c5-9cf7-9be6fe4c5872",
        "name": "Invoice Report API",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
        "description": {
            "content": "## Overview\n\nThis is an API request to retrieve the Invoice Report for merchants.\n\n## Authentication\n\nAuthentication is performed using HTTP Basic Authentication.\n\nThe Authorization header must contain a Base64-encoded value of the provided `API Key`\n\ni.e.: the provided API Key is `psc_abc****************************`\n\nThe value that needs to be provided in the Authorization Header is:\n\n```\nBasic cHNabc*****************************************=\n```\n",
            "type": "text/plain"
        }
    }
}