{
    "item": [
        {
            "name": "RC Request API Calls",
            "description": "API Calls to request new RCs",
            "item": [
                {
                    "id": "9ec2b525-53b0-4fb3-aad3-93ccc239f1d2",
                    "name": "RequestRC",
                    "request": {
                        "name": "RequestRC",
                        "description": {
                            "content": "\nThis API call is used to request a new RC to be set up\n",
                            "type": "text/plain"
                        },
                        "url": {
                            "path": [
                                "submerchants"
                            ],
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "method": "POST",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"submerchants\": [\n    {\n      \"id\": \"<string>\",\n      \"company_name\": \"<string>\",\n      \"country_of_incorporation\": \"<string>\",\n      \"licenses\": [\n        {\n          \"country\": \"<string>\"\n        },\n        {\n          \"country\": \"<string>\"\n        }\n      ],\n      \"type_of_business\": \"<string>\",\n      \"mcc\": \"<string>\",\n      \"webshops\": [\n        {\n          \"url\": \"<string>\"\n        },\n        {\n          \"url\": \"<string>\"\n        }\n      ],\n      \"products\": [\n        {\n          \"name\": \"<string>\",\n          \"features\": [\n            \"PAYOUT\",\n            \"PAYOUT\"\n          ]\n        },\n        {\n          \"name\": \"<string>\",\n          \"features\": [\n            \"REFUND\",\n            \"PAYOUT\"\n          ]\n        }\n      ]\n    },\n    {\n      \"id\": \"<string>\",\n      \"company_name\": \"<string>\",\n      \"country_of_incorporation\": \"<string>\",\n      \"licenses\": [\n        {\n          \"country\": \"<string>\"\n        },\n        {\n          \"country\": \"<string>\"\n        }\n      ],\n      \"type_of_business\": \"<string>\",\n      \"mcc\": \"<string>\",\n      \"webshops\": [\n        {\n          \"url\": \"<string>\"\n        },\n        {\n          \"url\": \"<string>\"\n        }\n      ],\n      \"products\": [\n        {\n          \"name\": \"<string>\",\n          \"features\": [\n            \"REFUND\",\n            \"PAYOUT\"\n          ]\n        },\n        {\n          \"name\": \"<string>\",\n          \"features\": [\n            \"REFUND\",\n            \"REFUND\"\n          ]\n        }\n      ]\n    }\n  ],\n  \"callback_url\": \"<string>\"\n}",
                            "options": {
                                "raw": {
                                    "headerFamily": "json",
                                    "language": "json"
                                }
                            }
                        },
                        "auth": {
                            "type": "basic",
                            "basic": [
                                {
                                    "key": "username",
                                    "value": "{{basicAuthUsername}}"
                                },
                                {
                                    "key": "password",
                                    "value": "{{basicAuthPassword}}"
                                }
                            ]
                        }
                    },
                    "response": [
                        {
                            "id": "57fed0a8-cd27-4677-9913-de0f7a0226ec",
                            "name": "RC Request successful",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "submerchants"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "POST",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n  \"submerchants\": [\n    {\n      \"id\": \"<string>\",\n      \"company_name\": \"<string>\",\n      \"country_of_incorporation\": \"<string>\",\n      \"licenses\": [\n        {\n          \"country\": \"<string>\"\n        },\n        {\n          \"country\": \"<string>\"\n        }\n      ],\n      \"type_of_business\": \"<string>\",\n      \"mcc\": \"<string>\",\n      \"webshops\": [\n        {\n          \"url\": \"<string>\"\n        },\n        {\n          \"url\": \"<string>\"\n        }\n      ],\n      \"products\": [\n        {\n          \"name\": \"<string>\",\n          \"features\": [\n            \"PAYOUT\",\n            \"PAYOUT\"\n          ]\n        },\n        {\n          \"name\": \"<string>\",\n          \"features\": [\n            \"REFUND\",\n            \"PAYOUT\"\n          ]\n        }\n      ]\n    },\n    {\n      \"id\": \"<string>\",\n      \"company_name\": \"<string>\",\n      \"country_of_incorporation\": \"<string>\",\n      \"licenses\": [\n        {\n          \"country\": \"<string>\"\n        },\n        {\n          \"country\": \"<string>\"\n        }\n      ],\n      \"type_of_business\": \"<string>\",\n      \"mcc\": \"<string>\",\n      \"webshops\": [\n        {\n          \"url\": \"<string>\"\n        },\n        {\n          \"url\": \"<string>\"\n        }\n      ],\n      \"products\": [\n        {\n          \"name\": \"<string>\",\n          \"features\": [\n            \"REFUND\",\n            \"PAYOUT\"\n          ]\n        },\n        {\n          \"name\": \"<string>\",\n          \"features\": [\n            \"REFUND\",\n            \"REFUND\"\n          ]\n        }\n      ]\n    }\n  ],\n  \"callback_url\": \"<string>\"\n}",
                                    "options": {
                                        "raw": {
                                            "headerFamily": "json",
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "OK",
                            "code": 200,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"submerchants\": [\n    {\n      \"id\": \"<string>\",\n      \"status\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"status\": \"<string>\"\n    }\n  ],\n  \"request_id\": \"<string>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "1cd0e911-3cee-43ab-8484-47c2bf2d1959",
                            "name": "Invalid request parameter. One of the request parameters failed validation. The message and param fields contain more detailed information.",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "submerchants"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    },
                                    {
                                        "description": {
                                            "content": "Added as a part of security scheme: basic",
                                            "type": "text/plain"
                                        },
                                        "key": "Authorization",
                                        "value": "Basic <credentials>"
                                    }
                                ],
                                "method": "POST",
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\n  \"submerchants\": [\n    {\n      \"id\": \"<string>\",\n      \"company_name\": \"<string>\",\n      \"country_of_incorporation\": \"<string>\",\n      \"licenses\": [\n        {\n          \"country\": \"<string>\"\n        },\n        {\n          \"country\": \"<string>\"\n        }\n      ],\n      \"type_of_business\": \"<string>\",\n      \"mcc\": \"<string>\",\n      \"webshops\": [\n        {\n          \"url\": \"<string>\"\n        },\n        {\n          \"url\": \"<string>\"\n        }\n      ],\n      \"products\": [\n        {\n          \"name\": \"<string>\",\n          \"features\": [\n            \"PAYOUT\",\n            \"PAYOUT\"\n          ]\n        },\n        {\n          \"name\": \"<string>\",\n          \"features\": [\n            \"REFUND\",\n            \"PAYOUT\"\n          ]\n        }\n      ]\n    },\n    {\n      \"id\": \"<string>\",\n      \"company_name\": \"<string>\",\n      \"country_of_incorporation\": \"<string>\",\n      \"licenses\": [\n        {\n          \"country\": \"<string>\"\n        },\n        {\n          \"country\": \"<string>\"\n        }\n      ],\n      \"type_of_business\": \"<string>\",\n      \"mcc\": \"<string>\",\n      \"webshops\": [\n        {\n          \"url\": \"<string>\"\n        },\n        {\n          \"url\": \"<string>\"\n        }\n      ],\n      \"products\": [\n        {\n          \"name\": \"<string>\",\n          \"features\": [\n            \"REFUND\",\n            \"PAYOUT\"\n          ]\n        },\n        {\n          \"name\": \"<string>\",\n          \"features\": [\n            \"REFUND\",\n            \"REFUND\"\n          ]\n        }\n      ]\n    }\n  ],\n  \"callback_url\": \"<string>\"\n}",
                                    "options": {
                                        "raw": {
                                            "headerFamily": "json",
                                            "language": "json"
                                        }
                                    }
                                }
                            },
                            "status": "Bad Request",
                            "code": 400,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"code\": \"<string>\",\n  \"message\": \"<string>\",\n  \"number\": \"<integer>\",\n  \"param\": \"<string>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        }
                    ],
                    "event": [],
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    }
                },
                {
                    "id": "e50658b3-3325-4acd-9053-24a92d96632c",
                    "name": "RequestRCstatus",
                    "request": {
                        "name": "RequestRCstatus",
                        "description": {
                            "content": "\nThis API call is used to retrieve the status of a requested RC\n",
                            "type": "text/plain"
                        },
                        "url": {
                            "path": [
                                "submerchants",
                                ":submerchant_id"
                            ],
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "query": [],
                            "variable": [
                                {
                                    "type": "any",
                                    "value": "<string>",
                                    "key": "submerchant_id",
                                    "disabled": false,
                                    "description": {
                                        "content": "(Required) The sub merchant Id, also known as reporting criteria.",
                                        "type": "text/plain"
                                    }
                                }
                            ]
                        },
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "method": "GET",
                        "body": {},
                        "auth": {
                            "type": "basic",
                            "basic": [
                                {
                                    "key": "username",
                                    "value": "{{basicAuthUsername}}"
                                },
                                {
                                    "key": "password",
                                    "value": "{{basicAuthPassword}}"
                                }
                            ]
                        }
                    },
                    "response": [
                        {
                            "id": "941126c1-718c-46cd-a057-23f9f056a730",
                            "name": "RC Request successful",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "submerchants",
                                        ":submerchant_id"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [],
                                    "variable": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The sub merchant Id, also known as reporting criteria.",
                                                "type": "text/plain"
                                            },
                                            "type": "any",
                                            "value": "<string>",
                                            "key": "submerchant_id"
                                        }
                                    ]
                                },
                                "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  \"id\": \"<string>\",\n  \"status\": \"<string>\",\n  \"mids\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"reason_text\": \"<string>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "bb36ea39-24e5-472a-bb69-d22e5a9bc12c",
                            "name": "RC has not yet been requested",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "submerchants",
                                        ":submerchant_id"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [],
                                    "variable": [
                                        {
                                            "disabled": false,
                                            "description": {
                                                "content": "(Required) The sub merchant Id, also known as reporting criteria.",
                                                "type": "text/plain"
                                            },
                                            "type": "any",
                                            "value": "<string>",
                                            "key": "submerchant_id"
                                        }
                                    ]
                                },
                                "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  \"param\": \"<string>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        }
                    ],
                    "event": [],
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    }
                }
            ]
        }
    ],
    "event": [],
    "variable": [
        {
            "key": "baseUrl",
            "value": "https://api.paysafecard.com/v1/management"
        }
    ],
    "info": {
        "_postman_id": "8da7cb92-2b35-44cd-a755-89901b5247de",
        "name": "RC Request API",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
        "description": {
            "content": "## Overview\n\nThis is an API request to initiate the creation of Reporting Criteria (RC) 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"
        }
    }
}