{ "uuid": "b9528ea9-89ac-4f95-abb6-fc353f9c5f86", "lastMigration": 29, "name": "Active Documentation for /v1", "endpointPrefix": "v1", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "bd573a09-41fd-412b-8d7d-f87d51d19823", "documentation": "Account balance", "method": "get", "endpoint": "iatu/balance", "responses": [ { "uuid": "f687e5b7-c12c-435b-b52c-7bbfa7510248", "body": "", "latency": 0, "statusCode": 200, "label": "Successful balance JSON response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d99b5b2d-31ff-48cb-a0d6-914d4389182d", "documentation": "List of account charges in JSON", "method": "get", "endpoint": "iatu/charges/reports/all", "responses": [ { "uuid": "edfa7746-dd41-4352-9179-17664c8ae9c4", "body": "", "latency": 0, "statusCode": 200, "label": "Successful charges JSON response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b45893f9-435b-404a-9010-01827074f47f", "documentation": "List of account charges in CSV", "method": "get", "endpoint": "iatu/charges/reports/all.csv", "responses": [ { "uuid": "b08b9935-dd94-4345-b67a-53a72df4fea7", "body": "", "latency": 0, "statusCode": 200, "label": "Successful charges CSV response", "headers": [{ "key": "Content-Type", "value": "application/csv" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dc086229-2aa8-41f2-9f9f-a1393a506da6", "documentation": "Mobile number validation", "method": "get", "endpoint": "iatu/number-validator", "responses": [ { "uuid": "8d27b5ca-d8b4-4c88-8ee9-d2352295f66c", "body": "", "latency": 0, "statusCode": 200, "label": "Local value response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "09c9ccbe-5d6b-4653-b22a-79cbb615d3ba", "documentation": "Current promotions", "method": "get", "endpoint": "iatu/products/promotions", "responses": [ { "uuid": "86606e22-8462-4e1e-9d9c-0aeb146def69", "body": "", "latency": 0, "statusCode": 200, "label": "Successful Promotions JSON response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d47e5ce1-21fa-48c3-aebc-b92ef536e95a", "documentation": "Get a list of products in JSON format", "method": "get", "endpoint": "iatu/products/reports/all", "responses": [ { "uuid": "2b0a1a9e-0a37-438d-aaca-624f2e566c29", "body": "", "latency": 0, "statusCode": 200, "label": "Products JSON response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6953e939-ae29-4d19-8736-a14515ae3adc", "documentation": "Get a list of products in CSV format", "method": "get", "endpoint": "iatu/products/reports/all.csv", "responses": [ { "uuid": "732ca575-1ac5-4edc-828f-0194cb2cba59", "body": "", "latency": 0, "statusCode": 200, "label": "Products CSV response", "headers": [{ "key": "Content-Type", "value": "application/csv" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "408088f3-074d-4202-9d23-edd047ee125b", "documentation": "Get the estimated Local Value of a product", "method": "get", "endpoint": "iatu/products/reports/local-value", "responses": [ { "uuid": "40e8fc00-cda5-4b6e-985d-71172726f244", "body": "", "latency": 0, "statusCode": 200, "label": "Local value response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "da1e51c1-cb70-4c64-b0db-b834b1e25b87", "documentation": "Topup a mobile phone", "method": "post", "endpoint": "iatu/topups", "responses": [ { "uuid": "6a49011b-83bb-4283-8dcf-901fdc8fc74f", "body": "", "latency": 0, "statusCode": 201, "label": "The transaction has been completed successfully.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c4d89975-2a40-4e45-bfba-67cc805d10d7", "body": "", "latency": 0, "statusCode": 202, "label": "The transaction has been received, but the final status is unknown. Please query by the client_transaction_id to get the current status of the transaction.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e430a8c3-03cd-4a9c-8c4c-53112732c810", "body": "", "latency": 0, "statusCode": 400, "label": "Invalid ID supplied", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "71ad9df2-f5b6-4510-9d83-aa73b6d74930", "body": "", "latency": 0, "statusCode": 404, "label": "X not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8087dfe9-b6c9-4fee-8487-34215474b727", "body": "", "latency": 0, "statusCode": 405, "label": "Validation exception", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ce857dbb-5e18-4c5b-84d0-dc4f8337c467", "body": "", "latency": 0, "statusCode": 500, "label": "There is an error in your transaction. Please check the error code contained in the result for more information.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "579d1535-acf3-46ac-880f-a991e0a4c17b", "documentation": "Search topups transactions", "method": "post", "endpoint": "iatu/topups/reports", "responses": [ { "uuid": "ff5ee536-41c8-497f-82c4-8d7d3df9bf16", "body": "", "latency": 0, "statusCode": 200, "label": "Successful topups JSON response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8b868f59-417e-4ce6-b7be-ac0f34a31d03", "documentation": "List of account topups in JSON", "method": "get", "endpoint": "iatu/topups/reports/all", "responses": [ { "uuid": "ec1de9d2-1b5d-48cf-b982-385738a10f67", "body": "", "latency": 0, "statusCode": 200, "label": "Successful topups JSON response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6f3e7f41-9118-45d6-a588-9bf29f4e5cb7", "documentation": "List of account topups in CSV", "method": "get", "endpoint": "iatu/topups/reports/all.csv", "responses": [ { "uuid": "8aa47e58-ebb9-400f-8381-9f9c7cb349aa", "body": "", "latency": 0, "statusCode": 200, "label": "Successful topups CSV response", "headers": [{ "key": "Content-Type", "value": "application/csv" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c2f03125-81a9-4321-ad24-12017ec1faf6", "documentation": "Summary of account topups in JSON", "method": "get", "endpoint": "iatu/topups/reports/totals", "responses": [ { "uuid": "4beecb3a-6a1f-48e0-adab-73adcd3b7f4a", "body": "", "latency": 0, "statusCode": 200, "label": "Successful topups JSON response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "99e484dc-fa38-4e93-9a0f-dfe1d0b5ed2a", "documentation": "Reversal of a Topup", "method": "post", "endpoint": "iatu/topups/reverse", "responses": [ { "uuid": "07222ff3-a789-475e-8d69-43cb6b401eeb", "body": "", "latency": 0, "statusCode": 200, "label": "Successful charges JSON response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ec002395-bc9d-4f4f-b2ef-fbb430387e83", "documentation": "Status check", "method": "get", "endpoint": "status", "responses": [ { "uuid": "65340989-4d2d-4cf1-8bc6-19ecf4188540", "body": "", "latency": 0, "statusCode": 200, "label": "Successful status JSON response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "bd573a09-41fd-412b-8d7d-f87d51d19823" }, { "type": "route", "uuid": "d99b5b2d-31ff-48cb-a0d6-914d4389182d" }, { "type": "route", "uuid": "b45893f9-435b-404a-9010-01827074f47f" }, { "type": "route", "uuid": "dc086229-2aa8-41f2-9f9f-a1393a506da6" }, { "type": "route", "uuid": "09c9ccbe-5d6b-4653-b22a-79cbb615d3ba" }, { "type": "route", "uuid": "d47e5ce1-21fa-48c3-aebc-b92ef536e95a" }, { "type": "route", "uuid": "6953e939-ae29-4d19-8736-a14515ae3adc" }, { "type": "route", "uuid": "408088f3-074d-4202-9d23-edd047ee125b" }, { "type": "route", "uuid": "da1e51c1-cb70-4c64-b0db-b834b1e25b87" }, { "type": "route", "uuid": "579d1535-acf3-46ac-880f-a991e0a4c17b" }, { "type": "route", "uuid": "8b868f59-417e-4ce6-b7be-ac0f34a31d03" }, { "type": "route", "uuid": "6f3e7f41-9118-45d6-a588-9bf29f4e5cb7" }, { "type": "route", "uuid": "c2f03125-81a9-4321-ad24-12017ec1faf6" }, { "type": "route", "uuid": "99e484dc-fa38-4e93-9a0f-dfe1d0b5ed2a" }, { "type": "route", "uuid": "ec002395-bc9d-4f4f-b2ef-fbb430387e83" } ] }