diff --git a/api-test/Spontaneous Payments - Local.postman_environment.json b/api-test/Spontaneous Payments - Local.postman_environment.json deleted file mode 100644 index 1cd50b7..0000000 --- a/api-test/Spontaneous Payments - Local.postman_environment.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "id": "c8b8df76-7732-46e9-b3fa-a5dd420b7a87", - "name": "Spontaneous Payments - Local", - "values": [ - { - "key": "spontaneous-payments-host", - "value": "localhost:8080", - "type": "default", - "enabled": true - } - ], - "_postman_variable_scope": "environment", - "_postman_exported_at": "2022-06-09T10:26:50.238Z", - "_postman_exported_using": "Postman/9.19.3" -} \ No newline at end of file diff --git a/api-test/Spontaneous Payments.postman_collection.json b/api-test/Spontaneous Payments.postman_collection.json deleted file mode 100644 index ab18ac6..0000000 --- a/api-test/Spontaneous Payments.postman_collection.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "info": { - "_postman_id": "73cd7230-0252-45b1-b3fb-de2dd0978128", - "name": "Spontaneous Payments", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "205220" - }, - "item": [ - { - "name": "createSpontaneousPayment", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"createSpontaneousPayment\", function () {", - " pm.response.to.have.status(201);", - "});" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "pm.globals.set(\"organizationfiscalcode\", '01234567890');" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\n \"debtor\": {\n \"type\": \"F\",\n \"fiscalCode\": \"string\",\n \"fullName\": \"string\",\n \"streetName\": \"string\",\n \"civicNumber\": \"string\",\n \"postalCode\": \"string\",\n \"city\": \"string\",\n \"province\": \"string\",\n \"region\": \"string\",\n \"country\": \"string\",\n \"email\": \"string\",\n \"phone\": \"string\"\n },\n \"service\": {\n \"id\": \"string\",\n \"properties\": [\n {\n \"name\": \"string\",\n \"value\": \"string\"\n }\n ]\n }\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{spontaneous-payments-host}}/organizations/{{organizationfiscalcode}}/spontaneouspayments", - "host": [ - "{{spontaneous-payments-host}}" - ], - "path": [ - "organizations", - "{{organizationfiscalcode}}", - "spontaneouspayment" - ] - } - }, - "response": [] - } - ] -}