{ "info": { "_postman_id": "0530d647-93f9-47ac-9095-d1d9054e819b", "name": "OSS-New-Deployment-FSP-Setup", "description": "Purpose: Perform Golden path end-to-end testing on a deployed Mojaloop system\n\nContributors:\n- Mowali\n- Amar Ramachandran \n- Georgi Georgiev \n- Juan Correa \n- Miguel deBarros \n- Nico Duvenage \n- Sam Kummary \n- Sri Miryala \n- Steven Oderayi \n- valentin genev \n- Vijay Guthi ", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Hub Account", "item": [ { "name": "Add Hub Account-HUB_MULTILATERAL_SETTLEMENT", "event": [ { "listen": "test", "script": { "id": "27fc2302-421b-432a-87eb-ebe28a2ce136", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "FSPIOP-Source", "type": "text", "value": "{{payerfsp}}" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"HUB_MULTILATERAL_SETTLEMENT\",\n \"currency\": \"{{currency}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/Hub/accounts", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "Hub", "accounts" ] } }, "response": [] }, { "name": "Add Hub Account-HUB_RECONCILIATION", "event": [ { "listen": "test", "script": { "id": "9658dc2b-cf6c-41d2-b437-216bd105eb07", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "FSPIOP-Source", "value": "{{payerfsp}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"HUB_RECONCILIATION\",\n \"currency\": \"{{currency}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/Hub/accounts", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "Hub", "accounts" ] } }, "response": [] }, { "name": "Hub Set Endpoint-SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL Copy", "event": [ { "listen": "test", "script": { "id": "f9837f03-80a7-46be-9276-e98d6925709e", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/Hub/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "Hub", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/admin/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "admin", "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Hub Set Endpoint-NET_DEBIT_CAP_ADJUSTMENT_EMAIL Copy", "event": [ { "listen": "test", "script": { "id": "837c7a84-ce18-4a96-b686-b2d6150a02ed", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"NET_DEBIT_CAP_ADJUSTMENT_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/Hub/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "Hub", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/admin/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "admin", "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Hub Endpoint-NET_DEBIT_CAP_THRESHOLD_BREACH_EMAIL Copy", "event": [ { "listen": "test", "script": { "id": "f2c3621b-1a07-4c48-89c7-9587e9c03267", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"NET_DEBIT_CAP_THRESHOLD_BREACH_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/Hub/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "Hub", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] } ], "protocolProfileBehavior": {} }, { "name": "FSP Onboarding", "item": [ { "name": "payerfsp (p2p transfers)", "item": [ { "name": "Add payerfsp - TRANSFERS", "event": [ { "listen": "test", "script": { "id": "76c222f4-969b-4081-b4d7-133ebe48f50f", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\"name\": \"payerfsp\",\"currency\": \"{{currency}}\"}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants" ] } }, "response": [] }, { "name": "Add initial position and limits - payerfsp", "event": [ { "listen": "test", "script": { "id": "d767079d-a9dd-401a-8d6a-5f94654c4259", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"currency\": \"{{currency}}\",\n\t\"limit\": {\n\t \"type\": \"NET_DEBIT_CAP\",\n\t \"value\": 1000000\n\t},\n\t\"initialPosition\": 0\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/initialPositionAndLimits", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "initialPositionAndLimits" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTICIPANT PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTICIPANT_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/participants/{{partyIdType}}/{{partyIdentifier}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTICIPANT PUT Error", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTICIPANT_PUT_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/participants/{{partyIdType}}/{{partyIdentifier}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTICIPANT PUT Batch", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTICIPANT_BATCH_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/participants/{{requestId}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTICIPANT PUT Batch Error", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTICIPANT_BATCH_PUT_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/participants/{{requestId}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTIES GET", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTIES_GET\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/parties/{{partyIdType}}/{{partyIdentifier}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTIES PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTIES_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/parties/{{partyIdType}}/{{partyIdentifier}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTIES PUT Error", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTIES_PUT_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/parties/{{partyIdType}}/{{partyIdentifier}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - QUOTES PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_QUOTES\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - TRANSFER POST", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_POST\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/transfers\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - TRANSFER PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/transfers/{{transferId}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - TRANSFER ERROR", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/transfers/{{transferId}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTICIPANT SUB-ID PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTICIPANT_SUB_ID_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/participants/{{partyIdType}}/{{partyIdentifier}}/{{partySubIdOrType}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTICIPANT SUB-ID PUT Error", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTICIPANT_SUB_ID_PUT_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/participants/{{partyIdType}}/{{partyIdentifier}}/{{partySubIdOrType}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTICIPANT SUB-ID DELETE", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTICIPANT_SUB_ID_DELETE\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/participants/{{partyIdType}}/{{partyIdentifier}}/{{partySubIdOrType}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTIES SUB-ID GET", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTIES_SUB_ID_GET\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/parties/{{partyIdType}}/{{partyIdentifier}}/{{partySubIdOrType}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTIES SUB-ID PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTIES_SUB_ID_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/parties/{{partyIdType}}/{{partyIdentifier}}/{{partySubIdOrType}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTIES SUB-ID PUT Error", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTIES_SUB_ID_PUT_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/parties/{{partyIdType}}/{{partyIdentifier}}/{{partySubIdOrType}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - FSPIOP_CALLBACK_URL_TRX_REQ_SERVICE", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRX_REQ_SERVICE\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "9. Set Endpoint-NET_DEBIT_CAP_ADJUSTMENT_EMAIL Copy", "event": [ { "listen": "test", "script": { "id": "83984619-0430-4a4c-87ec-671bf97894de", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"NET_DEBIT_CAP_ADJUSTMENT_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Set Endpoint-SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL Copy", "event": [ { "listen": "test", "script": { "id": "16f8d261-3f2d-470b-986b-c8e23602605b", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/{{payerfsp}}/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "{{payerfsp}}", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "DFSP Endpoint-NET_DEBIT_CAP_THRESHOLD_BREACH_EMAIL Copy", "event": [ { "listen": "test", "script": { "id": "67082524-b658-4f1c-90c4-af6fc24adb3e", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"NET_DEBIT_CAP_THRESHOLD_BREACH_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Record Funds In - payerfsp ", "event": [ { "listen": "test", "script": { "id": "802139ed-ec95-40f8-99a7-d88f0e77e49d", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "461d34bc-33f6-4031-bbc4-b26489ff1953", "exec": [ "var uuid = require('uuid');", "var generatedUUID = uuid.v4();", "pm.environment.set('fundsInPrepareTransferId', generatedUUID);", "pm.environment.set('fundsInPrepareAmount', 5000);", "", "", "const payerfspGetStatusRequest = {", " url: pm.environment.get(\"HOST_CENTRAL_LEDGER\")+pm.environment.get(\"BASE_CENTRAL_LEDGER_ADMIN\")+'/participants/'+pm.environment.get(\"payerfsp\")+'/accounts',", " method: 'GET',", " header: {", " \"Authorization\":\"Bearer \"+pm.environment.get(\"HUB_OPERATOR_BEARER_TOKEN\"),", " \"FSPIOP-Source\": pm.environment.get(\"hub_operator\"),", " \"Content-Type\": \"application/json\"", " }", "};", "pm.sendRequest(payerfspGetStatusRequest, function (err, response) {", " console.log(response.json())", " var jsonData = response.json()", " for(var i in jsonData) {", " if((jsonData[i].ledgerAccountType === 'SETTLEMENT') && (jsonData[i].currency === pm.environment.get(\"currency\"))) {", " pm.environment.set(\"payerfspSettlementAccountId\",jsonData[i].id)", " pm.environment.set(\"payerfspSettlementAccountBalanceBeforeFundsIn\",jsonData[i].value)", " }", " }", "});", "", "const hubGetStatusRequest = {", " url: pm.environment.get(\"HOST_CENTRAL_LEDGER\")+pm.environment.get(\"BASE_CENTRAL_LEDGER_ADMIN\")+'/participants/Hub/accounts',", " method: 'GET',", " header: {", " \"Authorization\":\"Bearer \"+pm.environment.get(\"BEARER_TOKEN\"),", " \"FSPIOP-Source\": pm.environment.get(\"payerfsp\"),", " \"Content-Type\": \"application/json\"", " }", "};", "pm.sendRequest(hubGetStatusRequest, function (err, response) {", " console.log(response.json())", " var jsonData = response.json()", " for(var i in jsonData) {", " if((jsonData[i].ledgerAccountType === 'HUB_RECONCILIATION') && (jsonData[i].currency === pm.environment.get(\"currency\"))) {", " pm.environment.set(\"hubReconAccountBalanceBeforeFundsIn\",jsonData[i].value)", " }", " }", "});", "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "FSPIOP-Source", "value": "{{payerfsp}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"transferId\": \"{{fundsInPrepareTransferId}}\",\n \"externalReference\": \"string\",\n \"action\": \"recordFundsIn\",\n \"reason\": \"string\",\n \"amount\": {\n \"amount\":\"{{fundsInPrepareAmount}}\" ,\n \"currency\": \"{{currency}}\"\n },\n \"extensionList\": {\n \"extension\": [\n {\n \"key\": \"string\",\n \"value\": \"string\"\n }\n ]\n }\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/{{payerfsp}}/accounts/{{payerfspSettlementAccountId}}", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "{{payerfsp}}", "accounts", "{{payerfspSettlementAccountId}}" ] } }, "response": [] }, { "name": "Setup Bulk POST endpoint", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_BULK_TRANSFER_POST\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/bulkTransfers\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Setup Bulk PUT endpoint", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_BULK_TRANSFER_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/bulkTransfers/{{id}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] }, { "name": "Setup Bulk PUT /error endpoint", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_BULK_TRANSFER_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payerfsp/bulkTransfers/{{id}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payerfsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payerfsp", "endpoints" ] } }, "response": [] } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { "name": "payeefsp (p2p transfers)", "item": [ { "name": "Add payeefsp - TRANSFERS", "event": [ { "listen": "test", "script": { "id": "76c222f4-969b-4081-b4d7-133ebe48f50f", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\"name\": \"payeefsp\",\"currency\": \"{{currency}}\"}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants" ] } }, "response": [] }, { "name": "Add initial position and limits - payeefsp", "event": [ { "listen": "test", "script": { "id": "d767079d-a9dd-401a-8d6a-5f94654c4259", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n\t\"currency\": \"{{currency}}\",\n\t\"limit\": {\n\t \"type\": \"NET_DEBIT_CAP\",\n\t \"value\": 1000000\n\t},\n\t\"initialPosition\": 0\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/initialPositionAndLimits", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "initialPositionAndLimits" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTICIPANT PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTICIPANT_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/participants/{{partyIdType}}/{{partyIdentifier}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTICIPANT PUT Error", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTICIPANT_PUT_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/participants/{{partyIdType}}/{{partyIdentifier}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTICIPANT PUT Batch", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTICIPANT_BATCH_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/participants/{{requestId}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTICIPANT PUT Batch Error", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTICIPANT_BATCH_PUT_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/participants/{{requestId}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTIES GET", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTIES_GET\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/parties/{{partyIdType}}/{{partyIdentifier}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTIES PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTIES_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/parties/{{partyIdType}}/{{partyIdentifier}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - PARTIES PUT Error", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTIES_PUT_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/parties/{{partyIdType}}/{{partyIdentifier}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payerfsp callback - QUOTES PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_QUOTES\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payeefsp callback - TRANSFER POST", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_POST\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/transfers\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payeefsp callback - TRANSFER PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/transfers/{{transferId}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payeefsp callback - TRANSFER ERROR", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/transfers/{{transferId}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payeefsp callback - PARTICIPANT SUB-ID PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTICIPANT_SUB_ID_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/participants/{{partyIdType}}/{{partyIdentifier}}/{{partySubIdOrType}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payeefsp callback - PARTICIPANT SUB-ID PUT Error", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTICIPANT_SUB_ID_PUT_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/participants/{{partyIdType}}/{{partyIdentifier}}/{{partySubIdOrType}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payeefsp callback - PARTIES SUB-ID GET", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTIES_SUB_ID_GET\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/parties/{{partyIdType}}/{{partyIdentifier}}/{{partySubIdOrType}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payeefsp callback - PARTIES SUB-ID PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTIES_SUB_ID_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/parties/{{partyIdType}}/{{partyIdentifier}}/{{partySubIdOrType}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payeefsp callback - PARTIES SUB-ID PUT Error", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_PARTIES_SUB_ID_PUT_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/parties/{{partyIdType}}/{{partyIdentifier}}/{{partySubIdOrType}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add payeefsp callback - FSPIOP_CALLBACK_URL_TRX_REQ_SERVICE", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRX_REQ_SERVICE\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "9. Set Endpoint-NET_DEBIT_CAP_ADJUSTMENT_EMAIL Copy Copy", "event": [ { "listen": "test", "script": { "id": "83984619-0430-4a4c-87ec-671bf97894de", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"NET_DEBIT_CAP_ADJUSTMENT_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "DFSP Endpoint-NET_DEBIT_CAP_THRESHOLD_BREACH_EMAIL Copy Copy", "event": [ { "listen": "test", "script": { "id": "67082524-b658-4f1c-90c4-af6fc24adb3e", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"NET_DEBIT_CAP_THRESHOLD_BREACH_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Set Endpoint-SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL Copy Copy", "event": [ { "listen": "test", "script": { "id": "16f8d261-3f2d-470b-986b-c8e23602605b", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/{{payeefsp}}/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "{{payeefsp}}", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Record Funds In - payeefsp ", "event": [ { "listen": "prerequest", "script": { "id": "5858c228-7870-48e4-ad2f-8c9a78bef057", "exec": [ "var uuid = require('uuid');", "var generatedUUID = uuid.v4();", "pm.environment.set('fundsInPrepareTransferId', generatedUUID);", "pm.environment.set('fundsInPrepareAmount', 5000);", "", "", "const payerfspGetStatusRequest = {", " url: pm.environment.get(\"HOST_CENTRAL_LEDGER\")+pm.environment.get(\"BASE_CENTRAL_LEDGER_ADMIN\")+'/participants/'+pm.environment.get(\"payeefsp\")+'/accounts',", " method: 'GET',", " header: {", " \"Authorization\":\"Bearer \"+pm.environment.get(\"HUB_OPERATOR_BEARER_TOKEN\"),", " \"FSPIOP-Source\": pm.environment.get(\"hub_operator\"),", " \"Content-Type\": \"application/json\"", " }", "};", "pm.sendRequest(payerfspGetStatusRequest, function (err, response) {", " console.log(response.json())", " var jsonData = response.json()", " for(var i in jsonData) {", " if((jsonData[i].ledgerAccountType === 'SETTLEMENT') && (jsonData[i].currency === pm.environment.get(\"currency\"))) {", " pm.environment.set(\"payeefspSettlementAccountId\",jsonData[i].id)", " pm.environment.set(\"payeefspSettlementAccountBalanceBeforeFundsIn\",jsonData[i].value)", " }", " }", "});", "", "const hubGetStatusRequest = {", " url: pm.environment.get(\"HOST_CENTRAL_LEDGER\")+pm.environment.get(\"BASE_CENTRAL_LEDGER_ADMIN\")+'/participants/Hub/accounts',", " method: 'GET',", " header: {", " \"Authorization\":\"Bearer \"+pm.environment.get(\"BEARER_TOKEN\"),", " \"FSPIOP-Source\": pm.environment.get(\"payerfsp\"),", " \"Content-Type\": \"application/json\"", " }", "};", "pm.sendRequest(hubGetStatusRequest, function (err, response) {", " console.log(response.json())", " var jsonData = response.json()", " for(var i in jsonData) {", " if((jsonData[i].ledgerAccountType === 'HUB_RECONCILIATION') && (jsonData[i].currency === pm.environment.get(\"currency\"))) {", " pm.environment.set(\"hubReconAccountBalanceBeforeFundsIn\",jsonData[i].value)", " }", " }", "});", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "15f4e96a-4f84-42f9-b81b-e7de0763d874", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{HUBOPERATOR_BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "FSPIOP-Source", "type": "text", "value": "{{hub_operator}}" } ], "body": { "mode": "raw", "raw": "{\n \"transferId\": \"{{fundsInPrepareTransferId}}\",\n \"externalReference\": \"string\",\n \"action\": \"recordFundsIn\",\n \"reason\": \"string\",\n \"amount\": {\n \"amount\":\"{{fundsInPrepareAmount}}\" ,\n \"currency\": \"{{currency}}\"\n },\n \"extensionList\": {\n \"extension\": [\n {\n \"key\": \"string\",\n \"value\": \"string\"\n }\n ]\n }\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/{{payeefsp}}/accounts/{{payeefspSettlementAccountId}}", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "{{payeefsp}}", "accounts", "{{payeefspSettlementAccountId}}" ] } }, "response": [] }, { "name": "Setup Bulk PUT endpoint", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_BULK_TRANSFER_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/bulkTransfers/{{id}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Setup Bulk PUT /error endpoint", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_BULK_TRANSFER_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/bulkTransfers/{{id}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] }, { "name": "Setup Bulk POST endpoint", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_BULK_TRANSFER_POST\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/payeefsp/bulkTransfers\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/payeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "payeefsp", "endpoints" ] } }, "response": [] } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { "name": "testfsp1 (Only for Settlements testing)", "item": [ { "name": "Add testfsp1 - TRANSFERS", "event": [ { "listen": "test", "script": { "id": "76c222f4-969b-4081-b4d7-133ebe48f50f", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\"name\": \"testfsp1\",\"currency\": \"{{currency}}\"}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants" ] } }, "response": [] }, { "name": "Add initial position and limits - testfsp1", "event": [ { "listen": "test", "script": { "id": "d767079d-a9dd-401a-8d6a-5f94654c4259", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n\t\"currency\": \"{{currency}}\",\n\t\"limit\": {\n\t \"type\": \"NET_DEBIT_CAP\",\n\t \"value\": 1000000\n\t},\n\t\"initialPosition\": 0\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp1/initialPositionAndLimits", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp1", "initialPositionAndLimits" ] } }, "response": [] }, { "name": "Testfsp1 callback - Transfer POST", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_POST\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/testfsp1/transfers\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp1/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp1", "endpoints" ] } }, "response": [] }, { "name": "Add testfsp1 callback - TRANSFER PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/testfsp1/transfers/{{transferId}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp1/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp1", "endpoints" ] } }, "response": [] }, { "name": "Testfsp1 callback - Tranfers Error", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/testfsp1/transfers/{{transferId}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp1/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp1", "endpoints" ] } }, "response": [] }, { "name": "9. Set Endpoint-NET_DEBIT_CAP_ADJUSTMENT_EMAIL", "event": [ { "listen": "test", "script": { "id": "83984619-0430-4a4c-87ec-671bf97894de", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"NET_DEBIT_CAP_ADJUSTMENT_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/testfsp1/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp1", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "DFSP Endpoint-NET_DEBIT_CAP_THRESHOLD_BREACH_EMAIL", "event": [ { "listen": "test", "script": { "id": "67082524-b658-4f1c-90c4-af6fc24adb3e", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"NET_DEBIT_CAP_THRESHOLD_BREACH_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/testfsp1/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp1", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Set Endpoint-SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL", "event": [ { "listen": "test", "script": { "id": "16f8d261-3f2d-470b-986b-c8e23602605b", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/testfsp1/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp1", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Record Funds In - testfsp1", "event": [ { "listen": "prerequest", "script": { "id": "586c0595-cc84-4e7e-879f-e670aba8afdd", "exec": [ "var uuid = require('uuid');", "var generatedUUID = uuid.v4();", "pm.environment.set('fundsInPrepareTransferId', generatedUUID);", "pm.environment.set('fundsInPrepareAmount', 5000);", "", "", "const payerfspGetStatusRequest = {", " url: pm.environment.get(\"HOST_CENTRAL_LEDGER\")+pm.environment.get(\"BASE_CENTRAL_LEDGER_ADMIN\")+'/participants/'+pm.environment.get(\"testfsp1\")+'/accounts',", " method: 'GET',", " header: {", " \"Authorization\":\"Bearer \"+pm.environment.get(\"HUB_OPERATOR_BEARER_TOKEN\"),", " \"FSPIOP-Source\": pm.environment.get(\"hub_operator\"),", " \"Content-Type\": \"application/json\"", " }", "};", "pm.sendRequest(payerfspGetStatusRequest, function (err, response) {", " console.log(response.json())", " var jsonData = response.json()", " for(var i in jsonData) {", " if((jsonData[i].ledgerAccountType === 'SETTLEMENT') && (jsonData[i].currency === pm.environment.get(\"currency\"))) {", "", " pm.environment.set(\"testfsp1SettlementAccountId\",jsonData[i].id)", " pm.environment.set(\"testfsp1SettlementAccountBalanceBeforeFundsIn\",jsonData[i].value)", " }", " }", "});", "", "const hubGetStatusRequest = {", " url: pm.environment.get(\"HOST_CENTRAL_LEDGER\")+pm.environment.get(\"BASE_CENTRAL_LEDGER_ADMIN\")+'/participants/Hub/accounts',", " method: 'GET',", " header: {", " \"Authorization\":\"Bearer \"+pm.environment.get(\"HUB_OPERATOR_BEARER_TOKEN\"),", " \"FSPIOP-Source\": pm.environment.get(\"hub_operator\"),", " \"Content-Type\": \"application/json\"", " }", "};", "pm.sendRequest(hubGetStatusRequest, function (err, response) {", " console.log(response.json())", " var jsonData = response.json()", " for(var i in jsonData) {", " if((jsonData[i].ledgerAccountType === 'HUB_RECONCILIATION') && (jsonData[i].currency === pm.environment.get(\"currency\"))) {", " pm.environment.set(\"hubReconAccountBalanceBeforeFundsIn\",jsonData[i].value)", " }", " }", "});" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "bdd65ddc-1613-473d-bb6b-67b38464a77d", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{HUBOPERATOR_BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "FSPIOP-Source", "type": "text", "value": "{{hub_operator}}" } ], "body": { "mode": "raw", "raw": "{\n \"transferId\": \"{{fundsInPrepareTransferId}}\",\n \"externalReference\": \"string\",\n \"action\": \"recordFundsIn\",\n \"reason\": \"string\",\n \"amount\": {\n \"amount\": \"{{fundsInPrepareAmount}}\",\n \"currency\": \"{{currency}}\"\n },\n \"extensionList\": {\n \"extension\": [\n {\n \"key\": \"string\",\n \"value\": \"string\"\n }\n ]\n }\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/{{testfsp1}}/accounts/{{testfsp1SettlementAccountId}}", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "{{testfsp1}}", "accounts", "{{testfsp1SettlementAccountId}}" ] } }, "response": [] } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { "name": "testfsp2 (Only for Settlements testing)", "item": [ { "name": "Add testfsp2 - TRANSFERS", "event": [ { "listen": "test", "script": { "id": "76c222f4-969b-4081-b4d7-133ebe48f50f", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\"name\": \"testfsp2\",\"currency\": \"{{currency}}\"}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants" ] } }, "response": [] }, { "name": "Add initial position and limits - testfsp2", "event": [ { "listen": "test", "script": { "id": "d767079d-a9dd-401a-8d6a-5f94654c4259", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n\t\"currency\": \"{{currency}}\",\n\t\"limit\": {\n\t \"type\": \"NET_DEBIT_CAP\",\n\t \"value\": 1000000\n\t},\n\t\"initialPosition\": 0\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp2/initialPositionAndLimits", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp2", "initialPositionAndLimits" ] } }, "response": [] }, { "name": "Testfsp2 callback - Transfer POST", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_POST\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/testfsp2/transfers\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp2/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp2", "endpoints" ] } }, "response": [] }, { "name": "Add testfsp2 callback - TRANSFER PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/testfsp2/transfers/{{transferId}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp2/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp2", "endpoints" ] } }, "response": [] }, { "name": "Testfsp2 callback - Tranfers Error", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/testfsp2/transfers/{{transferId}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp2/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp2", "endpoints" ] } }, "response": [] }, { "name": "9. Set Endpoint-NET_DEBIT_CAP_ADJUSTMENT_EMAIL", "event": [ { "listen": "test", "script": { "id": "83984619-0430-4a4c-87ec-671bf97894de", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"NET_DEBIT_CAP_ADJUSTMENT_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/testfsp2/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp2", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "DFSP Endpoint-NET_DEBIT_CAP_THRESHOLD_BREACH_EMAIL", "event": [ { "listen": "test", "script": { "id": "67082524-b658-4f1c-90c4-af6fc24adb3e", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"NET_DEBIT_CAP_THRESHOLD_BREACH_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/testfsp2/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp2", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Set Endpoint-SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL", "event": [ { "listen": "test", "script": { "id": "16f8d261-3f2d-470b-986b-c8e23602605b", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/testfsp2/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp2", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Record Funds In - testfsp2", "event": [ { "listen": "test", "script": { "id": "68b87252-0879-4516-9363-d006d4c57882", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } }, { "listen": "prerequest", "script": { "id": "30cc4733-a973-4d48-ae7f-870fe382161b", "exec": [ "var uuid = require('uuid');", "var generatedUUID = uuid.v4();", "pm.environment.set('fundsInPrepareTransferId', generatedUUID);", "pm.environment.set('fundsInPrepareAmount', 5000);", "", "", "const payerfspGetStatusRequest = {", " url: pm.environment.get(\"HOST_CENTRAL_LEDGER\")+pm.environment.get(\"BASE_CENTRAL_LEDGER_ADMIN\")+'/participants/'+pm.environment.get(\"testfsp2\")+'/accounts',", " method: 'GET',", " header: {", " \"Authorization\":\"Bearer \"+pm.environment.get(\"BEARER_TOKEN\"),", " \"FSPIOP-Source\": pm.environment.get(\"payerfsp\"),", " \"Content-Type\": \"application/json\"", " }", "};", "pm.sendRequest(payerfspGetStatusRequest, function (err, response) {", " console.log(response.json())", " var jsonData = response.json()", " for(var i in jsonData) {", " if((jsonData[i].ledgerAccountType === 'SETTLEMENT') && (jsonData[i].currency === pm.environment.get(\"currency\"))) {", "", " pm.environment.set(\"testfsp2SettlementAccountId\",jsonData[i].id)", " pm.environment.set(\"testfsp2SettlementAccountBalanceBeforeFundsIn\",jsonData[i].value)", " }", " }", "});", "", "const hubGetStatusRequest = {", " url: pm.environment.get(\"HOST_CENTRAL_LEDGER\")+pm.environment.get(\"BASE_CENTRAL_LEDGER_ADMIN\")+'/participants/Hub/accounts',", " method: 'GET',", " header: {", " \"Authorization\":\"Bearer \"+pm.environment.get(\"HUB_OPERATOR_BEARER_TOKEN\"),", " \"FSPIOP-Source\": pm.environment.get(\"hub_operator\"),", " \"Content-Type\": \"application/json\"", " }", "};", "pm.sendRequest(hubGetStatusRequest, function (err, response) {", " console.log(response.json())", " var jsonData = response.json()", " for(var i in jsonData) {", " if((jsonData[i].ledgerAccountType === 'HUB_RECONCILIATION') && (jsonData[i].currency === pm.environment.get(\"currency\"))) {", " pm.environment.set(\"hubReconAccountBalanceBeforeFundsIn\",jsonData[i].value)", " }", " }", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{HUBOPERATOR_BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "FSPIOP-Source", "type": "text", "value": "{{hub_operator}}" } ], "body": { "mode": "raw", "raw": "{\n \"transferId\": \"{{fundsInPrepareTransferId}}\",\n \"externalReference\": \"string\",\n \"action\": \"recordFundsIn\",\n \"reason\": \"string\",\n \"amount\": {\n \"amount\": \"{{fundsInPrepareAmount}}\",\n \"currency\": \"{{currency}}\"\n },\n \"extensionList\": {\n \"extension\": [\n {\n \"key\": \"string\",\n \"value\": \"string\"\n }\n ]\n }\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/{{testfsp2}}/accounts/{{testfsp2SettlementAccountId}}", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "{{testfsp2}}", "accounts", "{{testfsp2SettlementAccountId}}" ] } }, "response": [] } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { "name": "testfsp3 (Only for Settlements testing)", "item": [ { "name": "Add testfsp3- TRANSFERS", "event": [ { "listen": "test", "script": { "id": "76c222f4-969b-4081-b4d7-133ebe48f50f", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\"name\": \"testfsp3\",\"currency\": \"{{currency}}\"}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants" ] } }, "response": [] }, { "name": "Add initial position and limits - testfsp3", "event": [ { "listen": "test", "script": { "id": "d767079d-a9dd-401a-8d6a-5f94654c4259", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n\t\"currency\": \"{{currency}}\",\n\t\"limit\": {\n\t \"type\": \"NET_DEBIT_CAP\",\n\t \"value\": 1000000\n\t},\n\t\"initialPosition\": 0\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp3/initialPositionAndLimits", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp3", "initialPositionAndLimits" ] } }, "response": [] }, { "name": "Testfsp3 callback - Transfer POST", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_POST\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/testfsp3/transfers\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp3/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp3", "endpoints" ] } }, "response": [] }, { "name": "Add testfsp3 callback - TRANSFER PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/testfsp3/transfers/{{transferId}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp3/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp3", "endpoints" ] } }, "response": [] }, { "name": "Testfsp3 callback - Tranfers Error", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/testfsp3/transfers/{{transferId}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp3/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp3", "endpoints" ] } }, "response": [] }, { "name": "9. Set Endpoint-NET_DEBIT_CAP_ADJUSTMENT_EMAIL", "event": [ { "listen": "test", "script": { "id": "83984619-0430-4a4c-87ec-671bf97894de", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"NET_DEBIT_CAP_ADJUSTMENT_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/testfsp3/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp3", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "DFSP Endpoint-NET_DEBIT_CAP_THRESHOLD_BREACH_EMAIL", "event": [ { "listen": "test", "script": { "id": "67082524-b658-4f1c-90c4-af6fc24adb3e", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"NET_DEBIT_CAP_THRESHOLD_BREACH_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/testfsp3/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp3", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Set Endpoint-SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL", "event": [ { "listen": "test", "script": { "id": "16f8d261-3f2d-470b-986b-c8e23602605b", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/testfsp3/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp3", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Record Funds In - testfsp3", "event": [ { "listen": "prerequest", "script": { "id": "c0455a57-dad2-41dc-9815-d3cdab789923", "exec": [ "var uuid = require('uuid');", "var generatedUUID = uuid.v4();", "pm.environment.set('fundsInPrepareTransferId', generatedUUID);", "pm.environment.set('fundsInPrepareAmount', 5000);", "", "", "const payerfspGetStatusRequest = {", " url: pm.environment.get(\"HOST_CENTRAL_LEDGER\")+pm.environment.get(\"BASE_CENTRAL_LEDGER_ADMIN\")+'/participants/'+pm.environment.get(\"testfsp3\")+'/accounts',", " method: 'GET',", " header: {", " \"Authorization\":\"Bearer \"+pm.environment.get(\"BEARER_TOKEN\"),", " \"FSPIOP-Source\": pm.environment.get(\"payerfsp\"),", " \"Content-Type\": \"application/json\"", " }", "};", "pm.sendRequest(payerfspGetStatusRequest, function (err, response) {", " console.log(response.json())", " var jsonData = response.json()", " for(var i in jsonData) {", " if((jsonData[i].ledgerAccountType === 'SETTLEMENT') && (jsonData[i].currency === pm.environment.get(\"currency\"))) {", "", " pm.environment.set(\"testfsp3SettlementAccountId\",jsonData[i].id)", " pm.environment.set(\"testfsp3SettlementAccountBalanceBeforeFundsIn\",jsonData[i].value)", " }", " }", "});", "", "const hubGetStatusRequest = {", " url: pm.environment.get(\"HOST_CENTRAL_LEDGER\")+pm.environment.get(\"BASE_CENTRAL_LEDGER_ADMIN\")+'/participants/Hub/accounts',", " method: 'GET',", " header: {", " \"Authorization\":\"Bearer \"+pm.environment.get(\"HUB_OPERATOR_BEARER_TOKEN\"),", " \"FSPIOP-Source\": pm.environment.get(\"hub_operator\"),", " \"Content-Type\": \"application/json\"", " }", "};", "pm.sendRequest(hubGetStatusRequest, function (err, response) {", " console.log(response.json())", " var jsonData = response.json()", " for(var i in jsonData) {", " if((jsonData[i].ledgerAccountType === 'HUB_RECONCILIATION') && (jsonData[i].currency === pm.environment.get(\"currency\"))) {", " pm.environment.set(\"hubReconAccountBalanceBeforeFundsIn\",jsonData[i].value)", " }", " }", "});" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "cdd3a5b3-012e-4ae2-8caa-68f30952b88a", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{HUBOPERATOR_BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "FSPIOP-Source", "type": "text", "value": "{{hub_operator}}" } ], "body": { "mode": "raw", "raw": "{\n \"transferId\": \"{{fundsInPrepareTransferId}}\",\n \"externalReference\": \"string\",\n \"action\": \"recordFundsIn\",\n \"reason\": \"string\",\n \"amount\": {\n \"amount\": \"{{fundsInPrepareAmount}}\",\n \"currency\": \"{{currency}}\"\n },\n \"extensionList\": {\n \"extension\": [\n {\n \"key\": \"string\",\n \"value\": \"string\"\n }\n ]\n }\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/testfsp3/accounts/{{testfsp3SettlementAccountId}}", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp3", "accounts", "{{testfsp3SettlementAccountId}}" ] } }, "response": [] } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { "name": "testfsp4 (Only for Settlements testing)", "item": [ { "name": "Add testfsp4 - TRANSFERS", "event": [ { "listen": "test", "script": { "id": "76c222f4-969b-4081-b4d7-133ebe48f50f", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\"name\": \"testfsp4\",\"currency\": \"{{currency}}\"}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants" ] } }, "response": [] }, { "name": "Add initial position and limits - testfsp4", "event": [ { "listen": "test", "script": { "id": "d767079d-a9dd-401a-8d6a-5f94654c4259", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n\t\"currency\": \"{{currency}}\",\n\t\"limit\": {\n\t \"type\": \"NET_DEBIT_CAP\",\n\t \"value\": 1000000\n\t},\n\t\"initialPosition\": 0\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp4/initialPositionAndLimits", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp4", "initialPositionAndLimits" ] } }, "response": [] }, { "name": "Testfsp4 callback - Transfer POST", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_POST\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/testfsp4/transfers\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp4/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp4", "endpoints" ] } }, "response": [] }, { "name": "Add testfsp4 callback - TRANSFER PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/testfsp4/transfers/{{transferId}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp4/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp4", "endpoints" ] } }, "response": [] }, { "name": "Testfsp4 callback - Tranfers Error", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/testfsp4/transfers/{{transferId}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/testfsp4/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "testfsp4", "endpoints" ] } }, "response": [] }, { "name": "9. Set Endpoint-NET_DEBIT_CAP_ADJUSTMENT_EMAIL", "event": [ { "listen": "test", "script": { "id": "83984619-0430-4a4c-87ec-671bf97894de", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"NET_DEBIT_CAP_ADJUSTMENT_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/testfsp4/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp4", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "DFSP Endpoint-NET_DEBIT_CAP_THRESHOLD_BREACH_EMAIL", "event": [ { "listen": "test", "script": { "id": "67082524-b658-4f1c-90c4-af6fc24adb3e", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"NET_DEBIT_CAP_THRESHOLD_BREACH_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/testfsp4/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp4", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Set Endpoint-SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL", "event": [ { "listen": "test", "script": { "id": "16f8d261-3f2d-470b-986b-c8e23602605b", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"SETTLEMENT_TRANSFER_POSITION_CHANGE_EMAIL\",\n \"value\": \"sridevi.miriyala@modusbox.com\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/testfsp4/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp4", "endpoints" ] }, "description": "Generated from a curl request: \ncurl -i -X POST {{HOST_CENTRAL_LEDGER}}/participants/testfsp2/initialPositionAndLimits -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{\n \\\"currency\\\": \\\"USD\\\",\n \\\"limit\\\": {\n \\\"type\\\": \\\"NET_DEBIT_CAP\\\",\n \\\"value\\\": 1000\n },\n \\\"initialPosition\\\": 0\n }'" }, "response": [ { "name": "2. Create Initial Position and Limits", "originalRequest": { "method": "POST", "header": [ { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"currency\": \"USD\",\n \"limit\": {\n \"type\": \"NET_DEBIT_CAP\",\n \"value\": 1000\n },\n \"initialPosition\": 0\n }" }, "url": { "raw": "http://{{HOST_CENTRAL_LEDGER}}/participants/testfsp/initialPositionAndLimits", "protocol": "http", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp", "initialPositionAndLimits" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "Text", "header": [], "cookie": [], "body": "" } ] }, { "name": "Record Funds In - testfsp4", "event": [ { "listen": "prerequest", "script": { "id": "519b710c-ba80-4c37-8c39-457accf09cf9", "exec": [ "var uuid = require('uuid');", "var generatedUUID = uuid.v4();", "pm.environment.set('fundsInPrepareTransferId', generatedUUID);", "pm.environment.set('fundsInPrepareAmount', 5000);", "", "", "const payerfspGetStatusRequest = {", " url: pm.environment.get(\"HOST_CENTRAL_LEDGER\")+pm.environment.get(\"BASE_CENTRAL_LEDGER_ADMIN\")+'/participants/'+pm.environment.get(\"testfsp4\")+'/accounts',", " method: 'GET',", " header: {", " \"Authorization\":\"Bearer \"+pm.environment.get(\"BEARER_TOKEN\"),", " \"FSPIOP-Source\": pm.environment.get(\"payerfsp\"),", " \"Content-Type\": \"application/json\"", " }", "};", "pm.sendRequest(payerfspGetStatusRequest, function (err, response) {", " console.log(response.json())", " var jsonData = response.json()", " for(var i in jsonData) {", " if((jsonData[i].ledgerAccountType === 'SETTLEMENT') && (jsonData[i].currency === pm.environment.get(\"currency\"))) {", "", " pm.environment.set(\"testfsp4SettlementAccountId\",jsonData[i].id)", " pm.environment.set(\"testfsp4SettlementAccountBalanceBeforeFundsIn\",jsonData[i].value)", " }", " }", "});", "", "const hubGetStatusRequest = {", " url: pm.environment.get(\"HOST_CENTRAL_LEDGER\")+pm.environment.get(\"BASE_CENTRAL_LEDGER_ADMIN\")+'/participants/Hub/accounts',", " method: 'GET',", " header: {", " \"Authorization\":\"Bearer \"+pm.environment.get(\"HUB_OPERATOR_BEARER_TOKEN\"),", " \"FSPIOP-Source\": pm.environment.get(\"hub_operator\"),", " \"Content-Type\": \"application/json\"", " }", "};", "pm.sendRequest(hubGetStatusRequest, function (err, response) {", " console.log(response.json())", " var jsonData = response.json()", " for(var i in jsonData) {", " if((jsonData[i].ledgerAccountType === 'HUB_RECONCILIATION') && (jsonData[i].currency === '{{currency}}')) {", " pm.environment.set(\"hubReconAccountBalanceBeforeFundsIn\",jsonData[i].value)", " }", " }", "});" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "b8abcd67-cea7-47fd-83fd-ce674ebd6911", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{HUBOPERATOR_BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "FSPIOP-Source", "type": "text", "value": "{{hub_operator}}" } ], "body": { "mode": "raw", "raw": "{\n \"transferId\": \"{{fundsInPrepareTransferId}}\",\n \"externalReference\": \"string\",\n \"action\": \"recordFundsIn\",\n \"reason\": \"string\",\n \"amount\": {\n \"amount\": \"{{fundsInPrepareAmount}}\",\n \"currency\": \"{{currency}}\"\n },\n \"extensionList\": {\n \"extension\": [\n {\n \"key\": \"string\",\n \"value\": \"string\"\n }\n ]\n }\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}/participants/testfsp4/accounts/{{testfsp4SettlementAccountId}}", "host": [ "{{HOST_CENTRAL_LEDGER}}" ], "path": [ "participants", "testfsp4", "accounts", "{{testfsp4SettlementAccountId}}" ] } }, "response": [] } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { "name": "setup noresponsepayeefsp ( for transfers -ve scenarios)", "item": [ { "name": "Add no_response_payeefsp", "event": [ { "listen": "test", "script": { "id": "9e301b75-8068-47e9-8248-d99fe928474c", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" }, { "key": "FSPIOP-Source", "value": "{{payerfsp}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\"name\": \"noresponsepayeefsp\",\"currency\": \"{{currency}}\"}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants" ] } }, "response": [] }, { "name": "Add initial position and limits", "event": [ { "listen": "test", "script": { "id": "d767079d-a9dd-401a-8d6a-5f94654c4259", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{HUB_OPERATOR_BEARER_TOKEN}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application/json", "type": "text" }, { "key": "FSPIOP-Source", "value": "{{hub_operator}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n\t\"currency\": \"{{currency}}\",\n\t\"limit\": {\n\t \"type\": \"NET_DEBIT_CAP\",\n\t \"value\": 1000000\n\t},\n\t\"initialPosition\": 0\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/noresponsepayeefsp/initialPositionAndLimits", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "noresponsepayeefsp", "initialPositionAndLimits" ] } }, "response": [] }, { "name": "noresponsepayeefsp callback - Transfer POST", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_POST\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/noresponsepayeefsp/transfers\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/noresponsepayeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "noresponsepayeefsp", "endpoints" ] } }, "response": [] }, { "name": "Add noresponsepayeefsp callback - TRANSFER PUT", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_PUT\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/noresponsepayeefsp/transfers/{{transferId}}\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/noresponsepayeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "noresponsepayeefsp", "endpoints" ] } }, "response": [] }, { "name": "noresponsepayeefsp callback - Tranfers Error", "event": [ { "listen": "test", "script": { "id": "bb928ca3-8904-4cff-94fa-9629ccf2418d", "exec": [ "pm.test(\"Status code is 201\", function () {", " pm.response.to.have.status(201);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "name": "Content-Type", "type": "text", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"type\": \"FSPIOP_CALLBACK_URL_TRANSFER_ERROR\",\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/noresponsepayeefsp/transfers/{{transferId}}/error\"\n}" }, "url": { "raw": "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}/participants/noresponsepayeefsp/endpoints", "host": [ "{{HOST_CENTRAL_LEDGER}}{{BASE_CENTRAL_LEDGER_ADMIN}}" ], "path": [ "participants", "noresponsepayeefsp", "endpoints" ] } }, "response": [] } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true } ], "event": [ { "listen": "prerequest", "script": { "id": "a29d64a2-7a89-4cc9-ac33-2a630283471d", "type": "text/javascript", "exec": [ "" ] } }, { "listen": "test", "script": { "id": "7bcf1b8c-ce85-4b11-ac83-899cc81ce501", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }, { "name": "Add Users to Simulators", "item": [ { "name": "payerfsp", "item": [], "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { "name": "payeefsp", "item": [ { "name": "Add User - 27713803912", "event": [ { "listen": "prerequest", "script": { "id": "e3f505ea-4c76-4c5c-944c-c9188b39b699", "exec": [ "pm.environment.set('fullName', 'Siabelo Maroka');", "pm.environment.set('firstName', 'Siabelo');", "pm.environment.set('lastName', 'Maroka');", "pm.environment.set('dob', '3/3/1973');", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"27713803912\",\n \"fspId\": \"{{payeefsp}}\"\n },\n \"name\": \"{{fullName}}\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\"\n },\n \"dateOfBirth\": \"{{dob}}\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/27713803912", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "27713803912" ] } }, "response": [] }, { "name": "Add User - 27713803913", "event": [ { "listen": "prerequest", "script": { "id": "362f872c-440c-430c-af85-133835179011", "exec": [ "pm.environment.set('fullName', 'Nanga Makwetla');", "pm.environment.set('firstName', 'Nanga');", "pm.environment.set('lastName', 'Makwetla');", "pm.environment.set('dob', '4/4/1974');", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"27713803932\",\n \"fspId\": \"{{payeefsp}}\"\n },\n \"name\": \"{{fullName}}\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\"\n },\n \"dateOfBirth\": \"{{dob}}\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/27713803913", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "27713803913" ] } }, "response": [] }, { "name": "Add User - 27713803914", "event": [ { "listen": "prerequest", "script": { "id": "e9062539-bdd2-407a-aa45-502d8dc0eee8", "exec": [ "pm.environment.set('fullName', 'Abimbola Alao');", "pm.environment.set('firstName', 'Abimbola');", "pm.environment.set('lastName', 'Alao');", "pm.environment.set('dob', '5/5/1975');", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"27713803914\",\n \"fspId\": \"{{payeefsp}}\"\n },\n \"name\": \"{{fullName}}\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\"\n },\n \"dateOfBirth\": \"{{dob}}\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/27713803914", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "27713803914" ] } }, "response": [] }, { "name": "Add User - 27713803915", "event": [ { "listen": "prerequest", "script": { "id": "1c077983-d436-4422-915c-2702111e9d73", "exec": [ "pm.environment.set('fullName', 'Adeola Baba');", "pm.environment.set('firstName', 'Adeola');", "pm.environment.set('lastName', 'Baba');", "pm.environment.set('dob', '6/6/1976');", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"27713803915\",\n \"fspId\": \"{{payeefsp}}\"\n },\n \"name\": \"{{fullName}}\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\"\n },\n \"dateOfBirth\": \"{{dob}}\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/27713803915", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "27713803915" ] } }, "response": [] }, { "name": "Add User - {{pathfinderMSISDN}}", "event": [ { "listen": "prerequest", "script": { "id": "13e04371-96cd-4c50-b27b-31652feed546", "exec": [ "pm.variables.set('fullName', 'SimFirst SimLast');", "pm.variables.set('firstName', 'SimFirst');", "pm.variables.set('lastName', 'SimLast');", "pm.variables.set('dob', '2010-10-10');", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"{{pathfinderMSISDN}}\",\n \"fspId\": \"{{payeefsp}}\"\n },\n \"name\": \"{{fullName}}\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\"\n },\n \"dateOfBirth\": \"{{dob}}\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/{{pathfinderMSISDN}}", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "{{pathfinderMSISDN}}" ] } }, "response": [] } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { "name": "testfsp1", "item": [ { "name": "Add User - 27713803912", "event": [ { "listen": "prerequest", "script": { "id": "e3f505ea-4c76-4c5c-944c-c9188b39b699", "exec": [ "pm.environment.set('fullName', 'Siabelo Maroka');", "pm.environment.set('firstName', 'Siabelo');", "pm.environment.set('lastName', 'Maroka');", "pm.environment.set('dob', '3/3/1973');", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"27713803912\",\n \"fspId\": \"{{testfsp1}}\"\n },\n \"name\": \"{{fullName}}\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\"\n },\n \"dateOfBirth\": \"{{dob}}\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/27713803912", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "27713803912" ] } }, "response": [] }, { "name": "Add User - 27713803913", "event": [ { "listen": "prerequest", "script": { "id": "362f872c-440c-430c-af85-133835179011", "exec": [ "pm.environment.set('fullName', 'Nanga Makwetla');", "pm.environment.set('firstName', 'Nanga');", "pm.environment.set('lastName', 'Makwetla');", "pm.environment.set('dob', '4/4/1974');", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"27713803932\",\n \"fspId\": \"{{testfsp1}}\"\n },\n \"name\": \"{{fullName}}\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\"\n },\n \"dateOfBirth\": \"{{dob}}\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/27713803913", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "27713803913" ] } }, "response": [] }, { "name": "Add User - 27713803914", "event": [ { "listen": "prerequest", "script": { "id": "e9062539-bdd2-407a-aa45-502d8dc0eee8", "exec": [ "pm.environment.set('fullName', 'Abimbola Alao');", "pm.environment.set('firstName', 'Abimbola');", "pm.environment.set('lastName', 'Alao');", "pm.environment.set('dob', '5/5/1975');", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"27713803914\",\n \"fspId\": \"{{testfsp1}}\"\n },\n \"name\": \"{{fullName}}\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\"\n },\n \"dateOfBirth\": \"{{dob}}\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/27713803914", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "27713803914" ] } }, "response": [] }, { "name": "Add User - 27713803915", "event": [ { "listen": "prerequest", "script": { "id": "1c077983-d436-4422-915c-2702111e9d73", "exec": [ "pm.environment.set('fullName', 'Adeola Baba');", "pm.environment.set('firstName', 'Adeola');", "pm.environment.set('lastName', 'Baba');", "pm.environment.set('dob', '6/6/1976');", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"27713803915\",\n \"fspId\": \"{{testfsp1}}\"\n },\n \"name\": \"{{fullName}}\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\"\n },\n \"dateOfBirth\": \"{{dob}}\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/27713803915", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "27713803915" ] } }, "response": [] }, { "name": "Add User - {{pathfinderMSISDN}} Copy", "event": [ { "listen": "prerequest", "script": { "id": "13e04371-96cd-4c50-b27b-31652feed546", "exec": [ "pm.variables.set('fullName', 'SimFirst SimLast');", "pm.variables.set('firstName', 'SimFirst');", "pm.variables.set('lastName', 'SimLast');", "pm.variables.set('dob', '2010-10-10');", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"{{pathfinderMSISDN}}\",\n \"fspId\": \"{{testfsp1}}\"\n },\n \"name\": \"{{fullName}}\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\"\n },\n \"dateOfBirth\": \"{{dob}}\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/{{pathfinderMSISDN}}", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "{{pathfinderMSISDN}}" ] } }, "response": [] } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { "name": "testfsp2", "item": [ { "name": "Add User - 27713803912", "event": [ { "listen": "prerequest", "script": { "id": "e3f505ea-4c76-4c5c-944c-c9188b39b699", "exec": [ "pm.environment.set('fullName', 'Siabelo Maroka');", "pm.environment.set('firstName', 'Siabelo');", "pm.environment.set('lastName', 'Maroka');", "pm.environment.set('dob', '3/3/1973');", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"27713803912\",\n \"fspId\": \"{{testfsp2}}\"\n },\n \"name\": \"{{fullName}}\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\"\n },\n \"dateOfBirth\": \"{{dob}}\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/27713803912", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "27713803912" ] } }, "response": [] }, { "name": "Add User - 27713803913", "event": [ { "listen": "prerequest", "script": { "id": "362f872c-440c-430c-af85-133835179011", "exec": [ "pm.environment.set('fullName', 'Nanga Makwetla');", "pm.environment.set('firstName', 'Nanga');", "pm.environment.set('lastName', 'Makwetla');", "pm.environment.set('dob', '4/4/1974');", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"27713803932\",\n \"fspId\": \"{{testfsp2}}\"\n },\n \"name\": \"{{fullName}}\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\"\n },\n \"dateOfBirth\": \"{{dob}}\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/27713803913", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "27713803913" ] } }, "response": [] }, { "name": "Add User - 27713803914", "event": [ { "listen": "prerequest", "script": { "id": "e9062539-bdd2-407a-aa45-502d8dc0eee8", "exec": [ "pm.environment.set('fullName', 'Abimbola Alao');", "pm.environment.set('firstName', 'Abimbola');", "pm.environment.set('lastName', 'Alao');", "pm.environment.set('dob', '5/5/1975');", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"27713803914\",\n \"fspId\": \"{{testfsp2}}\"\n },\n \"name\": \"{{fullName}}\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\"\n },\n \"dateOfBirth\": \"{{dob}}\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/27713803914", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "27713803914" ] } }, "response": [] }, { "name": "Add User - 27713803915", "event": [ { "listen": "prerequest", "script": { "id": "1c077983-d436-4422-915c-2702111e9d73", "exec": [ "pm.environment.set('fullName', 'Adeola Baba');", "pm.environment.set('firstName', 'Adeola');", "pm.environment.set('lastName', 'Baba');", "pm.environment.set('dob', '6/6/1976');", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"27713803915\",\n \"fspId\": \"{{testfsp2}}\"\n },\n \"name\": \"{{fullName}}\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\"\n },\n \"dateOfBirth\": \"{{dob}}\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/27713803915", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "27713803915" ] } }, "response": [] }, { "name": "Add User - {{pathfinderMSISDN}} Copy", "event": [ { "listen": "prerequest", "script": { "id": "13e04371-96cd-4c50-b27b-31652feed546", "exec": [ "pm.variables.set('fullName', 'SimFirst SimLast');", "pm.variables.set('firstName', 'SimFirst');", "pm.variables.set('lastName', 'SimLast');", "pm.variables.set('dob', '2010-10-10');", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"{{pathfinderMSISDN}}\",\n \"fspId\": \"{{testfsp2}}\"\n },\n \"name\": \"{{fullName}}\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"{{firstName}}\",\n \"lastName\": \"{{lastName}}\"\n },\n \"dateOfBirth\": \"{{dob}}\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/{{pathfinderMSISDN}}", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "{{pathfinderMSISDN}}" ] } }, "response": [] } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true } ], "protocolProfileBehavior": {} }, { "name": "Oracle Onboarding", "item": [ { "name": "Register Simulator Oracle for MSISDN", "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/vnd.interoperability.participants+json;version=1" }, { "key": "Cache-Control", "value": "no-cache" }, { "key": "Content-Type", "value": "application/vnd.interoperability.participants+json;version=1.0" }, { "key": "Date", "value": "" }, { "key": "Postman-Token", "value": "003d55c1-2ebc-4e25-b9da-26bf053a8a5c" }, { "key": "cache-control", "value": "no-cache" } ], "body": { "mode": "raw", "raw": "{\n \"oracleIdType\": \"MSISDN\",\n \"endpoint\": {\n \"value\": \"{{HOST_SIMULATOR_K8S_CLUSTER}}/oracle\",\n \"endpointType\": \"URL\"\n },\n \"currency\": \"USD\",\n \"isDefault\": true\n}" }, "url": { "raw": "{{HOST_ACCOUNT_LOOKUP_ADMIN}}/oracles", "host": [ "{{HOST_ACCOUNT_LOOKUP_ADMIN}}" ], "path": [ "oracles" ] } }, "response": [] }, { "name": "Register Participant 27720201001 against MSISDN Simulator for PayerFSP", "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/vnd.interoperability.participants+json;version=1" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Content-Type", "value": "application/vnd.interoperability.participants+json;version=1.0" }, { "key": "Date", "value": "{{transferDate}}" }, { "key": "FSPIOP-Source", "value": "payerfsp" }, { "key": "Postman-Token", "value": "7aa4c9f3-1738-49f0-8904-7821e2336692,4127ff87-7d17-483c-8e3e-f0b562a16d84" }, { "key": "User-Agent", "value": "PostmanRuntime/7.11.0" }, { "key": "accept-encoding", "value": "gzip, deflate" }, { "key": "cache-control", "value": "no-cache" } ], "body": { "mode": "raw", "raw": "{\n \"fspId\": \"payerfsp\",\n \"currency\": \"USD\"\n}" }, "url": { "raw": "{{HOST_ACCOUNT_LOOKUP_SERVICE}}/participants/MSISDN/27720201001", "host": [ "{{HOST_ACCOUNT_LOOKUP_SERVICE}}" ], "path": [ "participants", "MSISDN", "27720201001" ] } }, "response": [] }, { "name": "Register Participant 27720201002 against MSISDN Simulator for PayeeFSP", "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/vnd.interoperability.participants+json;version=1" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Content-Type", "value": "application/vnd.interoperability.participants+json;version=1.0" }, { "key": "Date", "value": "{{transferDate}}" }, { "key": "FSPIOP-Source", "value": "payeefsp" }, { "key": "Postman-Token", "value": "7aa4c9f3-1738-49f0-8904-7821e2336692,4127ff87-7d17-483c-8e3e-f0b562a16d84" }, { "key": "User-Agent", "value": "PostmanRuntime/7.11.0" }, { "key": "accept-encoding", "value": "gzip, deflate" }, { "key": "cache-control", "value": "no-cache" } ], "body": { "mode": "raw", "raw": "{\n \"fspId\": \"payeefsp\",\n \"currency\": \"USD\"\n}" }, "url": { "raw": "{{HOST_ACCOUNT_LOOKUP_SERVICE}}/participants/MSISDN/27720201002", "host": [ "{{HOST_ACCOUNT_LOOKUP_SERVICE}}" ], "path": [ "participants", "MSISDN", "27720201002" ] } }, "response": [] }, { "name": "Register Participant {{pathfinderMSISDN}} against MSISDN Simulator for PayeeFSP", "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/vnd.interoperability.participants+json;version=1" }, { "key": "Connection", "value": "keep-alive" }, { "key": "Content-Type", "value": "application/vnd.interoperability.participants+json;version=1.0" }, { "key": "Date", "value": "{{transferDate}}" }, { "key": "FSPIOP-Source", "value": "payeefsp" }, { "key": "Postman-Token", "value": "7aa4c9f3-1738-49f0-8904-7821e2336692,4127ff87-7d17-483c-8e3e-f0b562a16d84" }, { "key": "User-Agent", "value": "PostmanRuntime/7.11.0" }, { "key": "accept-encoding", "value": "gzip, deflate" }, { "key": "cache-control", "value": "no-cache" } ], "body": { "mode": "raw", "raw": "{\n \"fspId\": \"payeefsp\",\n \"currency\": \"USD\"\n}" }, "url": { "raw": "{{HOST_ACCOUNT_LOOKUP_SERVICE}}/participants/MSISDN/{{pathfinderMSISDN}}", "host": [ "{{HOST_ACCOUNT_LOOKUP_SERVICE}}" ], "path": [ "participants", "MSISDN", "{{pathfinderMSISDN}}" ] } }, "response": [] }, { "name": "Create Party record for MSISDN 27720201002 on simulator for PayeeFSP", "request": { "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\n \"party\": {\n \"partyIdInfo\": {\n \"partyIdType\": \"MSISDN\",\n \"partyIdentifier\": \"27720201002\",\n \"fspId\": \"payeefsp\"\n },\n \"name\": \"SiabeloMaroka\",\n \"personalInfo\": {\n \"complexName\": {\n \"firstName\": \"Aruna\",\n \"lastName\": \"Switch\"\n },\n \"dateOfBirth\": \"1/7/1980\"\n }\n }\n}" }, "url": { "raw": "{{HOST_SIMULATOR}}/payeefsp/parties/MSISDN/27720201002", "host": [ "{{HOST_SIMULATOR}}" ], "path": [ "payeefsp", "parties", "MSISDN", "27720201002" ] } }, "response": [] } ], "protocolProfileBehavior": {} }, { "name": "Add Users to ALS / mock-pathfinder", "item": [ { "name": "Add 27713803910 to payerfsp", "event": [ { "listen": "prerequest", "script": { "id": "6dc73d30-cd0b-495f-ab1f-0d0679a43f2f", "exec": [ "if (!pm.environment.get('participant')) {", " pm.environment.set('participant', 'testfsp'); ", "}", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "9a37f448-b328-4f61-a481-f5502c463a69", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.be.success;", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/vnd.interoperability.participants+json;version=1", "type": "text" }, { "key": "Content-Type", "value": "application/vnd.interoperability.participants+json;version=1.0" }, { "key": "Date", "value": "{{transferDate}}" }, { "key": "FSPIOP-Source", "value": "{{payerfsp}}" } ], "body": { "mode": "raw", "raw": "{\n \"fspId\": \"{{payerfsp}}\",\n \"currency\": \"USD\"\n}\n" }, "url": { "raw": "{{HOST_ACCOUNT_LOOKUP_SERVICE}}/participants/MSISDN/27713803910", "host": [ "{{HOST_ACCOUNT_LOOKUP_SERVICE}}" ], "path": [ "participants", "MSISDN", "27713803910" ] }, "description": "Set the Proxy URIs for a specific FSP. This will allow the switch to re-direct the incoming Quote requests to the respective FSP.\n\n*Note: connectorPort has been deprecated and is no longer used, but still required in the request." }, "response": [] }, { "name": "Add 27713803911 to payerfsp", "event": [ { "listen": "prerequest", "script": { "id": "6dc73d30-cd0b-495f-ab1f-0d0679a43f2f", "exec": [ "if (!pm.environment.get('participant')) {", " pm.environment.set('participant', 'testfsp'); ", "}", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "9a37f448-b328-4f61-a481-f5502c463a69", "exec": [ "pm.test(\"Status code is 202 or 200\", function () {", " pm.response.to.be.success;", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/vnd.interoperability.participants+json;version=1", "type": "text" }, { "key": "Content-Type", "value": "application/vnd.interoperability.participants+json;version=1.0" }, { "key": "Date", "value": "{{transferDate}}" }, { "key": "FSPIOP-Source", "value": "{{payerfsp}}" } ], "body": { "mode": "raw", "raw": "{\n \"fspId\": \"{{payerfsp}}\",\n \"currency\": \"USD\"\n}\n" }, "url": { "raw": "{{HOST_ACCOUNT_LOOKUP_SERVICE}}/participants/MSISDN/27713803911", "host": [ "{{HOST_ACCOUNT_LOOKUP_SERVICE}}" ], "path": [ "participants", "MSISDN", "27713803911" ] }, "description": "Set the Proxy URIs for a specific FSP. This will allow the switch to re-direct the incoming Quote requests to the respective FSP.\n\n*Note: connectorPort has been deprecated and is no longer used, but still required in the request." }, "response": [] }, { "name": "Add 27713803912 to payeefsp", "event": [ { "listen": "prerequest", "script": { "id": "6dc73d30-cd0b-495f-ab1f-0d0679a43f2f", "exec": [ "if (!pm.environment.get('participant')) {", " pm.environment.set('participant', 'testfsp'); ", "}", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "9a37f448-b328-4f61-a481-f5502c463a69", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.be.success;", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/vnd.interoperability.participants+json;version=1", "type": "text" }, { "key": "Content-Type", "value": "application/vnd.interoperability.participants+json;version=1.0" }, { "key": "Date", "value": "{{transferDate}}" }, { "key": "FSPIOP-Source", "value": "{{payeefsp}}" } ], "body": { "mode": "raw", "raw": "{\n \"fspId\": \"{{payeefsp}}\",\n \"currency\": \"USD\"\n}\n" }, "url": { "raw": "{{HOST_ACCOUNT_LOOKUP_SERVICE}}/participants/MSISDN/27713803912", "host": [ "{{HOST_ACCOUNT_LOOKUP_SERVICE}}" ], "path": [ "participants", "MSISDN", "27713803912" ] }, "description": "Set the Proxy URIs for a specific FSP. This will allow the switch to re-direct the incoming Quote requests to the respective FSP.\n\n*Note: connectorPort has been deprecated and is no longer used, but still required in the request." }, "response": [] }, { "name": "Add {{pathfinderMSISDN}} to payeefsp", "event": [ { "listen": "prerequest", "script": { "id": "6dc73d30-cd0b-495f-ab1f-0d0679a43f2f", "exec": [ "if (!pm.environment.get('participant')) {", " pm.environment.set('participant', 'testfsp'); ", "}", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "9a37f448-b328-4f61-a481-f5502c463a69", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.be.success;", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/vnd.interoperability.participants+json;version=1", "type": "text" }, { "key": "Content-Type", "value": "application/vnd.interoperability.participants+json;version=1.0" }, { "key": "Date", "value": "{{transferDate}}" }, { "key": "FSPIOP-Source", "value": "{{payeefsp}}" } ], "body": { "mode": "raw", "raw": "{\n \"fspId\": \"{{payeefsp}}\",\n \"currency\": \"USD\"\n}\n" }, "url": { "raw": "{{HOST_ACCOUNT_LOOKUP_SERVICE}}/participants/MSISDN/{{pathfinderMSISDN}}", "host": [ "{{HOST_ACCOUNT_LOOKUP_SERVICE}}" ], "path": [ "participants", "MSISDN", "{{pathfinderMSISDN}}" ] }, "description": "Set the Proxy URIs for a specific FSP. This will allow the switch to re-direct the incoming Quote requests to the respective FSP.\n\n*Note: connectorPort has been deprecated and is no longer used, but still required in the request." }, "response": [] }, { "name": "Add 27713803913 to payeefsp", "event": [ { "listen": "prerequest", "script": { "id": "6dc73d30-cd0b-495f-ab1f-0d0679a43f2f", "exec": [ "if (!pm.environment.get('participant')) {", " pm.environment.set('participant', 'testfsp'); ", "}", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "9a37f448-b328-4f61-a481-f5502c463a69", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.be.success;", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/vnd.interoperability.participants+json;version=1", "type": "text" }, { "key": "Content-Type", "value": "application/vnd.interoperability.participants+json;version=1.0" }, { "key": "Date", "value": "{{transferDate}}" }, { "key": "FSPIOP-Source", "value": "{{payeefsp}}" } ], "body": { "mode": "raw", "raw": "{\n \"fspId\": \"{{payeefsp}}\",\n \"currency\": \"USD\"\n}\n" }, "url": { "raw": "{{HOST_ACCOUNT_LOOKUP_SERVICE}}/participants/MSISDN/27713803913", "host": [ "{{HOST_ACCOUNT_LOOKUP_SERVICE}}" ], "path": [ "participants", "MSISDN", "27713803913" ] }, "description": "Set the Proxy URIs for a specific FSP. This will allow the switch to re-direct the incoming Quote requests to the respective FSP.\n\n*Note: connectorPort has been deprecated and is no longer used, but still required in the request." }, "response": [] }, { "name": "Add 27713803914 to payeefsp", "event": [ { "listen": "prerequest", "script": { "id": "6dc73d30-cd0b-495f-ab1f-0d0679a43f2f", "exec": [ "if (!pm.environment.get('participant')) {", " pm.environment.set('participant', 'testfsp'); ", "}", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "9a37f448-b328-4f61-a481-f5502c463a69", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.be.success;", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/vnd.interoperability.participants+json;version=1", "type": "text" }, { "key": "Content-Type", "value": "application/vnd.interoperability.participants+json;version=1.0" }, { "key": "Date", "value": "{{transferDate}}" }, { "key": "FSPIOP-Source", "value": "{{payeefsp}}" } ], "body": { "mode": "raw", "raw": "{\n \"fspId\": \"{{payeefsp}}\",\n \"currency\": \"USD\"\n}\n" }, "url": { "raw": "{{HOST_ACCOUNT_LOOKUP_SERVICE}}/participants/MSISDN/27713803914", "host": [ "{{HOST_ACCOUNT_LOOKUP_SERVICE}}" ], "path": [ "participants", "MSISDN", "27713803914" ] }, "description": "Set the Proxy URIs for a specific FSP. This will allow the switch to re-direct the incoming Quote requests to the respective FSP.\n\n*Note: connectorPort has been deprecated and is no longer used, but still required in the request." }, "response": [] }, { "name": "Add 27713803915 to payeefsp", "event": [ { "listen": "prerequest", "script": { "id": "6dc73d30-cd0b-495f-ab1f-0d0679a43f2f", "exec": [ "if (!pm.environment.get('participant')) {", " pm.environment.set('participant', 'testfsp'); ", "}", "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "9a37f448-b328-4f61-a481-f5502c463a69", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.be.success;", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/vnd.interoperability.participants+json;version=1", "type": "text" }, { "key": "Content-Type", "value": "application/vnd.interoperability.participants+json;version=1.0" }, { "key": "Date", "value": "{{transferDate}}" }, { "key": "FSPIOP-Source", "value": "{{payeefsp}}" } ], "body": { "mode": "raw", "raw": "{\n \"fspId\": \"{{payeefsp}}\",\n \"currency\": \"USD\"\n}\n" }, "url": { "raw": "{{HOST_ACCOUNT_LOOKUP_SERVICE}}/participants/MSISDN/27713803915", "host": [ "{{HOST_ACCOUNT_LOOKUP_SERVICE}}" ], "path": [ "participants", "MSISDN", "27713803915" ] }, "description": "Set the Proxy URIs for a specific FSP. This will allow the switch to re-direct the incoming Quote requests to the respective FSP.\n\n*Note: connectorPort has been deprecated and is no longer used, but still required in the request." }, "response": [] } ], "protocolProfileBehavior": {} }, { "name": "Add SubId Users to ALS", "item": [ { "name": "payerfsp", "item": [ { "name": "Add SubId User - 27713803920 - 100", "event": [ { "listen": "prerequest", "script": { "id": "e3f505ea-4c76-4c5c-944c-c9188b39b699", "exec": [ "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/vnd.interoperability.participants+json;version=1.0" }, { "key": "Accept", "value": "application/vnd.interoperability.participants+json;version=1", "type": "text" }, { "key": "Date", "value": "{{transferDate}}", "type": "text" }, { "key": "FSPIOP-Source", "value": "{{payerfsp}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"fspId\": \"{{payerfsp}}\",\n \"currency\": \"USD\"\n}\n" }, "url": { "raw": "{{HOST_ACCOUNT_LOOKUP_SERVICE}}/participants/MSISDN/27713803920/100", "host": [ "{{HOST_ACCOUNT_LOOKUP_SERVICE}}" ], "path": [ "participants", "MSISDN", "27713803920", "100" ] } }, "response": [] } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true }, { "name": "payeefsp", "item": [ { "name": "Add SubId User - 27713803921 - 200", "event": [ { "listen": "prerequest", "script": { "id": "e3f505ea-4c76-4c5c-944c-c9188b39b699", "exec": [ "" ], "type": "text/javascript" } }, { "listen": "test", "script": { "id": "a34ed0a6-ec7f-4147-8103-ec17cefcb9e7", "exec": [ "pm.test(\"Status code is 202\", function () {", " pm.response.to.have.status(202);", "});" ], "type": "text/javascript" } } ], "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/vnd.interoperability.participants+json;version=1.0" }, { "key": "Accept", "value": "application/vnd.interoperability.participants+json;version=1", "type": "text" }, { "key": "Date", "value": "{{transferDate}}", "type": "text" }, { "key": "FSPIOP-Source", "value": "{{payeefsp}}", "type": "text" } ], "body": { "mode": "raw", "raw": "{\n \"fspId\": \"{{payeefsp}}\",\n \"currency\": \"USD\"\n}\n" }, "url": { "raw": "{{HOST_ACCOUNT_LOOKUP_SERVICE}}/participants/MSISDN/27713803921/200", "host": [ "{{HOST_ACCOUNT_LOOKUP_SERVICE}}" ], "path": [ "participants", "MSISDN", "27713803921", "200" ] } }, "response": [] } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true } ], "protocolProfileBehavior": {} } ], "event": [ { "listen": "prerequest", "script": { "id": "402cb439-04ee-4add-9a65-f4b3f9dafa58", "type": "text/javascript", "exec": [ "", "// Ensure that the following variables are not set in the environment", "// This is a fix for the following issue: https://github.com/mojaloop/project/issues/903", "// This will ensure that templates are not replaced in the endpoint configs:", "pm.environment.unset('partyIdType')", "pm.environment.unset('partyIdentifier')", "pm.environment.unset('requestId')", "pm.environment.unset('transferId')", "", "pm.globals.unset('partyIdType')", "pm.globals.unset('partyIdentifier')", "pm.globals.unset('requestId')", "pm.globals.unset('transferId')" ] } }, { "listen": "test", "script": { "id": "e73fb24a-c94a-4551-ac31-fb7ceb250579", "type": "text/javascript", "exec": [ "" ] } } ], "protocolProfileBehavior": {} }