{ "uuid": "826adac7-d1c9-4570-8076-9cf35513f5fe", "lastMigration": 29, "name": "API for the Settlement Currency Rate converter", "endpointPrefix": "mcapi/settlement/currencyrate", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "87c24f33-53b5-4434-ba30-c662767000e6", "documentation": "Get the currency conversion rate details.", "method": "get", "endpoint": "conversion-rate", "responses": [ { "uuid": "80cb2aff-2ade-4512-8b6a-054250a69b61", "body": "{\n \"data\": {\n \"bankFee\": 5,\n \"conversionRate\": 0.943078,\n \"crdhldBillAmt\": 21.690798,\n \"crdhldBillCurr\": \"DZD\",\n \"errorCode\": 104,\n \"errorMessage\": \"Not Found , The calculated cross rates for the selected date is not available.\",\n \"fxDate\": \"2016-09-30\",\n \"transAmt\": 23,\n \"transCurr\": \"ALL\"\n },\n \"date\": \"2019-08-08 16:43:27\",\n \"description\": \"Settlement conversion rate and billing amount\",\n \"name\": \"settlement-conversion-rate\",\n \"type\": \"error\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8c6a3a7d-0ff6-483f-89aa-09a9ecd2a075", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "00f7d6e2-5cd3-4a5d-ab5e-6b8d61fe0949", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "451dd57a-3e83-468b-9a51-fdf68a861134", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "469f7d4a-2739-431b-a8e0-87629a32b11e", "documentation": "Determine if the settlement rate has been issued.", "method": "get", "endpoint": "conversion-rate-issued", "responses": [ { "uuid": "7c748cf6-1bbe-4e6c-a393-78c566db02d6", "body": "{\n \"data\": {\n \"rateIssued\": \"NO\"\n },\n \"date\": \"2019-08-08 16:22:31\",\n \"description\": \"Is settlement conversion rate issued\",\n \"name\": \"settlement-conversion-rate-issued\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "38d9a2cb-edf2-48cf-94a9-cd34b6feb333", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "22563e58-3f6d-4826-a22a-3f35ffe4eac5", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c5b609e7-296f-4934-8a51-eb4273daada0", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c2c6fae2-94cb-48f2-9f7e-b8458571f1b9", "documentation": "getCurrencyRateData", "method": "get", "endpoint": "settlement-currencies", "responses": [ { "uuid": "ec2dc679-605d-4acd-a9cb-136c7c26483a", "body": "{\n \"data\": {\n \"currencies\": [\n {\n \"alphaCd\": \"AOA\",\n \"currNam\": \"ANGOLAN KWANZA\"\n }\n ]\n },\n \"date\": \"2019-08-08 16:22:31\",\n \"description\": \"A list of settlement active currencies\",\n \"name\": \"settlement-currency\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7263e601-049a-4dd7-a0b1-65e4ae4d3cdd", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ac60d010-feb9-4526-ab9a-3eda87d9c3cd", "body": "", "latency": 0, "statusCode": 403, "label": "Forbidden", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a54a7ac8-93fd-4ccb-a7e2-7b653c9bad44", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "87c24f33-53b5-4434-ba30-c662767000e6" }, { "type": "route", "uuid": "469f7d4a-2739-431b-a8e0-87629a32b11e" }, { "type": "route", "uuid": "c2c6fae2-94cb-48f2-9f7e-b8458571f1b9" } ] }