{
    "item": [
        {
            "name": "Store Locator API Calls",
            "description": "API Calls to retrieve the Store Locator data",
            "item": [
                {
                    "id": "207d8018-147b-4749-80ac-a79b70049c33",
                    "name": "GetStores",
                    "request": {
                        "name": "GetStores",
                        "description": {
                            "content": "\nThis API call is used to retrieve the store data.\n",
                            "type": "text/plain"
                        },
                        "url": {
                            "path": [
                                "shops"
                            ],
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "query": [
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "(Required) Latitudinal search position.",
                                        "type": "text/plain"
                                    },
                                    "key": "lat",
                                    "value": "<number>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "(Required) Longitudinal search position.",
                                        "type": "text/plain"
                                    },
                                    "key": "long",
                                    "value": "<number>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "(Required) Radius in meters around lat/long to search for stores",
                                        "type": "text/plain"
                                    },
                                    "key": "radius",
                                    "value": "<number>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "Number of results to return (defaults to 20). Max. number of results allowed is 1000.",
                                        "type": "text/plain"
                                    },
                                    "key": "limit",
                                    "value": "<number>"
                                },
                                {
                                    "disabled": false,
                                    "description": {
                                        "content": "Filter to be applied to the stores. Available values are IN is to be used for PaysafeCash and OUT for PaysafeCash cashout. To filter for PaysafeCard stores, this parameter must be left out from the request",
                                        "type": "text/plain"
                                    },
                                    "key": "moneyFlowDirection",
                                    "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": "c0a1aba6-b5e2-492e-9db4-ea258abc95a5",
                            "name": "Store Locator request successful - data returned, if it was available",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "shops"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) Latitudinal search position.",
                                                "type": "text/plain"
                                            },
                                            "key": "lat",
                                            "value": "<number>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) Longitudinal search position.",
                                                "type": "text/plain"
                                            },
                                            "key": "long",
                                            "value": "<number>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) Radius in meters around lat/long to search for stores",
                                                "type": "text/plain"
                                            },
                                            "key": "radius",
                                            "value": "<number>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Number of results to return (defaults to 20). Max. number of results allowed is 1000.",
                                                "type": "text/plain"
                                            },
                                            "key": "limit",
                                            "value": "<number>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Filter to be applied to the stores. Available values are IN is to be used for PaysafeCash and OUT for PaysafeCash cashout. To filter for PaysafeCard stores, this parameter must be left out from the request",
                                                "type": "text/plain"
                                            },
                                            "key": "moneyFlowDirection",
                                            "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  {\n    \"id\": \"<number>\",\n    \"distributorId\": \"<number>\",\n    \"shopId\": \"<number>\",\n    \"name\": \"<string>\",\n    \"address\": \"<string>\",\n    \"city\": \"<string>\",\n    \"recommended\": \"<boolean>\",\n    \"zipCode\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"longitude\": \"<number>\",\n    \"latitude\": \"<number>\",\n    \"phone\": \"<string>\",\n    \"logoUrl\": \"<string>\",\n    \"logoThumbnailUrl\": \"<string>\",\n    \"pointOfSaleType\": {\n      \"id\": \"<number>\",\n      \"name\": \"<string>\",\n      \"logoFilePath\": \"<string>\",\n      \"idAsString\": \"<string>\"\n    },\n    \"pointOfSaleProducts\": [\n      {\n        \"shortName\": \"<string>\",\n        \"longName\": \"<string>\",\n        \"productCode\": \"<string>\"\n      },\n      {\n        \"shortName\": \"<string>\",\n        \"longName\": \"<string>\",\n        \"productCode\": \"<string>\"\n      }\n    ],\n    \"excludedBy\": \"<string>\",\n    \"distanceFromOrigin\": \"<number>\",\n    \"moneyFlowDirections\": [\n      \"<string>\",\n      \"<string>\"\n    ],\n    \"openingHours\": \"<string>\",\n    \"shopImageUrl\": \"<string>\",\n    \"variableDenominations\": \"<string>\",\n    \"storeLocatorMessage\": \"<string>\",\n    \"excludeFromTransaction\": \"<boolean>\"\n  },\n  {\n    \"id\": \"<number>\",\n    \"distributorId\": \"<number>\",\n    \"shopId\": \"<number>\",\n    \"name\": \"<string>\",\n    \"address\": \"<string>\",\n    \"city\": \"<string>\",\n    \"recommended\": \"<boolean>\",\n    \"zipCode\": \"<string>\",\n    \"countryCode\": \"<string>\",\n    \"longitude\": \"<number>\",\n    \"latitude\": \"<number>\",\n    \"phone\": \"<string>\",\n    \"logoUrl\": \"<string>\",\n    \"logoThumbnailUrl\": \"<string>\",\n    \"pointOfSaleType\": {\n      \"id\": \"<number>\",\n      \"name\": \"<string>\",\n      \"logoFilePath\": \"<string>\",\n      \"idAsString\": \"<string>\"\n    },\n    \"pointOfSaleProducts\": [\n      {\n        \"shortName\": \"<string>\",\n        \"longName\": \"<string>\",\n        \"productCode\": \"<string>\"\n      },\n      {\n        \"shortName\": \"<string>\",\n        \"longName\": \"<string>\",\n        \"productCode\": \"<string>\"\n      }\n    ],\n    \"excludedBy\": \"<string>\",\n    \"distanceFromOrigin\": \"<number>\",\n    \"moneyFlowDirections\": [\n      \"<string>\",\n      \"<string>\"\n    ],\n    \"openingHours\": \"<string>\",\n    \"shopImageUrl\": \"<string>\",\n    \"variableDenominations\": \"<string>\",\n    \"storeLocatorMessage\": \"<string>\",\n    \"excludeFromTransaction\": \"<boolean>\"\n  }\n]",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "60cb23c4-42ac-49a1-8e26-03566e4f6fb3",
                            "name": "Invalid request parameter. One of the request parameters failed validation. The errorMessage and errorDetail fields contain more detailed information.",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "shops"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) Latitudinal search position.",
                                                "type": "text/plain"
                                            },
                                            "key": "lat",
                                            "value": "<number>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) Longitudinal search position.",
                                                "type": "text/plain"
                                            },
                                            "key": "long",
                                            "value": "<number>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) Radius in meters around lat/long to search for stores",
                                                "type": "text/plain"
                                            },
                                            "key": "radius",
                                            "value": "<number>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Number of results to return (defaults to 20). Max. number of results allowed is 1000.",
                                                "type": "text/plain"
                                            },
                                            "key": "limit",
                                            "value": "<number>"
                                        },
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "Filter to be applied to the stores. Available values are IN is to be used for PaysafeCash and OUT for PaysafeCash cashout. To filter for PaysafeCard stores, this parameter must be left out from the request",
                                                "type": "text/plain"
                                            },
                                            "key": "moneyFlowDirection",
                                            "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  \"errorMessage\": \"<string>\",\n  \"errorDetail\": \"<string>\",\n  \"errorCode\": \"INVALID_QUERY_PARAMETER\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        }
                    ],
                    "event": [],
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    }
                }
            ]
        }
    ],
    "event": [],
    "variable": [
        {
            "key": "baseUrl",
            "value": "https://api.paysafecard.com/v2"
        }
    ],
    "info": {
        "_postman_id": "9f3ed2f6-ee6d-4903-971c-3718ff40db88",
        "name": "Store Locator 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 physical PaysafeCard and PaysafeCash stores in a specific area 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"
        }
    }
}