{
    "item": [
        {
            "id": "b89ac0d7-0a7d-428d-a0b3-ebf48bcae8af",
            "name": "Fetch Balance",
            "request": {
                "name": "Fetch Balance",
                "description": {
                    "content": "Get entity or platform balance information.\n\nUsing the entity secret API key will return balance information related to entity.\n\nUsing the platform key will return balance information related to entity.\n",
                    "type": "text/plain"
                },
                "url": {
                    "path": [
                        "v1",
                        "balance"
                    ],
                    "host": [
                        "{{baseUrl}}"
                    ],
                    "query": [],
                    "variable": []
                },
                "header": [
                    {
                        "key": "Accept",
                        "value": "application/json"
                    }
                ],
                "method": "GET",
                "body": {},
                "auth": null
            },
            "response": [
                {
                    "id": "5a3c6700-5a85-41b9-8906-ce26b60d8084",
                    "name": "Successful response",
                    "originalRequest": {
                        "url": {
                            "path": [
                                "v1",
                                "balance"
                            ],
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "method": "GET",
                        "body": {}
                    },
                    "status": "OK",
                    "code": 200,
                    "header": [
                        {
                            "key": "Content-Type",
                            "value": "application/json"
                        }
                    ],
                    "body": "{\n  \"currency\": \"<string>\",\n  \"total\": \"<integer>\",\n  \"available\": \"<integer>\",\n  \"transferred\": \"<integer>\"\n}",
                    "cookie": [],
                    "_postman_previewlanguage": "json"
                },
                {
                    "id": "b89e2556-fbb0-4a08-b986-8dc2351fc1f0",
                    "name": "401 response",
                    "originalRequest": {
                        "url": {
                            "path": [
                                "v1",
                                "balance"
                            ],
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "method": "GET",
                        "body": {}
                    },
                    "status": "Unauthorized",
                    "code": 401,
                    "header": [],
                    "cookie": [],
                    "_postman_previewlanguage": "text"
                },
                {
                    "id": "a1597c55-1a36-4da6-96e0-51dcae37d67a",
                    "name": "403 response",
                    "originalRequest": {
                        "url": {
                            "path": [
                                "v1",
                                "balance"
                            ],
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "method": "GET",
                        "body": {}
                    },
                    "status": "Forbidden",
                    "code": 403,
                    "header": [],
                    "cookie": [],
                    "_postman_previewlanguage": "text"
                },
                {
                    "id": "f13aa45b-9c90-4cc8-a21a-b994a0f0ab05",
                    "name": "404 response",
                    "originalRequest": {
                        "url": {
                            "path": [
                                "v1",
                                "balance"
                            ],
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "method": "GET",
                        "body": {}
                    },
                    "status": "Not Found",
                    "code": 404,
                    "header": [],
                    "cookie": [],
                    "_postman_previewlanguage": "text"
                }
            ],
            "event": [],
            "protocolProfileBehavior": {
                "disableBodyPruning": true
            }
        },
        {
            "name": "Platform",
            "description": "",
            "item": [
                {
                    "id": "397d1261-ff46-4363-9598-b18a38b605b6",
                    "name": "Show Platform",
                    "request": {
                        "name": "Show Platform",
                        "description": {
                            "content": "Get platform information",
                            "type": "text/plain"
                        },
                        "url": {
                            "path": [
                                "v1",
                                "platform"
                            ],
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "query": [],
                            "variable": []
                        },
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "method": "GET",
                        "body": {},
                        "auth": null
                    },
                    "response": [
                        {
                            "id": "2a623b3d-7269-4e6a-ab19-e9c9cdf90044",
                            "name": "Successful response",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "v1",
                                        "platform"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [],
                                    "variable": []
                                },
                                "header": [
                                    {
                                        "key": "Accept",
                                        "value": "application/json"
                                    }
                                ],
                                "method": "GET",
                                "body": {}
                            },
                            "status": "OK",
                            "code": 200,
                            "header": [
                                {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                }
                            ],
                            "body": "{\n  \"id\": \"<uuid>\",\n  \"name\": \"<string>\",\n  \"created_at\": \"<dateTime>\",\n  \"merchants\": \"<integer>\"\n}",
                            "cookie": [],
                            "_postman_previewlanguage": "json"
                        },
                        {
                            "id": "0559f046-5ae5-470f-8cc1-e9ccef0a4741",
                            "name": "401 response",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "v1",
                                        "platform"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [],
                                    "variable": []
                                },
                                "method": "GET",
                                "body": {}
                            },
                            "status": "Unauthorized",
                            "code": 401,
                            "header": [],
                            "cookie": [],
                            "_postman_previewlanguage": "text"
                        },
                        {
                            "id": "79ef7b7f-75ee-412f-a00a-79e8419c2cc2",
                            "name": "403 response",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "v1",
                                        "platform"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [],
                                    "variable": []
                                },
                                "method": "GET",
                                "body": {}
                            },
                            "status": "Forbidden",
                            "code": 403,
                            "header": [],
                            "cookie": [],
                            "_postman_previewlanguage": "text"
                        },
                        {
                            "id": "bd2cbf99-1053-4a2f-9b27-3803d8e2c208",
                            "name": "404 response",
                            "originalRequest": {
                                "url": {
                                    "path": [
                                        "v1",
                                        "platform"
                                    ],
                                    "host": [
                                        "{{baseUrl}}"
                                    ],
                                    "query": [],
                                    "variable": []
                                },
                                "method": "GET",
                                "body": {}
                            },
                            "status": "Not Found",
                            "code": 404,
                            "header": [],
                            "cookie": [],
                            "_postman_previewlanguage": "text"
                        }
                    ],
                    "event": [],
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    }
                }
            ]
        }
    ],
    "auth": {
        "type": "basic",
        "basic": [
            {
                "type": "any",
                "value": "{{basicAuthUsername}}",
                "key": "username"
            },
            {
                "type": "any",
                "value": "{{basicAuthPassword}}",
                "key": "password"
            }
        ]
    },
    "event": [],
    "variable": [
        {
            "key": "baseUrl",
            "value": "https://apimig.moyasar.com"
        }
    ],
    "info": {
        "_postman_id": "df8bfe31-8312-4855-bac8-6818a26ab67a",
        "name": "Moyasar Platform API",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
        "description": {
            "content": "API for managing merchants, documents, webhooks, and transfers on the Moyasar payment platform\n\nContact Support:\n Name: Moyasar API Support",
            "type": "text/plain"
        }
    }
}