4225 lines
153 KiB
JSON
4225 lines
153 KiB
JSON
{
|
|
"info": {
|
|
"_postman_id": "c488bb17-6d7e-4660-9e61-a065c9fb67a6",
|
|
"name": "QPay",
|
|
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
|
|
"_exporter_id": "569823"
|
|
},
|
|
"item": [
|
|
{
|
|
"name": "Integrations",
|
|
"item": [
|
|
{
|
|
"name": "Aggregation",
|
|
"item": [
|
|
{
|
|
"name": "Get Client Token - Omni Test",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"exec": [
|
|
"const responseJson = pm.response.json();",
|
|
"pm.collectionVariables.set(\"accessToken\", responseJson.body.access_token);",
|
|
""
|
|
],
|
|
"type": "text/javascript",
|
|
"packages": {}
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"auth": {
|
|
"type": "noauth"
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"clientId\": \"steward_pay\",\n \"clientSecret\": \"XjkbBAJeJCnAplYDTbp5xOjeyySVnYGp\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "https://api.stewardpay.co.zw/lab/v2/merchant/client/token",
|
|
"protocol": "https",
|
|
"host": [
|
|
"api",
|
|
"stewardpay",
|
|
"co",
|
|
"zw"
|
|
],
|
|
"path": [
|
|
"lab",
|
|
"v2",
|
|
"merchant",
|
|
"client",
|
|
"token"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get Client Token - Omni Live",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"exec": [
|
|
"const responseJson = pm.response.json();",
|
|
"pm.collectionVariables.set(\"accessToken\", responseJson.body.access_token);",
|
|
""
|
|
],
|
|
"type": "text/javascript",
|
|
"packages": {},
|
|
"requests": {}
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"auth": {
|
|
"type": "noauth"
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"clientId\": \"qantratech_solutions\",\n \"clientSecret\": \"70f5a9d7-b5cd-4fe8-855a-b2d035a8c24c\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "https://api.stewardpay.co.zw/v1/merchant/client/token",
|
|
"protocol": "https",
|
|
"host": [
|
|
"api",
|
|
"stewardpay",
|
|
"co",
|
|
"zw"
|
|
],
|
|
"path": [
|
|
"v1",
|
|
"merchant",
|
|
"client",
|
|
"token"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get Billers / Merchants",
|
|
"request": {
|
|
"auth": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "token",
|
|
"value": "{{accessToken}}",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "https://api.stewardpay.co.zw/v1/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=zesa_prepaid_usd,econet_airtime,econet_usd_airtime,netone_usd_airtime",
|
|
"protocol": "https",
|
|
"host": [
|
|
"api",
|
|
"stewardpay",
|
|
"co",
|
|
"zw"
|
|
],
|
|
"path": [
|
|
"v1",
|
|
"merchant",
|
|
"aggregation",
|
|
"providers"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "supportedCurrencies",
|
|
"value": "USD",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "clientIdIn",
|
|
"value": "zesa_prepaid_usd,econet_airtime,econet_usd_airtime,netone_usd_airtime",
|
|
"type": "text"
|
|
}
|
|
]
|
|
},
|
|
"description": "Filterable by the following query parameters:\n\n- name: hexadecimal\n- merchantCode: {BILLER,MERCHANT}\n- merchantUid: hexadecimal uuid"
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "Get Billers / Merchants",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:24000/v1/merchant/aggregation/providers?supportedCurrencies=USD&clientIdIn=powertel_zesa,econet_airtime,econet_broadband_usd",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "24000",
|
|
"path": [
|
|
"v1",
|
|
"merchant",
|
|
"aggregation",
|
|
"providers"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "supportedCurrencies",
|
|
"value": "USD"
|
|
},
|
|
{
|
|
"key": "clientIdIn",
|
|
"value": "powertel_zesa,econet_airtime,econet_broadband_usd"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Access-Control-Allow-Methods",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Credentials",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"key": "Access-Control-Max-Age",
|
|
"value": "3600"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Headers",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-XSS-Protection",
|
|
"value": "1; mode=block"
|
|
},
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache, no-store, max-age=0, must-revalidate"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "DENY"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "Transfer-Encoding",
|
|
"value": "chunked"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Thu, 12 Jun 2025 21:07:31 GMT"
|
|
},
|
|
{
|
|
"key": "Keep-Alive",
|
|
"value": "timeout=60"
|
|
},
|
|
{
|
|
"key": "Connection",
|
|
"value": "keep-alive"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\n \"message\": \"Successful Request\",\n \"body\": {\n \"content\": [\n {\n \"clientId\": \"econet_airtime\",\n \"name\": \"ECONET AIRTIME\",\n \"description\": \"ECONET AIRTIME\",\n \"requiresAccount\": false,\n \"requiresAmount\": true,\n \"requiresAmountFromMerchant\": false,\n \"requiresPhone\": true,\n \"requiresReversal\": true,\n \"additionalDataString\": \"\",\n \"processorType\": \"AIRTIME\",\n \"uid\": \"78f1f497-c9eb-401c-b22c-884756e68e40\"\n },\n {\n \"clientId\": \"econet_broadband_usd\",\n \"name\": \"ECONET BROADBAND USD\",\n \"description\": \"ECONET BROADBAND USD\",\n \"requiresAccount\": false,\n \"requiresAmount\": false,\n \"requiresAmountFromMerchant\": false,\n \"requiresPhone\": true,\n \"requiresReversal\": false,\n \"additionalDataString\": \"\",\n \"processorType\": \"AIRTIME\",\n \"uid\": \"287863e2-a791-4106-b629-79dadc9a6779\"\n },\n {\n \"clientId\": \"powertel_zesa\",\n \"name\": \"ZESA\",\n \"description\": \"PowerTel Zesa\",\n \"requiresAccount\": true,\n \"requiresAmount\": true,\n \"requiresAmountFromMerchant\": false,\n \"requiresPhone\": true,\n \"requiresReversal\": false,\n \"processorType\": \"BILLER\",\n \"uid\": \"0f67f7cc-b62b-4fb5-915f-6740b2afdba6\"\n }\n ],\n \"pageable\": {\n \"sort\": {\n \"sorted\": true,\n \"unsorted\": false,\n \"empty\": false\n },\n \"pageNumber\": 0,\n \"pageSize\": 20,\n \"offset\": 0,\n \"unpaged\": false,\n \"paged\": true\n },\n \"totalPages\": 1,\n \"totalElements\": 3,\n \"last\": true,\n \"first\": true,\n \"sort\": {\n \"sorted\": true,\n \"unsorted\": false,\n \"empty\": false\n },\n \"numberOfElements\": 3,\n \"size\": 20,\n \"number\": 0,\n \"empty\": false\n },\n \"errors\": null,\n \"status\": 200\n}"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Get Products",
|
|
"request": {
|
|
"auth": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "token",
|
|
"value": "{{accessToken}}",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://192.168.16.29:24050/v1/merchant/aggregation/products?clientUid=78f1f497-c9eb-401c-b22c-884756e68e40",
|
|
"protocol": "http",
|
|
"host": [
|
|
"192",
|
|
"168",
|
|
"16",
|
|
"29"
|
|
],
|
|
"port": "24050",
|
|
"path": [
|
|
"v1",
|
|
"merchant",
|
|
"aggregation",
|
|
"products"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "clientUid",
|
|
"value": "78f1f497-c9eb-401c-b22c-884756e68e40"
|
|
}
|
|
]
|
|
},
|
|
"description": "Filterable by the following query parameters:\n\n- name\n- clientUid (mandatory)"
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "Get Products",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:24000/v1/merchant/aggregation/products?clientUid=287863e2-a791-4106-b629-79dadc9a6779",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "24000",
|
|
"path": [
|
|
"v1",
|
|
"merchant",
|
|
"aggregation",
|
|
"products"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "clientUid",
|
|
"value": "287863e2-a791-4106-b629-79dadc9a6779"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Access-Control-Allow-Methods",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Credentials",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"key": "Access-Control-Max-Age",
|
|
"value": "3600"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Headers",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-XSS-Protection",
|
|
"value": "1; mode=block"
|
|
},
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache, no-store, max-age=0, must-revalidate"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "DENY"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "Transfer-Encoding",
|
|
"value": "chunked"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Thu, 12 Jun 2025 21:07:45 GMT"
|
|
},
|
|
{
|
|
"key": "Keep-Alive",
|
|
"value": "timeout=60"
|
|
},
|
|
{
|
|
"key": "Connection",
|
|
"value": "keep-alive"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\n \"message\": \"Successful Request\",\n \"body\": {\n \"content\": [\n {\n \"name\": \"Bundles of Joy Voice Only 14Days USD $6.50\",\n \"description\": \"Bundles of Joy Voice Only 14Days USD $6.50\",\n \"displayName\": \"Bundles of Joy Voice Only 14Days USD\",\n \"defaultAmount\": 6.5,\n \"requiresAmount\": false,\n \"meta\": \"{\\\"pricePlanCode\\\": \\\"BOJU5\\\", \\\"currency\\\":\\\"USD\\\"}\",\n \"uid\": \"f9b7580a-66e1-49b4-bb44-e446d5ea291b\"\n },\n {\n \"name\": \"Private WiFi Bundle 10GB USD $13\",\n \"description\": \"Private WiFi Bundle 10GB USD $13\",\n \"displayName\": \"Private WiFi Bundle 10GB USD\",\n \"defaultAmount\": 13,\n \"requiresAmount\": false,\n \"meta\": \"{\\\"pricePlanCode\\\": \\\"PWBU10\\\", \\\"currency\\\":\\\"USD\\\"}\",\n \"uid\": \"478e70e5-8973-4b88-b09f-0fbf453a0fd4\"\n }\n ],\n \"pageable\": {\n \"sort\": {\n \"sorted\": false,\n \"unsorted\": true,\n \"empty\": true\n },\n \"pageNumber\": 0,\n \"pageSize\": 20,\n \"offset\": 0,\n \"unpaged\": false,\n \"paged\": true\n },\n \"totalPages\": 1,\n \"totalElements\": 2,\n \"last\": true,\n \"first\": true,\n \"sort\": {\n \"sorted\": false,\n \"unsorted\": true,\n \"empty\": true\n },\n \"numberOfElements\": 2,\n \"size\": 20,\n \"number\": 0,\n \"empty\": false\n },\n \"errors\": null,\n \"status\": 200\n}"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Integration Transaction - STEWARD PAY AGGREGATOR CONFIRM",
|
|
"request": {
|
|
"auth": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "token",
|
|
"value": "{{accessToken}}",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "{{Bearer Token}}",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"type\": \"CONFIRM\",\n \"billClientId\": \"econet_airtime\", // bill being paid for\n \"debitRef\": \"Account\",\n \"debitCurrency\": \"USD\",\n \"amount\": \"3.00\",\n \"aggregatorId\": \"qantratech_solutions\", // aggregator reselling on our behalf\n \"debitPhone\": \"263773591219\",\n \"debitAccount\": \"1051184536\",\n \"creditAccount\": \"0772364284\",\n \"creditPhone\": \"0772364284\",\n \"billName\": \"ZESA\",\n \"authType\": \"WEB\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "https://api.stewardpay.co.zw/v1/merchant/aggregation/transaction",
|
|
"protocol": "https",
|
|
"host": [
|
|
"api",
|
|
"stewardpay",
|
|
"co",
|
|
"zw"
|
|
],
|
|
"path": [
|
|
"v1",
|
|
"merchant",
|
|
"aggregation",
|
|
"transaction"
|
|
]
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "Integration Transaction",
|
|
"originalRequest": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"addressUid\": null,\n \"amount\": 55,\n \"clientUid\": \"8b5dddb4-3210-44e1-8151-6aff619bf602\",\n \"destinationPhone\": \"263773591219\",\n \"account\": \"1037601078\",\n \"phone\": \"263771222064\",\n \"integrationProcessorConfigUid\": null,\n \"paymentMethodUid\": null,\n \"paymentProcessorLabel\": \"STEWARD\",\n \"productUids\": \"84065c46-2d33-4f7f-a044-3498ce5aa533:1\",\n \"sdkActionUid\": null,\n \"type\": \"REQUEST\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:24000/v1/merchant/transaction",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "24000",
|
|
"path": [
|
|
"v1",
|
|
"merchant",
|
|
"transaction"
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Access-Control-Allow-Methods",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Credentials",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"key": "Access-Control-Max-Age",
|
|
"value": "3600"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Headers",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-XSS-Protection",
|
|
"value": "1; mode=block"
|
|
},
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache, no-store, max-age=0, must-revalidate"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "DENY"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "Transfer-Encoding",
|
|
"value": "chunked"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Mon, 14 Jun 2021 15:46:26 GMT"
|
|
},
|
|
{
|
|
"key": "Keep-Alive",
|
|
"value": "timeout=60"
|
|
},
|
|
{
|
|
"key": "Connection",
|
|
"value": "keep-alive"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\n \"message\": \"Successful Request\",\n \"body\": {\n \"id\": 60,\n \"createdBy\": \"8886f80e-aaec-4628-aafc-07fda878a723\",\n \"created\": \"2021-06-14T15:46:26.472+00:00\",\n \"modifiedBy\": null,\n \"modified\": null,\n \"modificationType\": \"CREATE\",\n \"deleted\": false,\n \"uid\": \"06f9bb21-d20b-4559-9e3b-bc4d88f589bf\",\n \"amount\": 55,\n \"clientUid\": \"8b5dddb4-3210-44e1-8151-6aff619bf602\",\n \"paymentMethodUid\": null,\n \"addressUid\": null,\n \"destinationPhone\": \"263773591219\",\n \"destinationAccount\": null,\n \"phone\": \"263771222064\",\n \"account\": \"1037601078\",\n \"productUids\": \"84065c46-2d33-4f7f-a044-3498ce5aa533:1\",\n \"integrationProcessorConfigUid\": \"2e41cd89-1930-46b4-a4ef-031bf8648556\",\n \"sdkActionUid\": null,\n \"paymentProcessorConfigUid\": \"6883334e-2aa4-4a29-a12a-0ea76f5503e0\",\n \"paymentProcessorLabel\": \"STEWARD\",\n \"status\": \"SUCCESS\",\n \"errorMessage\": null,\n \"displayErrorMessage\": null,\n \"clientUpdateResult\": null,\n \"reference\": \"61f2e3f4-00df-4589-9e55-f3f3ac9d0c7f\",\n \"type\": \"INTEGRATION\",\n \"addData\": null,\n \"receiptData\": null,\n \"confirmationData\": null,\n \"userUid\": \"8886f80e-aaec-4628-aafc-07fda878a723\"\n },\n \"errors\": null,\n \"status\": 200\n}"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Integration Transaction - STEWARD PAY AGGREGATOR REQUEST",
|
|
"request": {
|
|
"auth": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "token",
|
|
"value": "{{accessToken}}",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "{{Bearer Token}}",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"type\": \"REQUEST\",\n \"billClientId\": \"econet_airtime\", // bill being paid for\n \"debitRef\": \"Account\",\n \"debitCurrency\": \"USD\",\n \"amount\": \"3.00\",\n \"aggregatorId\": \"qantratech_solutions\", // aggregator reselling on our behalf\n \"debitPhone\": \"263773591219\",\n \"debitAccount\": \"1051184536\",\n \"creditAccount\": \"0772364284\",\n \"creditPhone\": \"0772364284\",\n \"billName\": \"ZESA\",\n \"authType\": \"WEB\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "https://api.stewardpay.co.zw/v1/merchant/aggregation/transaction",
|
|
"protocol": "https",
|
|
"host": [
|
|
"api",
|
|
"stewardpay",
|
|
"co",
|
|
"zw"
|
|
],
|
|
"path": [
|
|
"v1",
|
|
"merchant",
|
|
"aggregation",
|
|
"transaction"
|
|
]
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "Integration Transaction",
|
|
"originalRequest": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"addressUid\": null,\n \"amount\": 55,\n \"clientUid\": \"8b5dddb4-3210-44e1-8151-6aff619bf602\",\n \"destinationPhone\": \"263773591219\",\n \"account\": \"1037601078\",\n \"phone\": \"263771222064\",\n \"integrationProcessorConfigUid\": null,\n \"paymentMethodUid\": null,\n \"paymentProcessorLabel\": \"STEWARD\",\n \"productUids\": \"84065c46-2d33-4f7f-a044-3498ce5aa533:1\",\n \"sdkActionUid\": null,\n \"type\": \"REQUEST\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:24000/v1/merchant/transaction",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "24000",
|
|
"path": [
|
|
"v1",
|
|
"merchant",
|
|
"transaction"
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Access-Control-Allow-Methods",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Credentials",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"key": "Access-Control-Max-Age",
|
|
"value": "3600"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Headers",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-XSS-Protection",
|
|
"value": "1; mode=block"
|
|
},
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache, no-store, max-age=0, must-revalidate"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "DENY"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "Transfer-Encoding",
|
|
"value": "chunked"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Mon, 14 Jun 2021 15:46:26 GMT"
|
|
},
|
|
{
|
|
"key": "Keep-Alive",
|
|
"value": "timeout=60"
|
|
},
|
|
{
|
|
"key": "Connection",
|
|
"value": "keep-alive"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\n \"message\": \"Successful Request\",\n \"body\": {\n \"id\": 60,\n \"createdBy\": \"8886f80e-aaec-4628-aafc-07fda878a723\",\n \"created\": \"2021-06-14T15:46:26.472+00:00\",\n \"modifiedBy\": null,\n \"modified\": null,\n \"modificationType\": \"CREATE\",\n \"deleted\": false,\n \"uid\": \"06f9bb21-d20b-4559-9e3b-bc4d88f589bf\",\n \"amount\": 55,\n \"clientUid\": \"8b5dddb4-3210-44e1-8151-6aff619bf602\",\n \"paymentMethodUid\": null,\n \"addressUid\": null,\n \"destinationPhone\": \"263773591219\",\n \"destinationAccount\": null,\n \"phone\": \"263771222064\",\n \"account\": \"1037601078\",\n \"productUids\": \"84065c46-2d33-4f7f-a044-3498ce5aa533:1\",\n \"integrationProcessorConfigUid\": \"2e41cd89-1930-46b4-a4ef-031bf8648556\",\n \"sdkActionUid\": null,\n \"paymentProcessorConfigUid\": \"6883334e-2aa4-4a29-a12a-0ea76f5503e0\",\n \"paymentProcessorLabel\": \"STEWARD\",\n \"status\": \"SUCCESS\",\n \"errorMessage\": null,\n \"displayErrorMessage\": null,\n \"clientUpdateResult\": null,\n \"reference\": \"61f2e3f4-00df-4589-9e55-f3f3ac9d0c7f\",\n \"type\": \"INTEGRATION\",\n \"addData\": null,\n \"receiptData\": null,\n \"confirmationData\": null,\n \"userUid\": \"8886f80e-aaec-4628-aafc-07fda878a723\"\n },\n \"errors\": null,\n \"status\": 200\n}"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Integration Transaction - STEWARD AGGREGATOR",
|
|
"request": {
|
|
"auth": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "token",
|
|
"value": "{{accessToken}}",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "{{Bearer Token}}",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"clientUid\": \"0f67f7cc-b62b-4fb5-915f-6740b2afdba6\", // bill being paid for\n \"billClientId\": \"powertel_zesa\", // bill being paid for\n \"processingCode\": \"900010\",\n \"merchantCommissionType\": \"OMNCOM\",\n \"channel\": \"OTC\",\n \"type\": \"REQUEST\",\n \"paymentProcessorLabel\": \"STEWARD_AGGREGATOR\",\n \"reference\": \"Account\",\n \"trace\": \"f98d30db-2912-4345-a290-a39ca6ad5f8b\",\n \"rrnId\": 19112.0,\n \"currency\": \"ZWG\",\n \"debitAlternateAccount\": \"1037756748\",\n \"taxType\": \"OMNIMT\",\n \"amount\": \"50.00\",\n \"charge\": 0.0,\n \"productUids\": \":1\",\n \"profile\": \"INDIVIDUAL\",\n \"accountType\": \"T24\",\n \"tax\": 0.0,\n \"aggregatorId\": \"steward_pay\", // aggregator reselling on our behalf\n \"transactionCode\": \"ACSX\",\n \"commissionType\": \"BILLPAY\",\n \"billName\": \"ZESA\",\n \"phone\": \"263771222248\",\n \"merchantTransactionCode\": \"ACCM\",\n \"merchantCommission\": 0.0,\n \"destinationAccount\": \"14309986843\",\n \"account\": \"1037756748\",\n \"billProductName\": \"\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:24000/v1/merchant/transaction",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "24000",
|
|
"path": [
|
|
"v1",
|
|
"merchant",
|
|
"transaction"
|
|
]
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "Integration Transaction",
|
|
"originalRequest": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"addressUid\": null,\n \"amount\": 55,\n \"clientUid\": \"8b5dddb4-3210-44e1-8151-6aff619bf602\",\n \"destinationPhone\": \"263773591219\",\n \"account\": \"1037601078\",\n \"phone\": \"263771222064\",\n \"integrationProcessorConfigUid\": null,\n \"paymentMethodUid\": null,\n \"paymentProcessorLabel\": \"STEWARD\",\n \"productUids\": \"84065c46-2d33-4f7f-a044-3498ce5aa533:1\",\n \"sdkActionUid\": null,\n \"type\": \"REQUEST\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:24000/v1/merchant/transaction",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "24000",
|
|
"path": [
|
|
"v1",
|
|
"merchant",
|
|
"transaction"
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Access-Control-Allow-Methods",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Credentials",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"key": "Access-Control-Max-Age",
|
|
"value": "3600"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Headers",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-XSS-Protection",
|
|
"value": "1; mode=block"
|
|
},
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache, no-store, max-age=0, must-revalidate"
|
|
},
|
|
{
|
|
"key": "Pragma",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"key": "Expires",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "DENY"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "Transfer-Encoding",
|
|
"value": "chunked"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Mon, 14 Jun 2021 15:46:26 GMT"
|
|
},
|
|
{
|
|
"key": "Keep-Alive",
|
|
"value": "timeout=60"
|
|
},
|
|
{
|
|
"key": "Connection",
|
|
"value": "keep-alive"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "{\n \"message\": \"Successful Request\",\n \"body\": {\n \"id\": 60,\n \"createdBy\": \"8886f80e-aaec-4628-aafc-07fda878a723\",\n \"created\": \"2021-06-14T15:46:26.472+00:00\",\n \"modifiedBy\": null,\n \"modified\": null,\n \"modificationType\": \"CREATE\",\n \"deleted\": false,\n \"uid\": \"06f9bb21-d20b-4559-9e3b-bc4d88f589bf\",\n \"amount\": 55,\n \"clientUid\": \"8b5dddb4-3210-44e1-8151-6aff619bf602\",\n \"paymentMethodUid\": null,\n \"addressUid\": null,\n \"destinationPhone\": \"263773591219\",\n \"destinationAccount\": null,\n \"phone\": \"263771222064\",\n \"account\": \"1037601078\",\n \"productUids\": \"84065c46-2d33-4f7f-a044-3498ce5aa533:1\",\n \"integrationProcessorConfigUid\": \"2e41cd89-1930-46b4-a4ef-031bf8648556\",\n \"sdkActionUid\": null,\n \"paymentProcessorConfigUid\": \"6883334e-2aa4-4a29-a12a-0ea76f5503e0\",\n \"paymentProcessorLabel\": \"STEWARD\",\n \"status\": \"SUCCESS\",\n \"errorMessage\": null,\n \"displayErrorMessage\": null,\n \"clientUpdateResult\": null,\n \"reference\": \"61f2e3f4-00df-4589-9e55-f3f3ac9d0c7f\",\n \"type\": \"INTEGRATION\",\n \"addData\": null,\n \"receiptData\": null,\n \"confirmationData\": null,\n \"userUid\": \"8886f80e-aaec-4628-aafc-07fda878a723\"\n },\n \"errors\": null,\n \"status\": 200\n}"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Poll Transaction",
|
|
"protocolProfileBehavior": {
|
|
"disableBodyPruning": true
|
|
},
|
|
"request": {
|
|
"auth": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "token",
|
|
"value": "{{accessToken}}",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "{{Bearer Token}}",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"clientUid\": \"0f67f7cc-b62b-4fb5-915f-6740b2afdba6\", // bill being paid for\n \"billClientId\": \"powertel_zesa\", // bill being paid for\n \"processingCode\": \"900010\",\n \"merchantCommissionType\": \"OMNCOM\",\n \"channel\": \"OTC\",\n \"type\": \"REQUEST\",\n \"paymentProcessorLabel\": \"STEWARD_AGGREGATOR\",\n \"reference\": \"Account\",\n \"trace\": \"f98d30db-2912-4345-a290-a39ca6ad5f8b\",\n \"rrnId\": 19112.0,\n \"currency\": \"ZWG\",\n \"debitAlternateAccount\": \"1037756748\",\n \"taxType\": \"OMNIMT\",\n \"amount\": \"50.00\",\n \"charge\": 0.0,\n \"productUids\": \":1\",\n \"profile\": \"INDIVIDUAL\",\n \"accountType\": \"T24\",\n \"tax\": 0.0,\n \"aggregatorId\": \"steward_pay\", // aggregator reselling on our behalf\n \"transactionCode\": \"ACSX\",\n \"commissionType\": \"BILLPAY\",\n \"billName\": \"ZESA\",\n \"phone\": \"263771222248\",\n \"merchantTransactionCode\": \"ACCM\",\n \"merchantCommission\": 0.0,\n \"destinationAccount\": \"14309986843\",\n \"account\": \"1037756748\",\n \"billProductName\": \"\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "https://api.stewardpay.co.zw/lab/v2/merchant/sdk/mpgs/poll/5883b8c9-e102-4544-8c06-f7321cb846a5",
|
|
"protocol": "https",
|
|
"host": [
|
|
"api",
|
|
"stewardpay",
|
|
"co",
|
|
"zw"
|
|
],
|
|
"path": [
|
|
"lab",
|
|
"v2",
|
|
"merchant",
|
|
"sdk",
|
|
"mpgs",
|
|
"poll",
|
|
"5883b8c9-e102-4544-8c06-f7321cb846a5"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SSO",
|
|
"item": [
|
|
{
|
|
"name": "Auth",
|
|
"request": {
|
|
"auth": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "token",
|
|
"value": "5d0a5d97751c1b39a0c2a002999d95c525f986b7517b717a7cbca2f597c1caf691eec1b065e1699837d6a27182ea584ccaf257adcb26d5b639f724f4416b06f6bc4656b7a3536813e75410194ae2734e382f05e6dee02bdca0631f3142a684325ffacaa7f9fe630285f2894e0ed8e7f3255e6b0d146cb40774c87adf96970343",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:1337/api/users",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "1337",
|
|
"path": [
|
|
"api",
|
|
"users"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Fineract",
|
|
"item": [
|
|
{
|
|
"name": "Auth",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"exec": [
|
|
"const responseJson = pm.response.json();",
|
|
"pm.collectionVariables.set(\"accessToken\", responseJson.base64EncodedAuthenticationKey);",
|
|
""
|
|
],
|
|
"type": "text/javascript",
|
|
"packages": {}
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"auth": {
|
|
"type": "noauth"
|
|
},
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "fineract-platform-tenantid",
|
|
"value": "default",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"username\": \"mifos\",\n \"password\": \"password\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "https://173.212.247.232:8543/fineract-provider/api/v1/authentication",
|
|
"protocol": "https",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8543",
|
|
"path": [
|
|
"fineract-provider",
|
|
"api",
|
|
"v1",
|
|
"authentication"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "List users",
|
|
"request": {
|
|
"auth": {
|
|
"type": "noauth"
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "fineract-platform-tenantid",
|
|
"value": "default",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Authorization",
|
|
"value": "Basic {{accessToken}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "https://173.212.247.232:8543/fineract-provider/api/v1/users",
|
|
"protocol": "https",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8543",
|
|
"path": [
|
|
"fineract-provider",
|
|
"api",
|
|
"v1",
|
|
"users"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "List savings products",
|
|
"request": {
|
|
"auth": {
|
|
"type": "noauth"
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "fineract-platform-tenantid",
|
|
"value": "default",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Authorization",
|
|
"value": "Basic {{accessToken}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "https://173.212.247.232:8543/fineract-provider/api/v1/savingsproducts",
|
|
"protocol": "https",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8543",
|
|
"path": [
|
|
"fineract-provider",
|
|
"api",
|
|
"v1",
|
|
"savingsproducts"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create client",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "fineract-platform-tenantid",
|
|
"value": "default",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Authorization",
|
|
"value": "Basic {{accessToken}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"officeId\": 1,\n \"firstname\": \"Petra\",\n \"lastname\": \"Yton\",\n \"externalId\": \"786YYH7\",\n \"dateFormat\": \"dd MMMM yyyy\",\n \"locale\": \"en\",\n \"active\": true,\n \"activationDate\": \"04 March 2025\",\n \"submittedOnDate\": \"04 March 2025\",\n \"savingsProductId\": 1,\n \"legalFormId\": 1\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "https://173.212.247.232:8543/fineract-provider/api/v1/clients",
|
|
"protocol": "https",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8543",
|
|
"path": [
|
|
"fineract-provider",
|
|
"api",
|
|
"v1",
|
|
"clients"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Retrieve client",
|
|
"request": {
|
|
"auth": {
|
|
"type": "noauth"
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "fineract-platform-tenantid",
|
|
"value": "default",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Authorization",
|
|
"value": "Basic {{accessToken}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "https://173.212.247.232:8543/fineract-provider/api/v1/clients/2",
|
|
"protocol": "https",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8543",
|
|
"path": [
|
|
"fineract-provider",
|
|
"api",
|
|
"v1",
|
|
"clients",
|
|
"2"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create account",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "fineract-platform-tenantid",
|
|
"value": "default",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Authorization",
|
|
"value": "Basic {{accessToken}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"clientId\": 2,\n \"productId\": 1,\n \"locale\": \"en\",\n \"dateFormat\": \"dd M yyyy\",\n \"submittedOnDate\": \"06 08 2025\",\n \"externalId\": \"SYS-23\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "https://173.212.247.232:8543/fineract-provider/api/v1/savingsaccounts",
|
|
"protocol": "https",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8543",
|
|
"path": [
|
|
"fineract-provider",
|
|
"api",
|
|
"v1",
|
|
"savingsaccounts"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Approve account",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "fineract-platform-tenantid",
|
|
"value": "default",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Authorization",
|
|
"value": "Basic {{accessToken}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"locale\": \"en\",\n \"dateFormat\": \"dd M yyyy\",\n \"approvedOnDate\": \"06 08 2025\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "https://173.212.247.232:8543/fineract-provider/api/v1/savingsaccounts/5?command=approve",
|
|
"protocol": "https",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8543",
|
|
"path": [
|
|
"fineract-provider",
|
|
"api",
|
|
"v1",
|
|
"savingsaccounts",
|
|
"5"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "command",
|
|
"value": "approve"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Activate account",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "fineract-platform-tenantid",
|
|
"value": "default",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Authorization",
|
|
"value": "Basic {{accessToken}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"locale\": \"en\",\n \"dateFormat\": \"dd M yyyy\",\n \"activatedOnDate\": \"06 08 2025\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "https://173.212.247.232:8543/fineract-provider/api/v1/savingsaccounts/5?command=activate",
|
|
"protocol": "https",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8543",
|
|
"path": [
|
|
"fineract-provider",
|
|
"api",
|
|
"v1",
|
|
"savingsaccounts",
|
|
"5"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "command",
|
|
"value": "activate"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "List client accounts",
|
|
"request": {
|
|
"auth": {
|
|
"type": "noauth"
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "fineract-platform-tenantid",
|
|
"value": "default",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Authorization",
|
|
"value": "Basic {{accessToken}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "https://173.212.247.232:8543/fineract-provider/api/v1/clients/2/accounts",
|
|
"protocol": "https",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8543",
|
|
"path": [
|
|
"fineract-provider",
|
|
"api",
|
|
"v1",
|
|
"clients",
|
|
"2",
|
|
"accounts"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "List accounts",
|
|
"request": {
|
|
"auth": {
|
|
"type": "noauth"
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "fineract-platform-tenantid",
|
|
"value": "default",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Authorization",
|
|
"value": "Basic {{accessToken}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "https://173.212.247.232:8543/fineract-provider/api/v1/savingsaccounts",
|
|
"protocol": "https",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8543",
|
|
"path": [
|
|
"fineract-provider",
|
|
"api",
|
|
"v1",
|
|
"savingsaccounts"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Retrieve account",
|
|
"request": {
|
|
"auth": {
|
|
"type": "noauth"
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "fineract-platform-tenantid",
|
|
"value": "default",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Authorization",
|
|
"value": "Basic {{accessToken}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "https://173.212.247.232:8543/fineract-provider/api/v1/savingsaccounts/5",
|
|
"protocol": "https",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8543",
|
|
"path": [
|
|
"fineract-provider",
|
|
"api",
|
|
"v1",
|
|
"savingsaccounts",
|
|
"5"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "List clients",
|
|
"request": {
|
|
"auth": {
|
|
"type": "noauth"
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "fineract-platform-tenantid",
|
|
"value": "default",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Authorization",
|
|
"value": "Basic {{accessToken}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "https://173.212.247.232:8543/fineract-provider/api/v1/clients",
|
|
"protocol": "https",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8543",
|
|
"path": [
|
|
"fineract-provider",
|
|
"api",
|
|
"v1",
|
|
"clients"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "List Transactions",
|
|
"request": {
|
|
"auth": {
|
|
"type": "noauth"
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "fineract-platform-tenantid",
|
|
"value": "default",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "Authorization",
|
|
"value": "Basic {{accessToken}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "https://173.212.247.232:8543/fineract-provider/api/v1/savingsaccounts/5?associations=all",
|
|
"protocol": "https",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8543",
|
|
"path": [
|
|
"fineract-provider",
|
|
"api",
|
|
"v1",
|
|
"savingsaccounts",
|
|
"5"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "associations",
|
|
"value": "all"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "ERPNext",
|
|
"item": [
|
|
{
|
|
"name": "POS",
|
|
"item": [
|
|
{
|
|
"name": "Login Test",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"usr\": \"Administrator\",\n \"pwd\": \"admin\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/method/login",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"method",
|
|
"login"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Check Opening Entry",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "formdata",
|
|
"formdata": [
|
|
{
|
|
"key": "user",
|
|
"value": "vusumuzi@qantra.co.zw",
|
|
"type": "text"
|
|
}
|
|
]
|
|
},
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/method/erpnext.selling.page.point_of_sale.point_of_sale.check_opening_entry",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"method",
|
|
"erpnext.selling.page.point_of_sale.point_of_sale.check_opening_entry"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create Opening Entry",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "formdata",
|
|
"formdata": [
|
|
{
|
|
"key": "pos_profile",
|
|
"value": "Main",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "company",
|
|
"value": "Qantra",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "balance_details",
|
|
"value": "[{\"mode_of_payment\":\"Cash\",\"opening_amount\":\"0\",\"idx\":1,\"name\":\"row 1\",\"__checked\":1},{\"mode_of_payment\":\"Credit Card\",\"opening_amount\":\"0\",\"idx\":2,\"name\":\"row 2\",\"__checked\":1}]",
|
|
"type": "text"
|
|
}
|
|
]
|
|
},
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/method/erpnext.selling.page.point_of_sale.point_of_sale.create_opening_voucher",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"method",
|
|
"erpnext.selling.page.point_of_sale.point_of_sale.create_opening_voucher"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get POS Profile",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "formdata",
|
|
"formdata": [
|
|
{
|
|
"key": "pos_profile",
|
|
"value": "Main",
|
|
"type": "text"
|
|
}
|
|
]
|
|
},
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/method/erpnext.selling.page.point_of_sale.point_of_sale.get_pos_profile_data",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"method",
|
|
"erpnext.selling.page.point_of_sale.point_of_sale.get_pos_profile_data"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "List POS Items",
|
|
"protocolProfileBehavior": {
|
|
"disableBodyPruning": true
|
|
},
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "formdata",
|
|
"formdata": [
|
|
{
|
|
"key": "start",
|
|
"value": "0",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "page_length",
|
|
"value": "5",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "price_list",
|
|
"value": "Standard Selling",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "item_group",
|
|
"value": "All Item Groups",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "search_term",
|
|
"value": "",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "pos_profile",
|
|
"value": "Main",
|
|
"type": "text"
|
|
}
|
|
]
|
|
},
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/method/erpnext.selling.page.point_of_sale.point_of_sale.get_items",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"method",
|
|
"erpnext.selling.page.point_of_sale.point_of_sale.get_items"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "List POS Invoices",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/v2/document/POS Invoice?fields=[\"*\"]",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"v2",
|
|
"document",
|
|
"POS Invoice"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "fields",
|
|
"value": "[\"*\"]"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create POS Invoice",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"doctype\": \"POS Invoice\",\n \"docstatus\": 1,\n \"customer\": \"Anonymous\",\n \"pos_profile\": \"Main\",\n \"is_pos\": 1,\n \"company\": \"Qantra\",\n \"posting_date\": \"2025-12-25\",\n \"due_date\": \"2025-12-25\",\n \"currency\": \"USD\",\n \"selling_price_list\": \"Standard Selling\",\n \"price_list_currency\": \"USD\",\n \"set_warehouse\": \"Stores - Q\",\n \"update_stock\": 1,\n \"total_qty\": 1,\n \"total\": 3.00,\n \"grand_total\": 3.00,\n \"paid_amount\": 3.00,\n \"change_amount\": 0,\n \"language\": \"en\",\n \"items\": [\n {\n \"item_code\": \"Abc Infants Learning Wall Map\",\n \"qty\": 1,\n \"rate\": 3.00,\n \"amount\": 3.00,\n \"doctype\": \"POS Invoice Item\"\n }\n ],\n \"sales_team\": [],\n \"payments\": [\n {\n \"mode_of_payment\": \"Cash\",\n \"amount\": 3.00,\n \"account\": \"Cash - Q\",\n \"type\": \"Cash\"\n }\n ]\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/v2/document/POS Invoice",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"v2",
|
|
"document",
|
|
"POS Invoice"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Login",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"usr\": \"Administrator\",\n \"pwd\": \"admin\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://62.171.179.108:8080/api/method/login",
|
|
"protocol": "http",
|
|
"host": [
|
|
"62",
|
|
"171",
|
|
"179",
|
|
"108"
|
|
],
|
|
"port": "8080",
|
|
"path": [
|
|
"api",
|
|
"method",
|
|
"login"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Login Test",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"usr\": \"Administrator\",\n \"pwd\": \"admin\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/method/login",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"method",
|
|
"login"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "List Customers",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "Accept",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/v2/document/Customer?fields=[\"name\"]&filters=[[\"name\", \"=\", \"Vusumuzi Khoza\"]]",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"v2",
|
|
"document",
|
|
"Customer"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "fields",
|
|
"value": "[\"name\"]"
|
|
},
|
|
{
|
|
"key": "filters",
|
|
"value": "[[\"name\", \"=\", \"Vusumuzi Khoza\"]]"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create Customer",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"doctype\": \"Customer\",\n \"customer_name\": \"Gabriella Max\",\n \"customer_group\": \"Commercial\",\n \"territory\": \"All Territories\",\n \"customer_type\": \"Individual\",\n \"language\": \"en\",\n \"mobile_no\": \"263775843593\",\n \"email_id\": \"gabriellamaxx@gmail.com\",\n \"docstatus\": 1\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/v2/document/Customer",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"v2",
|
|
"document",
|
|
"Customer"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "List Sales Invoices",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:8080/api/v2/document/Sales Invoice?fields=[\"*\"]",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "8080",
|
|
"path": [
|
|
"api",
|
|
"v2",
|
|
"document",
|
|
"Sales Invoice"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "fields",
|
|
"value": "[\"*\"]"
|
|
},
|
|
{
|
|
"key": "filters",
|
|
"value": "[[\"Sales Invoice\",\"status\",\"=\",\"Overdue\"]]",
|
|
"disabled": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "List Items",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/v2/document/Item?limit_start=19&fields=[\"*\"]",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"v2",
|
|
"document",
|
|
"Item"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "filters",
|
|
"value": "[[\"Item\",\"status\",\"=\",\"Overdue\"]]",
|
|
"type": "text",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"key": "limit_page_length",
|
|
"value": "30",
|
|
"type": "text",
|
|
"disabled": true
|
|
},
|
|
{
|
|
"key": "limit_start",
|
|
"value": "19",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "fields",
|
|
"value": "[\"*\"]",
|
|
"type": "text"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create Sales Invoice",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "password",
|
|
"value": "49218fe805c9fb4",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "username",
|
|
"value": "dff94c65b52ecbd",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"doctype\": \"Sales Invoice\",\n \"due_date\": \"2025-10-28\",\n \"company\": \"QantraTech\",\n \"posting_date\": \"2025-10-27\",\n \"items\": [\n {\n \"qty\": 1.0,\n \"rate\": 2.55,\n \"amount\": 2.55,\n \"item_code\": \"ECONET\"\n }\n ],\n \"docstatus\": 1.0,\n \"customer\": \"Vusumuzi Khoza\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://62.171.179.108:8080/api/v2/document/Sales Invoice",
|
|
"protocol": "http",
|
|
"host": [
|
|
"62",
|
|
"171",
|
|
"179",
|
|
"108"
|
|
],
|
|
"port": "8080",
|
|
"path": [
|
|
"api",
|
|
"v2",
|
|
"document",
|
|
"Sales Invoice"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Confirm Sales Invoice",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "password",
|
|
"value": "3d7cc6371cde3ca",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "username",
|
|
"value": "246f66e51aa94cf",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "PUT",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"docstatus\": 1\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:8080/api/v2/document/Sales Invoice/ACC-SINV-2025-00008",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "8080",
|
|
"path": [
|
|
"api",
|
|
"v2",
|
|
"document",
|
|
"Sales Invoice",
|
|
"ACC-SINV-2025-00008"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create Journal Entry",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"doctype\": \"Journal Entry\",\n \"company\": \"Qantra\",\n \"accounts\": [\n {\n \"doctype\": \"Journal Entry Account\",\n \"account\": \"Bank Account - Q\",\n \"credit_in_account_currency\": 2.0\n },\n {\n \"doctype\": \"Journal Entry Account\",\n \"account\": \"Gateway Expenses - Q\",\n \"debit_in_account_currency\": 2.0,\n \"cost_center\": \"Main - Q\"\n }\n ],\n \"posting_date\": \"2025-09-27\",\n \"docstatus\": 1.0\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/v2/document/Journal Entry",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"v2",
|
|
"document",
|
|
"Journal Entry"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create Commission Journal Entry",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"doctype\": \"Journal Entry\",\n \"company\": \"Qantra\",\n \"accounts\": [\n {\n \"doctype\": \"Journal Entry Account\",\n \"account\": \"Creditors - Q\",\n \"party\": \"Steward Bank\",\n \"debit_in_account_currency\": 4.7,\n \"cost_center\": \"Main - Q\",\n \"party_type\": \"Supplier\"\n },\n {\n \"doctype\": \"Journal Entry Account\",\n \"account\": \"Discounts Received - Q\",\n \"credit_in_account_currency\": 4.7\n }\n ],\n \"posting_date\": \"2025-09-27\",\n \"docstatus\": 1.0\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/v2/document/Journal Entry",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"v2",
|
|
"document",
|
|
"Journal Entry"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Confirm Journal Entry",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "password",
|
|
"value": "3d7cc6371cde3ca",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "username",
|
|
"value": "246f66e51aa94cf",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "PUT",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"docstatus\": 1\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:8080/api/v2/document/Journal Entry/ACC-JV-2025-00003",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "8080",
|
|
"path": [
|
|
"api",
|
|
"v2",
|
|
"document",
|
|
"Journal Entry",
|
|
"ACC-JV-2025-00003"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create Payment Entry - Sales Invoice",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "username",
|
|
"value": "dff94c65b52ecbd",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "password",
|
|
"value": "49218fe805c9fb4",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"references\": [\n {\n \"reference_doctype\": \"Sales Invoice\",\n \"reference_name\": \"ACC-SINV-2025-00004\",\n \"allocated_amount\": 2.55\n }\n ],\n \"party_type\": \"Customer\",\n \"received_amount\": 2.55,\n \"doctype\": \"Payment Entry\",\n \"payment_type\": \"Receive\",\n \"paid_to\": \"Steward Bank Account - Q\",\n \"paid_amount\": 2.55,\n \"company\": \"QantraTech\",\n \"reference_date\": \"2025-10-27\",\n \"posting_date\": \"2025-10-27\",\n \"paid_from\": \"Debtors - Q\",\n \"party\": \"Vusumuzi Khoza\",\n \"docstatus\": 1.0,\n \"reference_no\": \"d1555ab9-6fa3-4c1d-af97-21d4f4a58a2d\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://62.171.179.108:8080/api/v2/document/Payment Entry",
|
|
"protocol": "http",
|
|
"host": [
|
|
"62",
|
|
"171",
|
|
"179",
|
|
"108"
|
|
],
|
|
"port": "8080",
|
|
"path": [
|
|
"api",
|
|
"v2",
|
|
"document",
|
|
"Payment Entry"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create Purchase Invoice",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"doctype\": \"Purchase Invoice\",\n \"supplier\": \"Steward Bank\",\n \"posting_date\": \"2025-09-24\",\n \"due_date\": \"2025-09-25\",\n \"company\": \"Qantra\",\n \"is_return\": 0,\n \"currency\": \"USD\",\n \"conversion_rate\": 1,\n \"net_total\": 98.50,\n \"grand_total\": 98.50,\n \"is_paid\": 0,\n \"docstatus\": 1,\n \"items\": [\n {\n \"doctype\": \"Purchase Invoice Item\",\n \"item_code\": \"AIRTIME\",\n \"item_name\": \"AIRTIME\",\n \"qty\": 100,\n \"rate\": 1.00,\n \"amount\": 100.00,\n \"uom\": \"Unit\"\n }\n ],\n \"taxes\": [\n {\n \"doctype\": \"Purchase Taxes and Charges\",\n \"charge_type\": \"On Net Total\",\n \"account_head\": \"Discounts Received - Q\",\n \"rate\": -1.50,\n \"cost_center\": \"Main - Q\",\n \"tax_amount\": -1.5,\n \"total\": 98.5,\n \"description\": \"Discounts Received\"\n }\n ]\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/v2/document/Purchase Invoice",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"v2",
|
|
"document",
|
|
"Purchase Invoice"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create Purchase Invoice Live",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "password",
|
|
"value": "49218fe805c9fb4",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "username",
|
|
"value": "dff94c65b52ecbd",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"net_total\": 0.94,\n \"due_date\": \"2025-12-03\",\n \"taxes\": [\n {\n \"doctype\": \"Purchase Taxes and Charges\",\n \"rate\": -6.0,\n \"total\": 0.94,\n \"description\": \"Commission\",\n \"charge_type\": \"On Net Total\",\n \"account_head\": \"Discounts Received - Q\",\n \"cost_center\": \"Main - Q\",\n \"tax_amount\": -0.06\n }\n ],\n \"doctype\": \"Purchase Invoice\",\n \"is_return\": 0.0,\n \"supplier\": \"Steward Bank\",\n \"company\": \"QantraTech\",\n \"currency\": \"USD\",\n \"grand_total\": 0.94,\n \"is_paid\": 0.0,\n \"posting_date\": \"2025-12-02\",\n \"items\": [\n {\n \"doctype\": \"Purchase Invoice Item\",\n \"qty\": 1.0,\n \"rate\": 1.0,\n \"amount\": 1.0,\n \"uom\": \"Nos\",\n \"item_code\": \"ECONET\",\n \"item_name\": \"ECONET\"\n }\n ],\n \"conversion_rate\": 1.0,\n \"docstatus\": 1.0\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://62.171.179.108:8080/api/v2/document/Purchase Invoice",
|
|
"protocol": "http",
|
|
"host": [
|
|
"62",
|
|
"171",
|
|
"179",
|
|
"108"
|
|
],
|
|
"port": "8080",
|
|
"path": [
|
|
"api",
|
|
"v2",
|
|
"document",
|
|
"Purchase Invoice"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create Payment Entry - Purchase Inovice",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"doctype\": \"Payment Entry\",\n \"company\": \"Qantra\",\n \"payment_type\": \"Pay\",\n \"party_type\": \"Supplier\",\n \"party\": \"Steward Bank\",\n \"paid_from\": \"Bank Account - Q\",\n \"paid_to\": \"Creditors - Q\",\n \"paid_amount\": 100,\n \"received_amount\": 100,\n \"posting_date\": \"2025-08-27\",\n \"reference_no\": \"FT1010\",\n \"reference_date\": \"2025-08-27\",\n \"references\": [\n {\n \"reference_doctype\": \"Purchase Invoice\",\n \"reference_name\": \"ACC-PINV-2025-00017\",\n \"allocated_amount\": 100\n }\n ],\n \"docstatus\": 1\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/v2/document/Payment Entry",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"v2",
|
|
"document",
|
|
"Payment Entry"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Fetch Accounts Receivable",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"report_name\": \"Accounts Receivable\",\n \"filters\": {\n \"company\": \"Qantra\",\n \"report_date\": \"2025-08-28\",\n \"party\": [\"Gabriella Max\"],\n \"ageing_based_on\": \"Due Date\",\n \"calculate_ageing_with\": \"Report Date\",\n \"range\": \"30, 60, 90, 120\",\n \"customer_group\": []\n }\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/method/frappe.desk.query_report.run",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"method",
|
|
"frappe.desk.query_report.run"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Fetch Balance",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"account\": \"Accounts Receivable - Q\",\n \"date\": \"2025-09-21\",\n \"party_type\": \"Customer\",\n \"party\": \"Gabriella Max\",\n \"currency\": \"GBP\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/method/erpnext.accounts.utils.get_balance_on",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"method",
|
|
"erpnext.accounts.utils.get_balance_on"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get Customer",
|
|
"request": {
|
|
"auth": {
|
|
"type": "basic",
|
|
"basic": [
|
|
{
|
|
"key": "password",
|
|
"value": "e3d95692bcf16c7",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"key": "username",
|
|
"value": "1102c6da0312f75",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://173.212.247.232:8085/api/resource/Customer/Gabriella Max",
|
|
"protocol": "http",
|
|
"host": [
|
|
"173",
|
|
"212",
|
|
"247",
|
|
"232"
|
|
],
|
|
"port": "8085",
|
|
"path": [
|
|
"api",
|
|
"resource",
|
|
"Customer",
|
|
"Gabriella Max"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Blnk",
|
|
"item": [
|
|
{
|
|
"name": "New Transaction",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"amount\": 1000,\n \"reference\": \"first_transaction_001\",\n \"currency\": \"USD\",\n \"precision\": 100,\n \"source\": \"@FundingPool\",\n \"destination\": \"@MyBalance\",\n \"description\": \"My first Blnk transaction\",\n \"allow_overdraft\": true,\n \"meta_data\": {}\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:5001/transactions",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "5001",
|
|
"path": [
|
|
"transactions"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Balances",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:5001/balances",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "5001",
|
|
"path": [
|
|
"balances"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Account Statement",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"q\": \"bln_0336149d-1363-4526-a05c-b0c0dbd5ff4b\",\n \"query_by\": \"source,destination\",\n \"sort_by\": \"created_at:desc\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:5001/search/transactions",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "5001",
|
|
"path": [
|
|
"search",
|
|
"transactions"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Account Statement By Date",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"q\": \"*\",\n \"filter_by\": \"created_at:[1704067200..1764533777]\",\n \"sort_by\": \"created_at:desc\"\n }",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:5001/search/transactions",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "5001",
|
|
"path": [
|
|
"search",
|
|
"transactions"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Onboarding",
|
|
"item": [
|
|
{
|
|
"name": "Register",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"username\": \"263775843593\",\n \"email\": \"vusakhoza@gmail.com\",\n \"firstName\": \"Gabriella\",\n \"lastName\": \"Max\",\n \"phone\": \"263775843593\",\n \"password\": \"263775843593\"\n}\n",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/auth/register",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"auth",
|
|
"register"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Register Sys User",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"username\": \"user@system\",\n \"email\": \"user@system\",\n \"firstName\": \"User\",\n \"lastName\": \"System\",\n \"phone\": \"263773591219\",\n \"password\": \"Password1!\"\n}\n",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/auth/system-user",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"auth",
|
|
"system-user"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Verify Otp",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"username\": \"263775843593\",\n \"otpCode\": \"383095\",\n \"otpType\": \"REGISTRATION\",\n \"workflowId\": 27\n}\n",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/auth/verify",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"auth",
|
|
"verify"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Resend Otp",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"username\": \"263773591219\",\n \"phone\": \"263773591219\",\n \"workflowId\": 2\n}\n",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/auth/resend",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"auth",
|
|
"resend"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Set Pin",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"username\": \"263775843593\",\n \"password\": \"Lmbo_8989\",\n \"workflowId\": 4\n}\n",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/auth/set-pin",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"auth",
|
|
"set-pin"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Login",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"exec": [
|
|
"const responseJson = pm.response.json();",
|
|
"pm.collectionVariables.set(\"accessToken\", responseJson.token);",
|
|
""
|
|
],
|
|
"type": "text/javascript",
|
|
"packages": {},
|
|
"requests": {}
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"username\": \"user@system\",\n \"password\": \"Password1!\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/auth/login",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"auth",
|
|
"login"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Providers",
|
|
"item": [
|
|
{
|
|
"name": "List Categories",
|
|
"request": {
|
|
"auth": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "token",
|
|
"value": "{{accessToken}}",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/categories",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"categories"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "List Providers",
|
|
"request": {
|
|
"auth": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "token",
|
|
"value": "{{accessToken}}",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/providers?category=",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"providers"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "category",
|
|
"value": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "List Providers",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/providers?category=AIRTIME",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"providers"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "category",
|
|
"value": "AIRTIME"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Access-Control-Allow-Methods",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Credentials",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"key": "Access-Control-Max-Age",
|
|
"value": "3600"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Headers",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "Transfer-Encoding",
|
|
"value": "chunked"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Thu, 26 Jun 2025 16:13:51 GMT"
|
|
},
|
|
{
|
|
"key": "Keep-Alive",
|
|
"value": "timeout=60"
|
|
},
|
|
{
|
|
"key": "Connection",
|
|
"value": "keep-alive"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "[\n {\n \"clientId\": \"econet_airtime\",\n \"name\": \"ECONET AIRTIME\",\n \"description\": \"ECONET AIRTIME\",\n \"requiresAccount\": false,\n \"requiresAmount\": true,\n \"requiresAmountFromMerchant\": false,\n \"requiresPhone\": true,\n \"requiresReversal\": true,\n \"additionalDataString\": \"\",\n \"processorType\": \"AIRTIME\",\n \"uid\": \"78f1f497-c9eb-401c-b22c-884756e68e40\"\n },\n {\n \"clientId\": \"econet_broadband_usd\",\n \"name\": \"ECONET BROADBAND USD\",\n \"description\": \"ECONET BROADBAND USD\",\n \"requiresAccount\": false,\n \"requiresAmount\": false,\n \"requiresAmountFromMerchant\": false,\n \"requiresPhone\": true,\n \"requiresReversal\": false,\n \"additionalDataString\": \"\",\n \"processorType\": \"AIRTIME\",\n \"uid\": \"287863e2-a791-4106-b629-79dadc9a6779\"\n }\n]"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Evict Providers Cache",
|
|
"request": {
|
|
"auth": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "token",
|
|
"value": "{{accessToken}}",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "DELETE",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/providers",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"providers"
|
|
]
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "List Providers",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/providers?category=AIRTIME",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"providers"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "category",
|
|
"value": "AIRTIME"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Access-Control-Allow-Methods",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Credentials",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"key": "Access-Control-Max-Age",
|
|
"value": "3600"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Headers",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "Transfer-Encoding",
|
|
"value": "chunked"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Thu, 26 Jun 2025 16:13:51 GMT"
|
|
},
|
|
{
|
|
"key": "Keep-Alive",
|
|
"value": "timeout=60"
|
|
},
|
|
{
|
|
"key": "Connection",
|
|
"value": "keep-alive"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "[\n {\n \"clientId\": \"econet_airtime\",\n \"name\": \"ECONET AIRTIME\",\n \"description\": \"ECONET AIRTIME\",\n \"requiresAccount\": false,\n \"requiresAmount\": true,\n \"requiresAmountFromMerchant\": false,\n \"requiresPhone\": true,\n \"requiresReversal\": true,\n \"additionalDataString\": \"\",\n \"processorType\": \"AIRTIME\",\n \"uid\": \"78f1f497-c9eb-401c-b22c-884756e68e40\"\n },\n {\n \"clientId\": \"econet_broadband_usd\",\n \"name\": \"ECONET BROADBAND USD\",\n \"description\": \"ECONET BROADBAND USD\",\n \"requiresAccount\": false,\n \"requiresAmount\": false,\n \"requiresAmountFromMerchant\": false,\n \"requiresPhone\": true,\n \"requiresReversal\": false,\n \"additionalDataString\": \"\",\n \"processorType\": \"AIRTIME\",\n \"uid\": \"287863e2-a791-4106-b629-79dadc9a6779\"\n }\n]"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "List Provider Products",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/providers/287863e2-a791-4106-b629-79dadc9a6779/products",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"providers",
|
|
"287863e2-a791-4106-b629-79dadc9a6779",
|
|
"products"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get Product",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/providers/287863e2-a791-4106-b629-79dadc9a6779/products/f9b7580a-66e1-49b4-bb44-e446d5ea291b",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"providers",
|
|
"287863e2-a791-4106-b629-79dadc9a6779",
|
|
"products",
|
|
"f9b7580a-66e1-49b4-bb44-e446d5ea291b"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Payment Processors",
|
|
"item": [
|
|
{
|
|
"name": "List Payment Processors",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/payment-processors",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"payment-processors"
|
|
]
|
|
}
|
|
},
|
|
"response": [
|
|
{
|
|
"name": "List Providers",
|
|
"originalRequest": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/providers?category=AIRTIME",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"providers"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "category",
|
|
"value": "AIRTIME"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"_postman_previewlanguage": "json",
|
|
"header": [
|
|
{
|
|
"key": "Access-Control-Allow-Methods",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Credentials",
|
|
"value": "true"
|
|
},
|
|
{
|
|
"key": "Access-Control-Max-Age",
|
|
"value": "3600"
|
|
},
|
|
{
|
|
"key": "Access-Control-Allow-Headers",
|
|
"value": "*"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "Transfer-Encoding",
|
|
"value": "chunked"
|
|
},
|
|
{
|
|
"key": "Date",
|
|
"value": "Thu, 26 Jun 2025 16:13:51 GMT"
|
|
},
|
|
{
|
|
"key": "Keep-Alive",
|
|
"value": "timeout=60"
|
|
},
|
|
{
|
|
"key": "Connection",
|
|
"value": "keep-alive"
|
|
}
|
|
],
|
|
"cookie": [],
|
|
"body": "[\n {\n \"clientId\": \"econet_airtime\",\n \"name\": \"ECONET AIRTIME\",\n \"description\": \"ECONET AIRTIME\",\n \"requiresAccount\": false,\n \"requiresAmount\": true,\n \"requiresAmountFromMerchant\": false,\n \"requiresPhone\": true,\n \"requiresReversal\": true,\n \"additionalDataString\": \"\",\n \"processorType\": \"AIRTIME\",\n \"uid\": \"78f1f497-c9eb-401c-b22c-884756e68e40\"\n },\n {\n \"clientId\": \"econet_broadband_usd\",\n \"name\": \"ECONET BROADBAND USD\",\n \"description\": \"ECONET BROADBAND USD\",\n \"requiresAccount\": false,\n \"requiresAmount\": false,\n \"requiresAmountFromMerchant\": false,\n \"requiresPhone\": true,\n \"requiresReversal\": false,\n \"additionalDataString\": \"\",\n \"processorType\": \"AIRTIME\",\n \"uid\": \"287863e2-a791-4106-b629-79dadc9a6779\"\n }\n]"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Transactions",
|
|
"item": [
|
|
{
|
|
"name": "List Transactions",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/transaction?userId=e76678be-a69e-441e-b3ab-34f30a92c728&page=0&size=25&type=REQUEST",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"transaction"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "userId",
|
|
"value": "e76678be-a69e-441e-b3ab-34f30a92c728"
|
|
},
|
|
{
|
|
"key": "page",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"key": "size",
|
|
"value": "25"
|
|
},
|
|
{
|
|
"key": "type",
|
|
"value": "REQUEST"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "View Transaction",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/transaction/1333c2bc-212b-4bcf-926d-61023db34cb7",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"transaction",
|
|
"1333c2bc-212b-4bcf-926d-61023db34cb7"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Confirmation",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"userId\": \"eb04820e-cefa-41f2-9641-57794c5f8877\",\n \"amount\": 1,\n \"paymentProcessorLabel\": \"ECOCASH\",\n \"debitPhone\": \"+2630773591219\",\n \"debitCurrency\": \"USD\",\n \"debitRef\": \"peak\",\n \"creditPhone\": \"+263773591219\",\n \"creditAccount\": \"263773591219\",\n \"billClientId\": \"econet_airtime\",\n \"billName\": \"Econet Airtime\",\n \"type\": \"CONFIRM\",\n \"authType\": \"WEB\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/transaction",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"transaction"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Payment Request",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/transaction/request/9fd35d0c-196b-40bf-83f0-60e4e591903a/REMOTE",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"transaction",
|
|
"request",
|
|
"9fd35d0c-196b-40bf-83f0-60e4e591903a",
|
|
"REMOTE"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Payment Poll",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/transaction/poll/9fd35d0c-196b-40bf-83f0-60e4e591903a",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"transaction",
|
|
"poll",
|
|
"9fd35d0c-196b-40bf-83f0-60e4e591903a"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Ecocash Remote Payment",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"userId\": \"eb04820e-cefa-41f2-9641-57794c5f8877\",\n \"trace\": \"550bf98d-eeac-4a7b-8f4d-fa75cdd14b7a\",\n \"amount\": 1,\n \"paymentProcessorLabel\": \"ECOCASH\",\n \"providerLabel\": \"ECONET\",\n \"debitPhone\": \"+2630773591219\",\n \"debitAccount\": \"\",\n \"debitCurrency\": \"USD\",\n \"debitRef\": \"peak\",\n \"creditPhone\": \"+26377591219\",\n \"creditAccount\": \"077591219\",\n \"creditName\": \"\",\n \"creditEmail\": \"\",\n \"billClientId\": \"econet_airtime\",\n \"billName\": \"Econet Airtime\",\n \"paymentProcessorName\": \"Visa/MasterCard\",\n \"providerImage\": \"econet.png\",\n \"paymentProcessorImage\": \"visa-mastercard.png\",\n \"workflowId\": 0,\n \"type\": \"CONFIRM\",\n \"authType\": \"WEB\",\n \"errorMessage\": \"\",\n \"status\": \"PENDING\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/transaction",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"transaction"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "MPGS Web Poll",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/transaction/poll/6e95075e-3e5d-4cd1-8ab3-121157189110",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"transaction",
|
|
"poll",
|
|
"6e95075e-3e5d-4cd1-8ab3-121157189110"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Integration",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/transaction/integration/9fd35d0c-196b-40bf-83f0-60e4e591903a",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"transaction",
|
|
"integration",
|
|
"9fd35d0c-196b-40bf-83f0-60e4e591903a"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Steward Web Payment",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"type\": \"REQUEST\",\n \"billClientId\": \"powertel_zesa\",\n \"debitRef\": \"unique\",\n \"debitCurrency\": \"USD\",\n \"amount\": \"5\",\n \"creditAccount\": \"14309986843\",\n \"creditPhone\": \"263771222064\",\n \"billName\": \"ZESA\",\n \"paymentProcessorLabel\": \"STEWARD\",\n \"authType\": \"WEB\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/transaction",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"transaction"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Groups",
|
|
"item": [
|
|
{
|
|
"name": "List Groups",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/recipient-groups?userId=0f86c109-001b-4ab7-a92c-a58c7fa595bb",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"recipient-groups"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "userId",
|
|
"value": "0f86c109-001b-4ab7-a92c-a58c7fa595bb"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "List Groups Members",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/recipient-groups/members?recipientGroupId=6e0d60ef-82d4-4e4e-9160-38927e7d705a",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"recipient-groups",
|
|
"members"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "recipientGroupId",
|
|
"value": "6e0d60ef-82d4-4e4e-9160-38927e7d705a"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create Group",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"name\": \"Family Ext\",\n \"description\": \"Monthly batch\",\n \"userId\": \"0f86c109-001b-4ab7-a92c-a58c7fa595bb\",\n \"recipients\": [\n {\n \"name\": \"Alice\",\n \"phoneNumber\": \"263773591219\",\n \"latestProviderLabel\": \"ECONET\",\n \"account\": \"263773591219\"\n },\n {\n \"name\": \"Bob\",\n \"phoneNumber\": \"263775843593\",\n \"latestProviderLabel\": \"ZESA\",\n \"account\": \"07088597534\"\n }\n ]\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/recipient-groups",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"recipient-groups"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Recipients",
|
|
"item": [
|
|
{
|
|
"name": "List Recipients",
|
|
"request": {
|
|
"auth": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "token",
|
|
"value": "{{accessToken}}",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/recipients/search?userId=0f86c109-001b-4ab7-a92c-a58c7fa595bb",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"recipients",
|
|
"search"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "userId",
|
|
"value": "0f86c109-001b-4ab7-a92c-a58c7fa595bb"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create Recipient",
|
|
"request": {
|
|
"auth": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "token",
|
|
"value": "{{accessToken}}",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"name\": \"Alice\",\n \"phoneNumber\": \"263773591219\",\n \"latestProviderLabel\": \"ECONET\",\n \"account\": \"263773591219\",\n \"userId\": \"0f86c109-001b-4ab7-a92c-a58c7fa595bb\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/recipients",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"recipients"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Batches",
|
|
"item": [
|
|
{
|
|
"name": "List Batches",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/group-batches?recipientGroupId=6e0d60ef-82d4-4e4e-9160-38927e7d705a&sort=createdAt,desc",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"group-batches"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "recipientGroupId",
|
|
"value": "6e0d60ef-82d4-4e4e-9160-38927e7d705a"
|
|
},
|
|
{
|
|
"key": "sort",
|
|
"value": "createdAt,desc"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "List Batches Items",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/group-batches/items?groupBatchId=5cd63213-f96b-4637-a8bd-d3fdf1f1df1d&sort=createdAt,desc",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"group-batches",
|
|
"items"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "groupBatchId",
|
|
"value": "5cd63213-f96b-4637-a8bd-d3fdf1f1df1d"
|
|
},
|
|
{
|
|
"key": "sort",
|
|
"value": "createdAt,desc"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Create Batch",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"exec": [
|
|
"const response = pm.response.json();",
|
|
"pm.collectionVariables.set(\"batchId\", response.id);"
|
|
],
|
|
"type": "text/javascript",
|
|
"packages": {},
|
|
"requests": {}
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"recipientGroupId\": \"6e0d60ef-82d4-4e4e-9160-38927e7d705a\",\n \"userId\": \"0f86c109-001b-4ab7-a92c-a58c7fa595bb\",\n \"currency\": \"USD\",\n \"amount\": 0.1,\n \"paymentProcessorLabel\": \"ECOCASH\",\n \"paymentProcessorName\": \"EcoCash\",\n \"paymentProcessorImage\": \"ecocash.png\",\n \"transactionTemplate\": {\n \"type\": \"CONFIRM\",\n \"billClientId\": \"econet_airtime\",\n \"debitName\": \"Vusa\",\n \"debitPhone\": \"263773591219\",\n \"debitRef\": \"Velocity\",\n \"debitCurrency\": \"USD\",\n \"billName\": \"Econet Airtime\",\n \"providerImage\": \"ECONET\",\n \"providerLabel\": \"ECONET\",\n \"creditName\": \"\",\n \"creditEmail\": \"\",\n \"productUid\": \"\",\n \"billProductName\": \"\",\n \"region\": \"ZW\"\n }\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/group-batches",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"group-batches"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Confirm Batch",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"userId\": \"0f86c109-001b-4ab7-a92c-a58c7fa595bb\",\n \"idempotencyKey\": \"batch-8f8b8d9e-confirm-v1\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/group-batches/{{batchId}}/confirm",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"group-batches",
|
|
"{{batchId}}",
|
|
"confirm"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Request Batch (Payment)",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"userId\": \"0f86c109-001b-4ab7-a92c-a58c7fa595bb\",\n \"idempotencyKey\": \"batch-8f8b8d9e-confirm-v4\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/group-batches/{{batchId}}/request",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"group-batches",
|
|
"{{batchId}}",
|
|
"request"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Poll Batch",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"userId\": \"0f86c109-001b-4ab7-a92c-a58c7fa595bb\",\n \"idempotencyKey\": \"batch-8f8b8d9e-confirm-v3\"\n}",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/public/group-batches/{{batchId}}/poll",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"public",
|
|
"group-batches",
|
|
"{{batchId}}",
|
|
"poll"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Seed Configs",
|
|
"request": {
|
|
"auth": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "token",
|
|
"value": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIyNjM3NzM1OTEyMTkiLCJpYXQiOjE3NTgwNTA1MjMsImV4cCI6MTc1ODEzNjkyM30.73n8v7B2BYj3OH6m68x9P6xoXlMWKd0r9ISRVIpvwTE",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/configs/seed",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"configs",
|
|
"seed"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Seed Configs Live",
|
|
"request": {
|
|
"auth": {
|
|
"type": "noauth"
|
|
},
|
|
"method": "GET",
|
|
"header": [],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/configs/seed/live",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"configs",
|
|
"seed",
|
|
"live"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Check existing workflow",
|
|
"request": {
|
|
"method": "POST",
|
|
"header": [],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\n \"username\": \"263775843593\",\n \"email\": \"gabriellamaxx@gmail.com\",\n \"firstName\": \"Gabriella\",\n \"lastName\": \"Max\",\n \"phone\": \"263775843593\"\n}\n",
|
|
"options": {
|
|
"raw": {
|
|
"language": "json"
|
|
}
|
|
}
|
|
},
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/auth/check/263773591219-1757857033639",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"auth",
|
|
"check",
|
|
"263773591219-1757857033639"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Clear Cache",
|
|
"request": {
|
|
"auth": {
|
|
"type": "bearer",
|
|
"bearer": [
|
|
{
|
|
"key": "token",
|
|
"value": "{{token}}",
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Authorization",
|
|
"value": " App0ede918b7c1110465a0518021521638c-ebc4fdb7-547d-413b-bbca-781949ac6597",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "http://localhost:6950/api/configs/cache/clear",
|
|
"protocol": "http",
|
|
"host": [
|
|
"localhost"
|
|
],
|
|
"port": "6950",
|
|
"path": [
|
|
"api",
|
|
"configs",
|
|
"cache",
|
|
"clear"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
],
|
|
"event": [
|
|
{
|
|
"listen": "prerequest",
|
|
"script": {
|
|
"type": "text/javascript",
|
|
"packages": {},
|
|
"requests": {},
|
|
"exec": [
|
|
""
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"type": "text/javascript",
|
|
"packages": {},
|
|
"requests": {},
|
|
"exec": [
|
|
""
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"variable": [
|
|
{
|
|
"key": "accessToken",
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "batchId",
|
|
"value": ""
|
|
}
|
|
]
|
|
} |