{ "opencollection": "1.0.0", "info": { "name": "Customer Transfer ", "version": "3.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api.mtn.com/v1/oauth/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "CustomerTransferService", "type": "folder" }, "items": [ { "info": { "name": "Customers", "type": "http" }, "http": { "method": "POST", "url": "https://api.mtn.com/v1/customers/:senderMsisdn", "headers": [ { "name": "x-country-code", "value": "" }, { "name": "transactionId", "value": "" }, { "name": "x-origin-channelid", "value": "" } ], "params": [ { "name": "senderMsisdn", "value": "", "type": "path" }, { "name": "network", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Customers will be able to transfer airtime or data to other MTN customers using both traditional and digital channel options available to them." }, { "info": { "name": "Customers", "type": "http" }, "http": { "method": "GET", "url": "https://api.mtn.com/v1/customers/transactionStatus", "headers": [ { "name": "x-country-code", "value": "" }, { "name": "targetSystem", "value": "" } ], "params": [ { "name": "transactionId", "value": "", "type": "query" }, { "name": "operation", "value": "", "type": "query" }, { "name": "network", "value": "", "type": "query" } ] }, "docs": "Provides the status of a Transaction and ensures that the state of the transaction is communicated to service providers." }, { "info": { "name": "a User Consent Response object", "type": "http" }, "http": { "method": "POST", "url": "https://api.mtn.com/v1/notification", "headers": [ { "name": "x-country-code", "value": "" }, { "name": "transactionId", "value": "" }, { "name": "x-origin-channelid", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "The users consent information is posted here as a callback notification once the consent action has been completed." } ] } ], "bundled": true }