{"info":{"_postman_id":"b94b5c4d-26e3-4c57-a856-83418c4248bc","name":"Flow","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"46034355","collectionId":"b94b5c4d-26e3-4c57-a856-83418c4248bc","publishedId":"2sB3HrmHoN","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-09-18T11:21:33.000Z"},"item":[{"name":"Auth","id":"83d2e535-c43e-45e7-ad51-e6c6aae8e3c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n  \"client_id\": {{clientID}},  \n  \"client_secret\": {{clientSecret}},  \n  \"grant_type\": \"client_credentials\",  \n  \"audience\": \"https://api.eu1.notabene.id\"  \n}","options":{"raw":{"language":"json"}}},"url":"https://auth.notabene.id/oauth/token","urlObject":{"protocol":"https","path":["oauth","token"],"host":["auth","notabene","id"],"query":[],"variable":[]}},"response":[],"_postman_id":"83d2e535-c43e-45e7-ad51-e6c6aae8e3c4"},{"name":"Create Customer","id":"956cfc07-09de-4f16-a6e2-dcb029bff083","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"customerDid\": \"did:web:merchant.example.com\",  \n    \"customerType\": \"natural_person\",  \n    \"profileData\": {  \n        \"naturalPerson\": {  \n            \"name\": {  \n                \"nameIdentifier\": [  \n                    {  \n                        \"primaryIdentifier\": \"John Doe\",  \n                        \"naturalPersonNameIdentifierType\": \"LEGL\"  \n                    }  \n                ]  \n            },  \n            \"dateAndPlaceOfBirth\": {  \n                \"dateOfBirth\": \"1990-01-01\",  \n                \"placeOfBirth\": \"Boston\"  \n            },  \n            \"geographicAddress\": [  \n                {  \n                    \"addressType\": \"RESIDENTIAL\",  \n                    \"streetName\": \"123 Main Street\",  \n                    \"townName\": \"New York\",  \n                    \"country\": \"US\" \n                }  \n            ],  \n            \"nationalIdentification\": {  \n                \"nationalIdentifier\": \"XXX-XX-1234\",  \n                \"nationalIdentifierType\": \"SSN\",  \n                \"countryOfIssue\": \"US\"  \n            },  \n            \"countryOfResidence\": \"US\"  \n        }  \n    },  \n    \"verificationStatus\": \"pending\",  \n    \"verificationLevel\": \"basic\"  \n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/entity/:entityDID/flow/customers","urlObject":{"path":["entity",":entityDID","flow","customers"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"did:web:notabeneid-63083.sandbox.notabene.id:tj","key":"entityDID"}]}},"response":[],"_postman_id":"956cfc07-09de-4f16-a6e2-dcb029bff083"},{"name":"Update customer","id":"86bd05dd-b57b-45e6-9b93-356176d9c461","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{ \"verificationStatus\": \"verified\", \n\"verificationLevel\": \"basic\" }","options":{"raw":{"language":"json"}}},"url":"{{url}}/entity/:entityDID/flow/customers","urlObject":{"path":["entity",":entityDID","flow","customers"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"","key":"entityDID"}]}},"response":[],"_postman_id":"86bd05dd-b57b-45e6-9b93-356176d9c461"},{"name":"Create Payin","event":[{"listen":"test","script":{"id":"0a8c7b39-fe57-4b70-b55b-b7ed87cfd86e","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"8cd93d24-5242-44e1-957a-e5f907339134","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"ref\": \"payin-281\",\n    // \"asset\": \"bip122:000000000019d6689c085ae165831e93/slip44:0\",\n    \"amount\": \"1000.00\",\n    \"supportedAssets\": [\n         \"eip155:1/erc20:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n        \"eip155:137/erc20:0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174\"\n    ],\n    \"fallbackSettlementAddresses\": [\n        \"eip155:1:0x742d35Cc6634C0532925a3b844Bc454e4438f44e\", // Primary Ethereum address\n        \"eip155:137:0x742d35Cc6634C0532925a3b844Bc454e4438f44e\" // Polygon address\n    ],\n    \"merchant\": {\n        \"@id\": \"did:web:merchant.example.com\"\n    },\n    \"customer\": {\n        \"@id\": \"did:email:somecustomer@customer.com\",\n        \"name\": \"Test Customer\",\n        \"email\": \"customer@example.com\"\n    },\n    \"memo\": \"Payment for order #12345\",\n    \"currency\": \"USD\",\n        \"invoice\": {\n        \"id\": \"INV-2025-001\",\n        \"currencyCode\": \"USD\",\n        \"dueDate\": \"2025-07-15T00:00:00Z\",\n        \"issueDate\": \"2025-07-15T00:00:00Z\",\n        \"lineItems\": [\n            {\n                \"description\": \"Professional Services\",\n                \"quantity\": 1,\n                \"unitPrice\": 1000.00,\n                \"lineTotal\": 1000.00\n            }\n        ],\n        \"total\": 1000.00\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/entity/:entityDID/flow/payins","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"path":["entity",":entityDID","flow","payins"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"did:web:notabeneid-63083.sandbox.notabene.id:tj","key":"entityDID"}]}},"response":[],"_postman_id":"8cd93d24-5242-44e1-957a-e5f907339134"},{"name":"Payin","event":[{"listen":"test","script":{"id":"6f58a535-e60c-4668-b126-81f9a76a9203","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript","packages":{}}}],"id":"4e664c37-6378-431f-bf3c-3cbd9e2f20ef","request":{"method":"GET","header":[],"url":"{{url}}/entity/:entityDID/flow/payins/:payinId","description":"<p>This is a GET request and it is used to \"get\" data from an endpoint. There is no request body for a GET request, but you can use query parameters to help specify the resource you want data on (e.g., in this request, we have <code>id=1</code>).</p>\n<p>A successful GET response will have a <code>200 OK</code> status, and should include some kind of response body - for example, HTML web content or JSON data.</p>\n","urlObject":{"path":["entity",":entityDID","flow","payins",":payinId"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"","key":"entityDID"},{"type":"any","value":"","key":"payinId"}]}},"response":[],"_postman_id":"4e664c37-6378-431f-bf3c-3cbd9e2f20ef"},{"name":"Settlement Assets","event":[{"listen":"test","script":{"id":"a994d7ff-be42-4287-8855-b4f460826ea9","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"385e76fd-0de6-449b-b4a8-142314d77802","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"asset\": \"eip155:1/erc20:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n    \"settlementAddress\": \"eip155:1:0x742d35Cc6634C0532925a3b844Bc454e4438f44e\" // one of provided fallbackSettlementAddress\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/entity/:entityDID/flow/payins/:payinID/settlement_assets","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"path":["entity",":entityDID","flow","payins",":payinID","settlement_assets"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"did:web:notabeneid-63083.sandbox.notabene.id:tj","key":"entityDID"},{"type":"any","value":"e5200d58-0032-43e6-a736-dd53f7031025","key":"payinID"}]}},"response":[],"_postman_id":"385e76fd-0de6-449b-b4a8-142314d77802"},{"name":"Settlement Address","event":[{"listen":"test","script":{"id":"36691302-ea35-42cd-b0bd-69eaa5a904cc","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"5ce5d2de-b0e4-4c69-8b3f-df2c2097309a","request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"asset\": \"eip155:1/erc20:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\n    \"settlementAddress\": \"eip155:1:0x742d35Cc6634C0532925a3b844Bc454e4438f44e\" // one of provided fallbackSettlementAddress\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/entity/:entityDID/flow/payins/:payinID/settlement_address","description":"<p>This is a POST request, submitting data to an API via the request body. This request submits JSON data, and the data is reflected in the response.</p>\n<p>A successful POST request typically returns a <code>200 OK</code> or <code>201 Created</code> response code.</p>\n","urlObject":{"path":["entity",":entityDID","flow","payins",":payinID","settlement_address"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"did:web:notabeneid-63083.sandbox.notabene.id:tj","key":"entityDID"},{"type":"any","value":"e5200d58-0032-43e6-a736-dd53f7031025","key":"payinID"}]}},"response":[],"_postman_id":"5ce5d2de-b0e4-4c69-8b3f-df2c2097309a"},{"name":"Settle Transaction","id":"64caba41-866d-4d5f-833a-b8c4f5f3385c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"settlementId\": \"eip155:1:tx/0x3edb98c24d46d148eb926c714f4fbaa117c47b0c0821f38bfce9763604457c33\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/entity/:entityDID/tx/:tx/settle","urlObject":{"path":["entity",":entityDID","tx",":tx","settle"],"host":["{{url}}"],"query":[],"variable":[{"type":"any","value":"","key":"entityDID"},{"type":"any","value":"","key":"tx"}]}},"response":[],"_postman_id":"64caba41-866d-4d5f-833a-b8c4f5f3385c"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"variable":[{"id":"530bbdd9-38d3-441e-92dc-61f171c18dc2","key":"id","value":"1"},{"id":"57b5ecc1-1ffd-4eb5-a9a4-fa78c5251c5d","key":"base_url","value":"https://template.postman-echo.com"}]}