{
    "info": {
        "_postman_id": "nomanini-directtopups",
        "description": "[Online docs](http://info.nomanini.com/directtopups.html)\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](directtopups.postman_collection.json)\n\n# Direct topups\n\nThis service is an umbrella over all the direct topup integrations.\n\n",
        "name": "Directtopups",
        "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
    },
    "item": [
        {
            "description": "",
            "item": [
                {
                    "name": "Perform a topup",
                    "request": {
                        "body": {
                            "mode": "raw",
                            "raw": "{\n  \"msisdn\": \"+254123456789\",\n  \"amount\": 100,\n  \"product_id\": \"ke-airtel\",\n  \"source_reference\": \"e476f20b30a138925582060fd3be4bb6\"\n}\n"
                        },
                        "description": "Top up a target msisdn with an amount.\n\n**Permissions:** sales:direct_topups:topup\n\n",
                        "headers": [
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            },
                            {
                                "key": "Authorization",
                                "value": "Bearer {{session_id}}"
                            },
                            {
                                "key": "X-Nomanini-Organisation",
                                "value": "{{organisation_id}}"
                            }
                        ],
                        "method": "POST",
                        "url": "{{host}}/directtopups"
                    },
                    "response": []
                },
                {
                    "name": "Query topups",
                    "request": {
                        "body": {
                            "mode": "raw",
                            "raw": ""
                        },
                        "description": "View information about previous topups.\n\n**Permissions:** self, sales:view\n\n",
                        "headers": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{session_id}}"
                            },
                            {
                                "key": "X-Nomanini-Organisation",
                                "value": "{{organisation_id}}"
                            }
                        ],
                        "method": "GET",
                        "url": "{{host}}/directtopups?account_id=d7805530e9f62c3081de230515e972b6&transaction_time_end=2017-01-02T12%3A00%3A00%2B00%3A00&provider=za-mtn&status=done&source_reference=3651484219946199468&order=asc&target_msisdn=%2B254123456789&product_id=za-mtn&external_transaction_id=R170112.1419.220002&money_transaction_id=fdbea966c4d24e7f24d932f6d4ceafa8&transaction_time_start=2017-01-01T12%3A00%3A00%2B00%3A00&limit=10"
                    },
                    "response": []
                },
                {
                    "name": "Get a single topup",
                    "request": {
                        "body": {
                            "mode": "raw",
                            "raw": ""
                        },
                        "description": "Fetch a specific topup based on the `sale_id`.\n\n**Permissions:** self, sales:view\n\n",
                        "headers": [
                            {
                                "key": "Authorization",
                                "value": "Bearer {{session_id}}"
                            },
                            {
                                "key": "X-Nomanini-Organisation",
                                "value": "{{organisation_id}}"
                            }
                        ],
                        "method": "GET",
                        "url": "{{host}}/directtopups/{{sale_id}}"
                    },
                    "response": []
                }
            ],
            "name": "Direct topups"
        }
    ]
}