{
    "item": [
        {
            "name": "Open Balances Report API Calls",
            "description": "API Calls to retrieve the Open Balance Report data",
            "item": [
                {
                    "id": "9ab38846-c800-478c-ac89-bedff84373b1",
                    "name": "GetOpenBalanceReport",
                    "request": {
                        "name": "GetOpenBalanceReport",
                        "description": {
                            "content": "\nThis API call is used to retrieve the Open Balance Report data.\n",
                            "type": "text/plain"
                        },
                        "url": {
                            "path": [
                                "openbalances"
                            ],
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "query": [
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "(Required) The date of the open balances to be retrieved in the format",
                                        "type": "text/plain"
                                    },
                                    "key": "balance_date",
                                    "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 transactions 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 transactions 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": "37602268-5a35-41a3-a40b-f1f082aa692b",
                            "name": "Open Balance Report request successful - data returned",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "openbalances"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The date of the open balances to be retrieved in the format",
                                                "type": "text/plain"
                                            },
                                            "key": "balance_date",
                                            "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 transactions 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    \"mid\": \"<number>\",\n    \"merchantName\": \"<string>\",\n    \"balanceAmount\": \"<number>\",\n    \"balanceCurrency\": \"<string>\",\n    \"balanceDate\": \"<number>\"\n  }\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "9a0ee196-f7c9-416e-87d1-ec5a4768c9ff",
                            "name": "Invalid request parameter. One of the request parameters failed validation. The message and param fields contain more detailed information.",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "openbalances"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The date of the open balances to be retrieved in the format",
                                                "type": "text/plain"
                                            },
                                            "key": "balance_date",
                                            "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 transactions 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/v1/reports"
        }
    ],
    "info": {
        "_postman_id": "6e14d1dc-7cc4-48b0-abe1-9b9f4e2ea6b6",
        "name": "Open Balances 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 Open Balance 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"
        }
    }
}