{"info":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","description":"<html><head></head><body><p>This collection allow you to use the WeCashUp API. With that you can do almost anything you would do on the web site or the app</p>\n<h2 id=\"why-would-you-use-this-api-\">Why would you use this API ?</h2>\n<p>You would use this API if you are a developer and that you want to implement your own logic, your own design instead of using the payment box or by passing by one of our app</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4255670","collectionId":"8ab9eb80-ee77-459a-a151-79102eae3a03","publishedId":"UVJZmxGN","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-11-24T05:35:09.000Z"},"item":[{"name":"0. Auth Tokens","item":[{"name":"Generate a new auth token","event":[{"listen":"test","script":{"id":"da93b3ab-8878-4aa0-b1a2-7720666a4533","exec":["pm.test(\"get auth tokens\", () => {\r","    const responseJson = pm.response.json();\r","    if (pm.response.code === 201) {\r","        pm.environment.set(\"token\", responseJson.token);\r","        pm.environment.set(\"refreshToken\", responseJson.refreshToken);\r","    }\r","});"],"type":"text/javascript"}}],"id":"dd8b7467-94e5-47c4-ad1b-21986866d8bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/token","description":"<p>This endpoint allow you to generate new auth token to access our services after yours have expired.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["users","token"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"034d921f-58b2-416a-828e-679d0dd0a666","name":"Generate a new auth token","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"refresh_token\": \"refresh_token_generated_by_firebase_auth\"\r\n}","options":{"raw":{"language":"json"}}},"url":"test/users/token"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"token\": \"new_auth_token_generated_by_firebase_auth\",\r\n    \"refresh_token\": \"refresh_token_generated_by_firebase_auth\"\r\n}"}],"_postman_id":"dd8b7467-94e5-47c4-ad1b-21986866d8bc"}],"id":"b35fbb22-afdf-4527-90c1-eef19d50ba3e","description":"<p>Thos workflows allow you to interect with auth tokens</p>\n","_postman_id":"b35fbb22-afdf-4527-90c1-eef19d50ba3e","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}}},{"name":"1. Users","item":[{"name":"Create a new user","event":[{"listen":"test","script":{"id":"ec3802c3-93b9-48af-bb78-f58baa3fa77e","exec":[""],"type":"text/javascript"}}],"id":"dcd3cb23-b815-4e77-8461-a4bb046daf1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"bob@gmail.com\",\r\n    \"password\": \"test123?/\",\r\n    \"first_name\": \"Bob\",\r\n    \"last_name\": \"Du jardin\",\r\n    \"gender\": \"MALE\",\r\n    \"birthdate\": \"01-19-2000\",\r\n    \"phone_numbers\": [\r\n        \"+33600000000\"\r\n    ],\r\n    \"country_code_iso2\": \"FR\",\r\n    \"addresses\": [\r\n        {\r\n            \"type\": \"HOME\",\r\n            \"number\": \"45\",\r\n            \"street_name\": \"Rue Emile Zola\",\r\n            \"city\": \"paris\",\r\n            \"region_or_state\": \"Ile de France\",\r\n            \"country_code_iso2\": \"FR\",\r\n            \"is_primary\": true\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users","description":"<p>This endpoint allow you to create a new account.</p>\n<p>When you create a new user you have to specified a primary address.</p>\n","urlObject":{"path":["users"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"fb63a763-5e19-458a-9b2d-4d8b45b02616","name":"Create a new user","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test@test.com\",\r\n    \"password\": \"test123?/\",\r\n    \"first_name\": \"Bob\",\r\n    \"last_name\": \"Du jardin\",\r\n    \"gender\": \"MALE\",\r\n    \"birthdate\": \"01-19-2000\",\r\n    \"phone_numbers\": [\r\n        \"+33600000000\"\r\n    ],\r\n    \"country_code_iso2\": \"FR\",\r\n    \"addresses\": [\r\n        {\r\n            \"type\": \"HOME\",\r\n            \"number\": \"45\",\r\n            \"street_name\": \"Rue Emile Zola\",\r\n            \"city\": \"paris\",\r\n            \"region_or_state\": \"Ile de France\",\r\n            \"country_code_iso2\": \"FR\",\r\n            \"is_primary\": true\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"uid\": \"user_uid_generated_by_firebase_auth\",\r\n    \"email\": \"test@test.com\",\r\n    \"first_name\": \"Bob\",\r\n    \"last_name\": \"Du jardin\",\r\n    \"gender\": \"MALE\",\r\n    \"birthdate\": {\r\n        \"month\": 1,\r\n        \"year\": 2000,\r\n        \"day\": 19\r\n    },\r\n    \"phone_numbers\": [\r\n        \"+33600000000\"\r\n    ],\r\n    \"country_code_iso2\": \"FR\",\r\n    \"registration_step\": \"COMPLETED\",\r\n    \"creation\": 1648408277573,\r\n    \"is_active\": true\r\n}"}],"_postman_id":"dcd3cb23-b815-4e77-8461-a4bb046daf1e"},{"name":"Update a user","id":"12f6c7f3-42c9-4794-b359-ba3bf27a2b5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/me","description":"<p>This endpoint allow you to update you information's account or to add new informations.</p>\n<p>Here is the list of what informations you can add or update :</p>\n<ul>\n<li>country_code_iso2</li>\n<li>first_name</li>\n<li>last_name</li>\n</ul>\n","urlObject":{"path":["users","me"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"5bc04e20-61ec-4e79-b90a-10537418daf2","name":"Update a user","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"country_code_iso2\": \"JP\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.tech/users/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"user_uid_generated_by_firebase_auth\",\n    \"email\": \"test@test.com\",\n    \"first_name\": \"Bob\",\n    \"last_name\": \"Du jardin\",\n    \"gender\": \"MALE\",\n    \"birthdate\": {\n        \"month\": 1,\n        \"year\": 2000,\n        \"day\": 19\n    },\n    \"phone_numbers\": [\n        \"+33600000000\"\n    ],\n    \"country_code_iso2\": \"JP\",\n    \"registration_step\": \"COMPLETED\",\n    \"creation\": 1648408277573,\n    \"is_active\": true\n}"}],"_postman_id":"12f6c7f3-42c9-4794-b359-ba3bf27a2b5a"},{"name":"Get logged user","id":"ea0cbf7a-f1d4-4fa8-8fe5-353fd1197c05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/me","description":"<p>This endpoint allow you to get your current account</p>\n","urlObject":{"path":["users","me"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"2c896f50-a4ce-410f-93a0-59d5a3d391f0","name":"Retrieve current user","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/users/:uid","host":["https://api.wecashup.com"],"path":["users",":uid"],"variable":[{"key":"uid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"uid\": \"user_uid_generated_by_firebase_auth\",\r\n    \"email\": \"test@test.com\",\r\n    \"first_name\": \"Bob\",\r\n    \"last_name\": \"Du jardin\",\r\n    \"gender\": \"MALE\",\r\n    \"birthdate\": {\r\n        \"month\": 1,\r\n        \"year\": 2000,\r\n        \"day\": 19\r\n    },\r\n    \"phone_numbers\": [\r\n        \"+33600000000\"\r\n    ],\r\n    \"country_code_iso2\": \"FR\",\r\n    \"registration_step\": \"COMPLETED\",\r\n    \"creation\": 1648408277573,\r\n    \"is_active\": true\r\n}"}],"_postman_id":"ea0cbf7a-f1d4-4fa8-8fe5-353fd1197c05"},{"name":"Reset the current user password","id":"f2214294-5073-4839-91b3-d278d91280b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/password","description":"<p>This endpoint allow you to reset your current password if you have lost it.</p>\n<p>When you use this endpoint an email will be send. You have to click on the link to be redirect to a page where you will enter your new password</p>\n","urlObject":{"path":["users","password"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"0f591239-f1e8-42ee-9be6-3602f79d445f","name":"Reset the current user password","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"test@test.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/password"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Reset password link was sent\"\r\n}"}],"_postman_id":"f2214294-5073-4839-91b3-d278d91280b7"},{"name":"Add phone number to current user","id":"e43904ce-47d0-495f-b035-b4a861f3e818","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/me/phoneNumber","description":"<p>This endpoint allow you to add a new phone number to your account</p>\n","urlObject":{"path":["users","me","phoneNumber"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"75262a7f-c388-41f0-a96b-8f313c9ac6f8","name":"Add phone number to current user","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"phone_number\": \"+33601020305\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/me/phoneNumber"},"code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"user_uid_generated_by_firebase_auth\",\n    \"email\": \"test@test.com\",\n    \"first_name\": \"Bob\",\n    \"last_name\": \"Du jardin\",\n    \"gender\": \"MALE\",\n    \"birthdate\": {\n        \"month\": 1,\n        \"year\": 2000,\n        \"day\": 19\n    },\n    \"phone_numbers\": [\n        \"+33600000000\",\n        \"+33601020305\"\n    ],\n    \"country_code_iso2\": \"FR\",\n    \"registration_step\": \"COMPLETED\",\n    \"creation\": 1648408277573,\n    \"is_active\": true\n}"}],"_postman_id":"e43904ce-47d0-495f-b035-b4a861f3e818"},{"name":"User signin","id":"7c7d61bf-fd1c-4038-862d-0c5407c8cab5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"bob@gmail.com\",\r\n    \"password\": \"test123?/\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/signin","description":"<p>This endpoint allow you to signin with your email and password. By doing that you will get new auth tokens</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["users","signin"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"abe507c0-f30c-4d34-93dd-57aaf9f83bba","name":"User signin","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test@test123.com\",\r\n    \"password\": \"monsupermotdepasse\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/signin"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"token\": \"access_token_generated_by_firebase\",\r\n    \"refresh_token\": \"refresh_token_generated_by_firebase\"\r\n}"}],"_postman_id":"7c7d61bf-fd1c-4038-862d-0c5407c8cab5"}],"id":"9cc4be14-9dce-4df0-a8d8-0a4907750161","description":"<p>This workflows allow you to manage you account</p>\n","_postman_id":"9cc4be14-9dce-4df0-a8d8-0a4907750161","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}}},{"name":"2. Organizations","item":[{"name":"2.1 Roles","item":[{"name":"Create new organization role","id":"313064dd-6d85-4ffc-a9b2-591a93b23947","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/roles","description":"<p>This endpoint allow you to create a new organization's roles.</p>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"api\": {\n        \"role\": {\n            \"write\": true\n        }\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["organizations",":organizationUid","roles"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"5e8ec026-b3b3-4995-a49a-afcf0485fb2a","name":"Create new organization role","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"role_name\": \"Admin\",\r\n        \"rights\": {\r\n            \"read\": true,\r\n            \"write\": true,\r\n            \"update\": false\r\n        }\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/roles","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","roles"],"variable":[{"key":"organizationUid","value":null}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"uid\": \"role_uid_generated_by_firebase\",\r\n        \"organization_uid\": \"generated_organization_uid\",\r\n        \"number_of_members\": 18,\r\n        \"role_name\": \"Admin\",\r\n        \"rights\": {\r\n            \"team\": {\r\n                \"read\": true\r\n            }\r\n        }\r\n    }\r\n]"}],"_postman_id":"313064dd-6d85-4ffc-a9b2-591a93b23947"},{"name":"Get organization's roles","id":"08a28524-9791-43ba-b806-f40f5785526a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/roles","description":"<p>This endpoint allow you to get organization's roles</p>\n<p>To use this endpoint you need the accreditation :</p>\n<p>StartFragment</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"api\": {\n    \"role\": {\n      \"read\": true\n    }\n  }\n}\n</code></pre>\n<p>EndFragment</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["organizations",":organizationUid","roles"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"5058c1dd-2375-4c35-b8c2-f4dd1504cb4a","name":"Get organization's roles","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/roles","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","roles"],"variable":[{"key":"organizationUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"uid\": \"role_uid_generated_by_firebase\",\r\n        \"organization_uid\": \"generated_organization_uid\",\r\n        \"number_of_members\": 18,\r\n        \"role_name\": \"Admin\",\r\n        \"rights\": {\r\n            \"team\": {\r\n                \"read\": true\r\n            }\r\n        }\r\n    }\r\n]"}],"_postman_id":"08a28524-9791-43ba-b806-f40f5785526a"},{"name":"Get organization's role by uid","id":"41acb86f-98bb-49f4-b909-456118eb865d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/roles/:roleUid","description":"<p>This endpoint allow you to get an organization's role by its uid.</p>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"api\": {\n    \"role\": {\n      \"read\": true\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["organizations",":organizationUid","roles",":roleUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"},{"type":"any","value":null,"key":"roleUid"}]}},"response":[{"id":"fcfdadbc-1a61-4d9b-96ef-4fb5e841ec53","name":"Get organization's role by uid","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/roles/:roleUid","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","roles",":roleUid"],"variable":[{"key":"organizationUid","value":null},{"key":"roleUid","value":null}]}},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"uid\": \"role_uid_generated_by_firebase\",\r\n    \"organization_uid\": \"generated_organization_uid\",\r\n    \"number_of_members\": 18,\r\n    \"role_name\": \"Admin\",\r\n    \"rights\": {\r\n        \"team\": {\r\n            \"read\": true\r\n        }\r\n    }\r\n}"}],"_postman_id":"41acb86f-98bb-49f4-b909-456118eb865d"},{"name":"Update organization roles","id":"a2472e21-6d50-4833-b3b5-9bc2a9b13ace","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/roles","description":"<p>This endpoint allow you to update multiple organization's roles at the same time.</p>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"api\": {\n    \"role\": {\n      \"update\": true\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["organizations",":organizationUid","roles"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"e81b472e-0c39-457a-8bcd-a16d078ca635","name":"Update organization role","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"role_uid\": \"role_uid_generated_by_firebase\",\r\n        \"rights\": {\r\n            \"team\": {\r\n                \"read\": false\r\n            }\r\n        }\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/roles","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","roles"],"variable":[{"key":"organizationUid","value":null}]}},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uid\": \"role_uid_generated_by_firebase\",\n        \"organization_uid\": \"generated_organization_uid\",\n        \"number_of_members\": 18,\n        \"role_name\": \"Admin\",\n        \"rights\": {\n            \"team\": {\n                \"read\": false\n            }\n        }\n    }\n]"}],"_postman_id":"a2472e21-6d50-4833-b3b5-9bc2a9b13ace"}],"id":"d57cfa3e-d513-4132-a4d0-bdf60e52e189","description":"<p>This workflows allow you to create and manage your organization's roles.</p>\n<p>Before starting let see something important.</p>\n<h3 id=\"accreditation\">Accreditation</h3>\n<p>Accreditation is a big part of organization's role. It allow you to access different endpoints of the api by setting role's rights.</p>\n<p>Here is all the api's rights that you can configure :</p>\n<ul>\n<li>address</li>\n<li>role</li>\n<li>invite</li>\n<li>team</li>\n<li>organization</li>\n<li>payment</li>\n<li>operation</li>\n</ul>\n<p>You can see exemples of roles document in the next sections</p>\n","_postman_id":"d57cfa3e-d513-4132-a4d0-bdf60e52e189","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}}},{"name":"2.2 Members","item":[{"name":"Update member profile","id":"902e9c56-b8da-41a9-8d9f-9bac2d858759","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/organizations/:organizationUid/members/:memberUid","description":"<p>This endpoint allow you to update an organization's member</p>\n<p>Here are the list of field you can update :</p>\n<ul>\n<li>role_uid</li>\n<li>is_active</li>\n</ul>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"api\": {\n    \"member\": {\n      \"update\": true\n    }\n  }\n}\n\n</code></pre>","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["organizations",":organizationUid","members",":memberUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"},{"type":"any","value":null,"key":"memberUid"}]}},"response":[{"id":"48600455-2ac6-4f39-906e-a7699125ba9a","name":"Update member profile","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"role_uid\": \"new_role_uid_generated_by_firebase\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/members/:memberUid","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","members",":memberUid"],"variable":[{"key":"organizationUid","value":null},{"key":"memberUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"role_uid\": \"new_role_uid_generated_by_firebase\",\r\n    \"user_uid\": \"generated_user_uid\",\r\n    \"first_name\": \"John\",\r\n    \"last_name\": \"Doe\",\r\n    \"email\": \"john.doe@gmail.com\",\r\n    \"organization_uid\": \"generated_organization_uid\",\r\n    \"is_active\": true\r\n}"}],"_postman_id":"902e9c56-b8da-41a9-8d9f-9bac2d858759"},{"name":"Get member profile by UID","id":"a2b119ac-766f-4bc6-9083-61b28b37f1c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/members/:memberUid","description":"<p>This endpoint allow you to get a member profile by its uid.</p>\n<p>To use this endpoint you need the accreditation :</p>\n<p>StartFragment</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"api\": {\n    \"member\": {\n      \"read\": true\n    }\n  }\n}\n\n</code></pre>\n<p>EndFragment</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["organizations",":organizationUid","members",":memberUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"},{"type":"any","value":null,"key":"memberUid"}]}},"response":[{"id":"22932c84-40d1-480b-a34b-1e023d32dea8","name":"Get member profile","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/members/:memberUid","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","members",":memberUid"],"variable":[{"key":"organizationUid","value":null},{"key":"memberUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"role_uid\": \"role_uid\",\r\n    \"user_uid\": \"generated_user_uid\",\r\n    \"first_name\": \"John\",\r\n    \"last_name\": \"Doe\",\r\n    \"email\": \"john.doe@gmail.com\",\r\n    \"organization_uid\": \"generated_organization_uid\",\r\n    \"is_active\": true\r\n}"}],"_postman_id":"a2b119ac-766f-4bc6-9083-61b28b37f1c7"},{"name":"Get organization's members","id":"a2f2a068-8a5d-4b9b-b7d2-a169724cf89d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/members","description":"<p>This endpoint allows you to get all your organization's members</p>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"api\" : {\n        \"member\" : {\n            \"read\": true\n        }\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["organizations",":organizationUid","members"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"44f8f9b8-cfe2-4b93-ad27-8931891d14bf","name":"Get organization's members","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/members","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","members"],"variable":[{"key":"organizationUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"role_uid\": \"role_uid\",\r\n        \"user_uid\": \"generated_user_uid\",\r\n        \"first_name\": \"John\",\r\n        \"last_name\": \"Doe\",\r\n        \"email\": \"john.doe@gmail.com\",\r\n        \"organization_uid\": \"generated_organization_uid\",\r\n        \"is_active\": true\r\n    }\r\n]"}],"_postman_id":"a2f2a068-8a5d-4b9b-b7d2-a169724cf89d"}],"id":"52dd3a93-8a06-462f-928f-990fc36dd7ed","description":"<p>This workflow allow you to manger your organization's members</p>\n","_postman_id":"52dd3a93-8a06-462f-928f-990fc36dd7ed","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}}},{"name":"2.3 Fees","item":[{"name":"Set commission's fees","id":"e2ef46c3-b667-4fd1-83ec-477710a24e02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/organizations/:organizationUid/fees","description":"<p>This endpoint allows you to set your commission's fees.</p>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"api\": {\n        \"fees\": {\n            \"write\": true\n        }\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["organizations",":organizationUid","fees"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"b2ebd3bc-812a-4798-8d19-05c692cde76d","name":"Set commission's fees","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"provider\": \"1433\",\r\n        \"CASH_IN\": [\r\n            {\r\n                \"fixed_amount\": 10,\r\n                \"percentage\": 1,\r\n                \"from\": 10,\r\n                \"to\": 20\r\n            }\r\n        ]\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/fees","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","fees"],"variable":[{"key":"organizationUid","value":null}]}},"code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"uid\": \"1433\",\r\n        \"organization_uid\": \"organization_uid\",\r\n        \"provider\": \"same_as_uid\",\r\n        \"CASH_IN\": [\r\n            {\r\n                \"fixed_amount\": 10,\r\n                \"percentage\": 1,\r\n                \"from\": 10,\r\n                \"to\": 20\r\n            }\r\n        ],\r\n        \"updated_at\": 16736209731,\r\n        \"creation\": 1234567890\r\n    }\r\n]"}],"_postman_id":"e2ef46c3-b667-4fd1-83ec-477710a24e02"},{"name":"Get commission's fees","id":"62bb3ba5-9186-4c76-b42d-81f8e1002b72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/fees","description":"<p>This endpoint allows you to get your commmission's fees.</p>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"api\": {\n        \"fee\": {\n            \"read\": true\n        }\n    }\n}\n\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["organizations",":organizationUid","fees"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"baeee0cc-dd72-481b-88c6-82427d714f6e","name":"Get commission's fees","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/fees","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","fees"],"variable":[{"key":"organizationUid","value":null}]}},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uid\": \"1433\",\n        \"organization_uid\": \"organization_uid\",\n        \"provider\": \"same_as_uid\",\n        \"CASH_IN\": {\n            \"fixed_amount\": 10,\n            \"percentage\": 1,\n            \"from\": 10,\n            \"to\": 20\n        },\n        \"updated_at\": 16736209731,\n        \"creation\": 1234567890\n    }\n]"},{"id":"8e3f07e3-4fa5-44f6-a55e-29bd144b1e6e","name":"Get commission's fee by name","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/fees?provider=MTN","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","fees"],"query":[{"key":"provider","value":"MTN"}],"variable":[{"key":"organizationUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"uid\": \"1433\",\r\n    \"organization_uid\": \"organization_uid\",\r\n    \"provider\": \"same_as_uid\",\r\n    \"CASH_IN\": {\r\n        \"fixed_amount\": 10,\r\n        \"percentage\": 1,\r\n        \"from\": 10,\r\n        \"to\": 20\r\n    },\r\n    \"updated_at\": 16736209731,\r\n    \"creation\": 1234567890\r\n}"}],"_postman_id":"62bb3ba5-9186-4c76-b42d-81f8e1002b72"}],"id":"6147e9fe-e4d1-455e-8230-1f7a4395ecf6","description":"<p>This worflows allows you to set your commissioon's fees. You can only use this worflows if you are a <strong>MEGA AGENT</strong> or a <strong>SUPER AGENT</strong></p>\n","_postman_id":"6147e9fe-e4d1-455e-8230-1f7a4395ecf6","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}}},{"name":"Create a new organization","id":"920bf3c0-8a84-449f-a479-70a395400d15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/organizations","description":"<p>This endpoint allow you to create a new organization.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["organizations"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"9adf9c0b-4a9f-4195-8c62-ad968ea648cc","name":"Create a new organization with required field","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"entreprise@gmail.com\",\r\n    \"legal_status\": \"SAS\",\r\n    \"currency\": \"EUR\",\r\n    \"country_code_iso2\": \"FR\",\r\n    \"type\": \"BANK\",\r\n    \"legal_name\": \"INFINITY SPACE\",\r\n    \"addresses\": [\r\n        {\r\n            \"type\": \"BILLING\",\r\n            \"number\": \"45\",\r\n            \"street_name\": \"Rue Emile Zola\",\r\n            \"city\": \"paris\",\r\n            \"region_or_state\": \"Ile de France\",\r\n            \"country_code_iso2\": \"FR\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/organizations"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"uid\": \"organization_uid_generated_by_firebase_auth\",\r\n    \"owner_uid\": \"user_uid_generated_by_firebase_auth\",\r\n    \"owner_email\": \"owner_email\",\r\n    \"owner\": {\r\n        \"uid\": \"user_uid_generated_by_firebase_auth\",\r\n        \"gender\": \"MALE\",\r\n        \"email\": \"owner_email\",\r\n        \"birthdate\": {\r\n            \"month\": 1,\r\n            \"year\": 2000,\r\n            \"day\": 19\r\n        },\r\n        \"city\": \"PARIS\",\r\n        \"country_code_iso2\": \"FR\",\r\n        \"type\": \"USER\"\r\n    },\r\n    \"email\": \"entreprise@gmail.com\",\r\n    \"legal_status\": \"SAS\",\r\n    \"currency\": \"EUR\",\r\n    \"type\": \"BANK\",\r\n    \"legal_name\": \"INFINITY SPACE\",\r\n    \"members\": [\r\n        \"uid_of_organization_owner\"\r\n    ],\r\n    \"is_approved\": \"Depend on organization type\",\r\n    \"country_code_iso2\": \"FR\",\r\n    \"is_active\": true,\r\n    \"creation\": 1234567890\r\n}"},{"id":"e43b3173-59de-4890-9901-2b901806200d","name":"Create a new organization will all field","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"entreprise@gmail.com\",\r\n    \"legal_status\": \"SAS\",\r\n    \"currency\": \"EUR\",\r\n    \"country_code_iso2\": \"FR\",\r\n    \"type\": \"BANK\",\r\n    \"legal_name\": \"INFINITY SPACE\",\r\n    \"vat_number\": \"FR45810369827\",\r\n    \"legal_registration_number\": \"81036982700011\",\r\n    \"commercial_brandname\": \"WeCashUp\",\r\n    \"phone_number\": \"+33000102030405\",\r\n    \"addresses\": [\r\n        {\r\n            \"type\": \"BILLING\",\r\n            \"number\": \"45\",\r\n            \"street_name\": \"Rue Emile Zola\",\r\n            \"city\": \"paris\",\r\n            \"region_or_state\": \"Ile de France\",\r\n            \"country_code_iso2\": \"FR\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/organizations"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"uid\": \"organization_uid_generated_by_firebase_auth\",\r\n    \"owner_uid\": \"user_uid_generated_by_firebase_auth\",\r\n    \"owner_email\": \"owner_email\",\r\n    \"owner\": {\r\n        \"uid\": \"user_uid_generated_by_firebase_auth\",\r\n        \"gender\": \"MALE\",\r\n        \"email\": \"owner_email\",\r\n        \"birthdate\": {\r\n            \"month\": 1,\r\n            \"year\": 2000,\r\n            \"day\": 19\r\n        },\r\n        \"country_code_iso2\": \"FR\",\r\n        \"city\": \"PARIS\",\r\n        \"type\": \"USER\"\r\n    },\r\n    \"email\": \"entreprise@gmail.com\",\r\n    \"legal_status\": \"SAS\",\r\n    \"currency\": \"EUR\",\r\n    \"type\": \"BANK\",\r\n    \"legal_name\": \"INFINITY SPACE\",\r\n    \"vat_number\": \"FR45810369827\",\r\n    \"legal_registration_number\": \"81036982700011\",\r\n    \"commercial_brandname\": \"WeCashUp\",\r\n    \"phone_number\": \"+33000102030405\",\r\n    \"members\": [\r\n        \"uid_of_organization_owner\"\r\n    ],\r\n    \"is_approved\": \"Depend on organization type\",\r\n    \"country_code_iso2\": \"FR\",\r\n    \"is_active\": true,\r\n    \"creation\": 1234567890\r\n}"}],"_postman_id":"920bf3c0-8a84-449f-a479-70a395400d15"},{"name":"Get organization by uid","id":"0fa1248d-ea31-4b18-8eb8-3838cfae1a60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid","description":"<p>This endpoint allow you to get one of your organization by its uid.</p>\n<p>To use this endpoint you need the accreditation :</p>\n<p>StartFragment</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"api\": {\n    \"organization\": {\n      \"read\": true\n    }\n  }\n}\n</code></pre><p>EndFragment</p>\n","urlObject":{"path":["organizations",":organizationUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"aec44f99-32a0-4d57-80b6-3311a66204e1","name":"Get organization by uid","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid"],"variable":[{"key":"organizationUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"organization_uid_generated_by_firebase_auth\",\n    \"owner_uid\": \"user_uid_generated_by_firebase_auth\",\n    \"owner_email\": \"owner_email\",\n    \"owner\": {\n        \"uid\": \"user_uid_generated_by_firebase_auth\",\n        \"gender\": \"MALE\",\n        \"email\": \"owner_email\",\n        \"birthdate\": {\n            \"month\": 1,\n            \"year\": 2000,\n            \"day\": 19\n        },\n        \"country_code_iso2\": \"FR\",\n        \"city\": \"PARIS\",\n        \"type\": \"USER\"\n    },\n    \"email\": \"entreprise@gmail.com\",\n    \"legal_status\": \"SAS\",\n    \"currency\": \"EUR\",\n    \"type\": \"BANK\",\n    \"legal_name\": \"INFINITY SPACE\",\n    \"vat_number\": \"FR45810369827\",\n    \"legal_registration_number\": \"81036982700011\",\n    \"commercial_brandname\": \"WeCashUp\",\n    \"phone_number\": \"+33000102030405\",\n    \"members\": [\n        \"uid_of_organization_owner\"\n    ],\n    \"is_approved\": \"Depend on organization type\",\n    \"country_code_iso2\": \"FR\",\n    \"is_active\": true,\n    \"creation\": 1234567890\n}"}],"_postman_id":"0fa1248d-ea31-4b18-8eb8-3838cfae1a60"},{"name":"Update an organization","id":"32acf931-3e82-44d9-993e-17393317d4c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/organizations/:organizationUid","description":"<p>This endpoint allow you to update one of your organization.</p>\n<p>This is the list of fields you can update :</p>\n<ul>\n<li>email</li>\n<li>vat_number</li>\n<li>legal_registration_number</li>\n<li>legal_status</li>\n<li>legal_name</li>\n<li>commercial_brandnae</li>\n<li>country_code_iso2</li>\n<li>phone_number</li>\n</ul>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"api\": {\n    \"organization\": {\n      \"update\": true\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["organizations",":organizationUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"4c4e1510-e499-4912-a99a-109e5ed09983","name":"Update an organization","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"commercial_brandname\": \"WeCashUp\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid"],"variable":[{"key":"organizationUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"uid\": \"organization_uid_generated_by_firebase_auth\",\r\n    \"owner_uid\": \"user_uid_generated_by_firebase_auth\",\r\n    \"owner_email\": \"owner_email\",\r\n    \"owner\": {\r\n        \"uid\": \"user_uid_generated_by_firebase_auth\",\r\n        \"gender\": \"MALE\",\r\n        \"email\": \"owner_email\",\r\n        \"birthdate\": {\r\n            \"month\": 1,\r\n            \"year\": 2000,\r\n            \"day\": 19\r\n        },\r\n        \"country_code_iso2\": \"FR\",\r\n        \"city\": \"PARIS\",\r\n        \"type\": \"USER\"\r\n    },\r\n    \"email\": \"entreprise@gmail.com\",\r\n    \"legal_status\": \"SAS\",\r\n    \"currency\": \"EUR\",\r\n    \"type\": \"BANK\",\r\n    \"legal_name\": \"INFINITY SPACE\",\r\n    \"vat_number\": \"FR45810369827\",\r\n    \"legal_registration_number\": \"81036982700011\",\r\n    \"commercial_brandname\": \"WeCashUp\",\r\n    \"phone_number\": \"+33000102030405\",\r\n    \"members\": [\r\n        \"uid_of_organization_owner\"\r\n    ],\r\n    \"is_approved\": \"Depend on organization type\",\r\n    \"country_code_iso2\": \"FR\",\r\n    \"is_active\": true,\r\n    \"creation\": 1234567890\r\n}"}],"_postman_id":"32acf931-3e82-44d9-993e-17393317d4c1"},{"name":"List all organizations","id":"982e8e4e-3df0-49b3-b84a-d6427e26b7f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecashup.com/organizations","description":"<p>This endpoint allow you to see all your organizations and organizations where you are a member.</p>\n","urlObject":{"path":["organizations"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"aa9bebc9-4eca-45c6-b338-96b155b27c02","name":"List all organizations belonging to owner_uid","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations?options=owner","host":["https://api.wecashup.com"],"path":["organizations"],"query":[{"key":"options","value":"owner"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uid\": \"organization_uid_generated_by_firebase_auth\",\n        \"owner_uid\": \"user_uid_generated_by_firebase_auth\",\n        \"owner_email\": \"owner_email\",\n        \"owner\": {\n            \"uid\": \"user_uid_generated_by_firebase_auth\",\n            \"gender\": \"MALE\",\n            \"email\": \"owner_email\",\n            \"birthdate\": {\n                \"month\": 1,\n                \"year\": 2000,\n                \"day\": 19\n            },\n            \"country_code_iso2\": \"FR\",\n            \"city\": \"PARIS\",\n            \"type\": \"USER\"\n        },\n        \"email\": \"entreprise@gmail.com\",\n        \"legal_status\": \"SAS\",\n        \"currency\": \"EUR\",\n        \"type\": \"BANK\",\n        \"legal_name\": \"INFINITY SPACE\",\n        \"vat_number\": \"FR45810369827\",\n        \"legal_registration_number\": \"81036982700011\",\n        \"commercial_brandname\": \"WeCashUp\",\n        \"phone_number\": \"+33000102030405\",\n        \"members\": [\n            \"uid_of_organization_owner\"\n        ],\n        \"is_approved\": \"Depend on organization type\",\n        \"country_code_iso2\": \"FR\",\n        \"is_active\": true,\n        \"creation\": 1234567890\n    }\n]"},{"id":"d15acd35-c4ac-42af-8679-33cd5fc669eb","name":"List all organizations with teams that include owner_uid","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations?option=teams","host":["https://api.wecashup.com"],"path":["organizations"],"query":[{"key":"option","value":"teams"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uid\": \"organization_uid_generated_by_firebase_auth\",\n        \"owner_uid\": \"user_uid_generated_by_firebase_auth\",\n        \"owner_email\": \"owner_email\",\n        \"owner\": {\n            \"uid\": \"user_uid_generated_by_firebase_auth\",\n            \"gender\": \"MALE\",\n            \"email\": \"owner_email\",\n            \"birthdate\": {\n                \"month\": 1,\n                \"year\": 2000,\n                \"day\": 19\n            },\n            \"country_code_iso2\": \"FR\",\n            \"city\": \"PARIS\",\n            \"type\": \"USER\"\n        },\n        \"email\": \"entreprise@gmail.com\",\n        \"legal_status\": \"SAS\",\n        \"currency\": \"EUR\",\n        \"type\": \"BANK\",\n        \"legal_name\": \"INFINITY SPACE\",\n        \"vat_number\": \"FR45810369827\",\n        \"legal_registration_number\": \"81036982700011\",\n        \"commercial_brandname\": \"WeCashUp\",\n        \"phone_number\": \"+33000102030405\",\n        \"members\": [\n            \"uid_of_organization_owner\"\n        ],\n        \"is_approved\": \"Depend on organization type\",\n        \"country_code_iso2\": \"FR\",\n        \"is_active\": true,\n        \"creation\": 1234567890\n    }\n]"}],"_postman_id":"982e8e4e-3df0-49b3-b84a-d6427e26b7f3"}],"id":"735edc51-ecd8-4b8e-ae7c-923dacf99157","description":"<p>This workflow allow you to manage your organization.</p>\n","_postman_id":"735edc51-ecd8-4b8e-ae7c-923dacf99157","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}}},{"name":"3. Addresses","item":[{"name":"Create new user address","id":"e842447d-5913-4fa9-8216-fca70862265e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/addresses","description":"<p>This endpoint allow you to create a new personnal address.</p>\n<p>When you create a new address you will have to specified a type. Here is the list of accepted types :</p>\n<ul>\n<li>BILLING</li>\n<li>SHIPPING</li>\n<li>HEAD_OFFICE</li>\n<li>HOME</li>\n</ul>\n","urlObject":{"path":["users","addresses"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"fb7f3e93-5cbf-43f5-aff3-8fb5cf2391a0","name":"Create new user address","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"number\": \"22\",\r\n    \"street_name\": \"Rue du Grenier Saint-Lazare\",\r\n    \"state_or_region\": \"Bouches du Rhone\",\r\n    \"postal_code\": \"13013\",\r\n    \"city\": \"Marseille\",\r\n    \"country_code_iso2\": \"FR\",\r\n    \"type\": \"HOME\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/addresses"},"code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"address_uid_generated_by_firebase\",\n    \"owner_uid\": \"owner_uid\",\n    \"owner\": {\n        \"uid\": \"user_uid_generated_by_firebase_auth\",\n        \"gender\": \"MALE\",\n        \"email\": \"owner_email\",\n        \"birthdate\": {\n            \"month\": 1,\n            \"year\": 2000,\n            \"day\": 19\n        },\n        \"country_code_iso2\": \"FR\",\n        \"city\": \"MARSEILLE\",\n        \"type\": \"USER\"\n    },\n    \"number\": \"22\",\n    \"street_name\": \"Rue du Grenier Saint-Lazare\",\n    \"state_or_region\": \"Bouches du Rhone\",\n    \"postal_code\": \"13013\",\n    \"city\": \"MARSEILLE\",\n    \"type\": \"HOME\",\n    \"country_code_iso2\": \"FR\",\n    \"is_active\": true,\n    \"creation\": 1234567890\n}"}],"_postman_id":"e842447d-5913-4fa9-8216-fca70862265e"},{"name":"Create new organization address","id":"25b26007-3345-4b97-bb53-f608c39217da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/organizations/:organizationUid/addresses","description":"<p>This endpoint allow you to create a new organization's address.</p>\n<p>When you create a new address you will have to specified a type. Here is the list of accepted types :</p>\n<ul>\n<li>BILLING</li>\n<li>SHIPPING</li>\n<li>HEAD_OFFICE</li>\n<li>HOME</li>\n</ul>\n<p>To access this route you will need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"api\" : {\n        \"address\": {\n            \"write\": true\n        }\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["organizations",":organizationUid","addresses"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"1dbd2b5f-ff15-4d34-9ef3-590b9223a432","name":"Create new organization address","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"number\": \"22\",\r\n    \"street_name\": \"Rue du Grenier Saint-Lazare\",\r\n    \"state_or_region\": \"Bouches du Rhone\",\r\n    \"postal_code\": \"13013\",\r\n    \"city\": \"Marseille\",\r\n    \"country_code_iso2\": \"FR\",\r\n    \"type\": \"HEAD_OFFICE\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/addresses","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","addresses"],"variable":[{"key":"organizationUid","value":null}]}},"code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"address_uid_generated_by_firebase\",\n    \"owner_uid\": \"owner_uid\",\n    \"owner\": {\n        \"uid\": \"user_uid_generated_by_firebase_auth\",\n        \"email\": \"owner_email\",\n        \"country_code_iso2\": \"FR\",\n        \"type\": \"ORGANIZATION\",\n        \"organization_owner\": {\n            \"uid\": \"organization_owner_uid\",\n            \"gender\": \"MALE\",\n            \"city\": \"PARIS\",\n            \"country_code_iso2\": \"FR\",\n            \"birthdate\": {\n                \"year\": 1992,\n                \"month\": 1,\n                \"day\": 19\n            }\n        }\n    },\n    \"street_number\": \"22\",\n    \"street_name\": \"Rue du Grenier Saint-Lazare\",\n    \"state_or_region\": \"Bouches du Rhone\",\n    \"postal_code\": \"13013\",\n    \"city\": \"MARSEILLE\",\n    \"type\": \"HEAD_OFFICE\",\n    \"country_code_iso2\": \"FR\",\n    \"is_active\": true,\n    \"creation\": 1234567890\n}"}],"_postman_id":"25b26007-3345-4b97-bb53-f608c39217da"},{"name":"List user's addresses","id":"022a12f0-eedb-4076-8676-7ecefc36d8a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecashup.com/users/addresses","description":"<p>This endpoint allow you to get all your personnal addresses</p>\n","urlObject":{"path":["users","addresses"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"23213b45-ac73-42a9-86be-fabe061621ca","name":"List user's addresses","originalRequest":{"method":"GET","header":[],"url":"https://api.wecashup.com/users/addresses"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"uid\": \"address_uid_generated_by_firebase\",\r\n        \"owner_uid\": \"owner_uid\",\r\n        \"owner\": {\r\n            \"uid\": \"user_uid_generated_by_firebase_auth\",\r\n            \"gender\": \"MALE\",\r\n            \"email\": \"owner_email\",\r\n            \"birthdate\": {\r\n                \"month\": 1,\r\n                \"year\": 2000,\r\n                \"day\": 19\r\n            },\r\n            \"country_code_iso2\": \"FR\",\r\n            \"city\": \"MARSEILLE\",\r\n            \"type\": \"USER\"\r\n        },\r\n        \"number\": \"22\",\r\n        \"street_name\": \"Rue du Grenier Saint-Lazare\",\r\n        \"state_or_region\": \"Bouches du Rhone\",\r\n        \"postal_code\": \"13013\",\r\n        \"city\": \"MARSEILLE\",\r\n        \"type\": \"HOME\",\r\n        \"country_code_iso2\": \"FR\",\r\n        \"is_active\": true,\r\n        \"creation\": 1234567890\r\n    }\r\n]"}],"_postman_id":"022a12f0-eedb-4076-8676-7ecefc36d8a5"},{"name":"List organization's addresses","id":"3c749c93-3e50-45bb-a3c1-85138ffb675f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecashup.com/users/addresses","description":"<p>This endpoint allow you to get all your organization's addresses.</p>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"api\" : {\n        \"address\": {\n            \"read\": true\n        }\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["users","addresses"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"81ed4e1f-93cb-46eb-abc9-33e45735cd61","name":"List organization's addresses","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/addresses","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","addresses"],"variable":[{"key":"organizationUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"uid\": \"address_uid_generated_by_firebase\",\r\n        \"owner_uid\": \"owner_uid\",\r\n        \"owner\": {\r\n            \"uid\": \"user_uid_generated_by_firebase_auth\",\r\n            \"email\": \"owner_email\",\r\n            \"country_code_iso2\": \"FR\",\r\n            \"type\": \"ORGANIZATION\",\r\n            \"organization_owner\": {\r\n                \"uid\": \"organization_owner_uid\",\r\n                \"gender\": \"MALE\",\r\n                \"city\": \"PARIS\",\r\n                \"country_code_iso2\": \"FR\",\r\n                \"birthdate\": {\r\n                    \"year\": 1992,\r\n                    \"month\": 1,\r\n                    \"day\": 19\r\n                }\r\n            }\r\n        },\r\n        \"street_number\": \"22\",\r\n        \"street_name\": \"Rue du Grenier Saint-Lazare\",\r\n        \"state_or_region\": \"Bouches du Rhone\",\r\n        \"postal_code\": \"13013\",\r\n        \"city\": \"MARSEILLE\",\r\n        \"type\": \"HEAD_OFFICE\",\r\n        \"country_code_iso2\": \"FR\",\r\n        \"is_active\": true,\r\n        \"creation\": 1234567890\r\n    }\r\n]"}],"_postman_id":"3c749c93-3e50-45bb-a3c1-85138ffb675f"},{"name":"Get user's address by uid","id":"771e9de7-017a-44cb-9e19-9c38aaa70e72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecashup.com/users/addresses/:addressUid","description":"<p>This endpoint allow you to get an address by its uid</p>\n","urlObject":{"path":["users","addresses",":addressUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"addressUid"}]}},"response":[{"id":"2d45af30-9bc0-4ad4-a444-2f9d6d611a05","name":"Get user's address by uid","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/users/addresses/:addressUid","host":["https://api.wecashup.com"],"path":["users","addresses",":addressUid"],"variable":[{"key":"addressUid","value":null}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"uid\": \"address_uid_generated_by_firebase\",\r\n    \"owner_uid\": \"owner_uid\",\r\n    \"owner\": {\r\n        \"uid\": \"user_uid_generated_by_firebase_auth\",\r\n        \"gender\": \"MALE\",\r\n        \"email\": \"owner_email\",\r\n        \"birthdate\": {\r\n            \"month\": 1,\r\n            \"year\": 2000,\r\n            \"day\": 19\r\n        },\r\n        \"country_code_iso2\": \"FR\",\r\n        \"city\": \"MARSEILLE\",\r\n        \"type\": \"USER\"\r\n    },\r\n    \"number\": \"22\",\r\n    \"street_name\": \"Rue du Grenier Saint-Lazare\",\r\n    \"state_or_region\": \"Bouches du Rhone\",\r\n    \"postal_code\": \"13013\",\r\n    \"city\": \"MARSEILLE\",\r\n    \"type\": \"HOME\",\r\n    \"country_code_iso2\": \"FR\",\r\n    \"is_active\": true,\r\n    \"creation\": 1234567890\r\n}"}],"_postman_id":"771e9de7-017a-44cb-9e19-9c38aaa70e72"},{"name":"Get organization's address by uid","id":"5e8b4343-8870-440c-9250-a33b1c85dfe7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/addresses/:addressUid","description":"<p>This endpoint allow you to get one of your organization's address by its uid.</p>\n<p>To use this endpoint you will need the accrreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"api\" : {\n        \"address\": {\n            \"read\": true\n        }\n    }\n}\n\n\n</code></pre>\n","urlObject":{"path":["organizations",":organizationUid","addresses",":addressUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"},{"type":"any","value":null,"key":"addressUid"}]}},"response":[{"id":"df8c663c-3f85-45a1-be7c-d1c62fbec2e5","name":"Get organization's address by uid","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/addresses/:addressUid","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","addresses",":addressUid"],"variable":[{"key":"organizationUid","value":null},{"key":"addressUid","value":null}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"uid\": \"address_uid_generated_by_firebase\",\r\n    \"owner_uid\": \"owner_uid\",\r\n    \"owner\": {\r\n        \"uid\": \"user_uid_generated_by_firebase_auth\",\r\n        \"email\": \"owner_email\",\r\n        \"country_code_iso2\": \"FR\",\r\n        \"type\": \"ORGANIZATION\",\r\n        \"organization_owner\": {\r\n            \"uid\": \"organization_owner_uid\",\r\n            \"gender\": \"MALE\",\r\n            \"city\": \"PARIS\",\r\n            \"country_code_iso2\": \"FR\",\r\n            \"birthdate\": {\r\n                \"year\": 1992,\r\n                \"month\": 1,\r\n                \"day\": 19\r\n            }\r\n        }\r\n    },\r\n    \"street_number\": \"22\",\r\n    \"street_name\": \"Rue du Grenier Saint-Lazare\",\r\n    \"state_or_region\": \"Bouches du Rhone\",\r\n    \"postal_code\": \"13013\",\r\n    \"city\": \"MARSEILLE\",\r\n    \"type\": \"HEAD_OFFICE\",\r\n    \"country_code_iso2\": \"FR\",\r\n    \"is_active\": true,\r\n    \"creation\": 1234567890\r\n}"}],"_postman_id":"5e8b4343-8870-440c-9250-a33b1c85dfe7"},{"name":"Update user's address","id":"e08a5367-62aa-4a6f-a4e8-8eae59d05859","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/addresses/:addressUid","description":"<p>This endpoint allow you to update a personnal address by its uid.</p>\n<p>Here is the list of allowed updates :</p>\n<ul>\n<li>type</li>\n<li>number</li>\n<li>street_name</li>\n<li>postal_code</li>\n<li>city</li>\n<li>regior_or_state</li>\n<li>country_code_iso2</li>\n<li>name</li>\n</ul>\n","urlObject":{"path":["users","addresses",":addressUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"addressUid"}]}},"response":[{"id":"ccffc495-cc45-4303-84b3-ea07c58ad9b2","name":"Update user's address","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"number\": \"23\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/users/addresses/:addressUid","host":["https://api.wecashup.com"],"path":["users","addresses",":addressUid"],"variable":[{"key":"addressUid","value":null}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"address_uid_generated_by_firebase\",\n    \"owner_uid\": \"owner_uid\",\n    \"owner\": {\n        \"uid\": \"user_uid_generated_by_firebase_auth\",\n        \"gender\": \"MALE\",\n        \"email\": \"owner_email\",\n        \"birthdate\": {\n            \"month\": 1,\n            \"year\": 2000,\n            \"day\": 19\n        },\n        \"country_code_iso2\": \"FR\",\n        \"city\": \"MARSEILLE\",\n        \"type\": \"USER\"\n    },\n    \"number\": \"23\",\n    \"street_name\": \"Rue du Grenier Saint-Lazare\",\n    \"state_or_region\": \"Bouches du Rhone\",\n    \"postal_code\": \"13013\",\n    \"city\": \"MARSEILLE\",\n    \"type\": \"HOME\",\n    \"country_code_iso2\": \"FR\",\n    \"is_active\": true,\n    \"creation\": 1234567890\n}"}],"_postman_id":"e08a5367-62aa-4a6f-a4e8-8eae59d05859"},{"name":"Update organization's address","id":"241d7be4-705f-40fd-9b72-91897985eac8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/addresses/:addressUid","description":"<p>This endpoint allow you to update a organization's address by its uid.</p>\n<p>Here is the list of allowed updates :</p>\n<ul>\n<li>type</li>\n<li>number</li>\n<li>street_name</li>\n<li>postal_code</li>\n<li>city</li>\n<li>regior_or_state</li>\n<li>country_code_iso2</li>\n<li>name</li>\n</ul>\n<p>To use this endpoint you will need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"api\" : {\n        \"address\": {\n            \"update\": true\n        }\n    }\n}\n\n\n</code></pre>\n","urlObject":{"path":["users","addresses",":addressUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"id":"7253ef7b-f0f9-4186-bc42-2ddf3838ad47","type":"any","value":null,"key":"addressUid"}]}},"response":[{"id":"79f3b2be-4d64-4d98-92ff-ebfa5ca902ea","name":"Update organization's address","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"street_number\": \"23\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/addresses/:addressUid","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","addresses",":addressUid"],"variable":[{"key":"organizationUid","value":null},{"key":"addressUid","value":null}]}},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"address_uid_generated_by_firebase\",\n    \"owner_uid\": \"owner_uid\",\n    \"owner\": {\n        \"uid\": \"user_uid_generated_by_firebase_auth\",\n        \"email\": \"owner_email\",\n        \"country_code_iso2\": \"FR\",\n        \"type\": \"ORGANIZATION\",\n        \"organization_owner\": {\n            \"uid\": \"organization_owner_uid\",\n            \"gender\": \"MALE\",\n            \"city\": \"PARIS\",\n            \"country_code_iso2\": \"FR\",\n            \"birthdate\": {\n                \"year\": 1992,\n                \"month\": 1,\n                \"day\": 19\n            }\n        }\n    },\n    \"street_number\": \"23\",\n    \"street_name\": \"Rue du Grenier Saint-Lazare\",\n    \"state_or_region\": \"Bouches du Rhone\",\n    \"postal_code\": \"13013\",\n    \"city\": \"MARSEILLE\",\n    \"type\": \"HEAD_OFFICE\",\n    \"country_code_iso2\": \"FR\",\n    \"is_active\": true,\n    \"creation\": 1234567890\n}"}],"_postman_id":"241d7be4-705f-40fd-9b72-91897985eac8"}],"id":"09008bef-6812-4b4a-a98c-5e36c497b8f2","description":"<p>This worflows allow you to interect with your personnal addresses or your organization's addresses</p>\n","_postman_id":"09008bef-6812-4b4a-a98c-5e36c497b8f2","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}}},{"name":"4. Accounts","item":[{"name":"List user's accounts","id":"ea846232-b496-47a1-8463-84232e93cabf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecashup.com/users/accounts","description":"<p>This endpoint allows you to get your personnal's accounts</p>\n","urlObject":{"path":["users","accounts"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"9fc53e97-c023-4e2b-b64a-d26ada895421","name":"List user's accounts","originalRequest":{"method":"GET","header":[],"url":"https://api.wecashup.com/users/accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uid\": \"auto_generate_uid_by_firebase\",\n        \"owner_uid\": \"user_uid_generated_by_firebase\",\n        \"owner\": {\n            \"uid\": \"user_uid_generated_by_firebase_auth\",\n            \"gender\": \"MALE\",\n            \"email\": \"owner_email\",\n            \"birthdate\": {\n                \"month\": 1,\n                \"year\": 2000,\n                \"day\": 19\n            },\n            \"city\": \"PARIS\",\n            \"country_code_iso2\": \"FR\",\n            \"type\": \"USER\"\n        },\n        \"account_type\": \"MOBILE_MONEY\",\n        \"balance\": 0,\n        \"phone_number\": \"+335600000000\",\n        \"provider\": \"1433\",\n        \"currency\": \"EUR\",\n        \"country_code_iso2\": \"FR\",\n        \"is_active\": true,\n        \"creation\": 1234567890\n    }\n]"}],"_postman_id":"ea846232-b496-47a1-8463-84232e93cabf"},{"name":"List organization's accounts","id":"42a4671d-83e7-4def-b910-988bcf6bbb96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/accounts","description":"<p>This endpoint allows you get your organization's accounts.</p>\n<p>To user this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"api\" : {\n        \"account\": {\n            \"read\": true\n        \n        }\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["organizations",":organizationUid","accounts"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"559f04a0-1b02-4aa2-a896-84cfc956aa00","name":"List organization's accounts","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/accounts","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","accounts"],"variable":[{"key":"organizationUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uid\": \"auto_generate_uid\",\n        \"owner_uid\": \"organization_uid_generated_by_firebase\",\n        \"owner\": {\n            \"uid\": \"user_uid_generated_by_firebase_auth\",\n            \"email\": \"organization_email\",\n            \"country_code_iso2\": \"FR\",\n            \"type\": \"ORGANIZATION\",\n            \"organization_owner\": {\n                \"uid\": \"organization_owner_uid\",\n                \"gender\": \"MALE\",\n                \"city\": \"PARIS\",\n                \"country_code_iso2\": \"FR\",\n                \"birthdate\": {\n                    \"year\": 1992,\n                    \"month\": 1,\n                    \"day\": 19\n                }\n            }\n        },\n        \"account_type\": \"MOBILE_MONEY\",\n        \"balance\": 0,\n        \"currency\": \"EUR\",\n        \"provider\": \"1433\",\n        \"phone_number\": \"+335600000000\",\n        \"country_code_iso2\": \"FR\",\n        \"is_active\": true,\n        \"creation\": 1234567890\n    }\n]"}],"_postman_id":"42a4671d-83e7-4def-b910-988bcf6bbb96"},{"name":"Get user's account by uid","id":"990c481f-1548-4f91-ac35-546791d91490","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecashup.com/users/accounts/:accountUid","description":"<p>This endpoint allows you to get one of your personnal's account by uid.</p>\n","urlObject":{"path":["users","accounts",":accountUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"accountUid"}]}},"response":[{"id":"9dfd0d17-d63b-451e-9468-f135796af3e1","name":"Get user's account by uid","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/users/accounts/:accountUid","host":["https://api.wecashup.com"],"path":["users","accounts",":accountUid"],"variable":[{"key":"accountUid","value":null}]}},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"auto_generate_uid_by_firebase\",\n    \"owner_uid\": \"user_uid_generated_by_firebase\",\n    \"owner\": {\n        \"uid\": \"user_uid_generated_by_firebase_auth\",\n        \"gender\": \"MALE\",\n        \"email\": \"owner_email\",\n        \"birthdate\": {\n            \"month\": 1,\n            \"year\": 2000,\n            \"day\": 19\n        },\n        \"city\": \"PARIS\",\n        \"country_code_iso2\": \"FR\",\n        \"type\": \"USER\"\n    },\n    \"account_type\": \"MOBILE_MONEY\",\n    \"balance\": 0,\n    \"phone_number\": \"+335600000000\",\n    \"provider\": \"1433\",\n    \"currency\": \"EUR\",\n    \"country_code_iso2\": \"FR\",\n    \"is_active\": true,\n    \"creation\": 1234567890\n}"}],"_postman_id":"990c481f-1548-4f91-ac35-546791d91490"},{"name":"Get organization's account by id","id":"56fa3a98-cc0d-49f3-8afe-ea6ae3ae3265","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/accounts/:accountUid","description":"<p>This endpoint allows you to get one of your organization's account by uid.</p>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"api\" : {\n        \"account\": {\n            \"read\": true\n        \n        }\n    }\n}\n\n</code></pre>","urlObject":{"path":["organizations",":organizationUid","accounts",":accountUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"},{"type":"any","value":null,"key":"accountUid"}]}},"response":[{"id":"2ab46d0c-2cfb-4f1a-a54a-18634a26bced","name":"Get organization's account by id","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/accounts/:accountUid","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","accounts",":accountUid"],"variable":[{"key":"organizationUid","value":null},{"key":"accountUid","value":null}]}},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"uid\": \"auto_generate_uid\",\n    \"owner_uid\": \"organization_uid_generated_by_firebase\",\n    \"owner\": {\n        \"uid\": \"user_uid_generated_by_firebase_auth\",\n        \"email\": \"organization_email\",\n        \"country_code_iso2\": \"FR\",\n        \"type\": \"ORGANIZATION\",\n        \"organization_owner\": {\n            \"uid\": \"organization_owner_uid\",\n            \"gender\": \"MALE\",\n            \"city\": \"PARIS\",\n            \"country_code_iso2\": \"FR\",\n            \"birthdate\": {\n                \"year\": 1992,\n                \"month\": 1,\n                \"day\": 19\n            }\n        }\n    },\n    \"account_type\": \"MOBILE_MONEY\",\n    \"balance\": 0,\n    \"currency\": \"EUR\",\n    \"provider\": \"1433\",\n    \"phone_number\": \"+335600000000\",\n    \"country_code_iso2\": \"FR\",\n    \"is_active\": true,\n    \"creation\": 1234567890\n}"}],"_postman_id":"56fa3a98-cc0d-49f3-8afe-ea6ae3ae3265"},{"name":"Get validation code","id":"b4108d68-923f-46b3-ae0d-ba1811a3ef77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wecashup.com/accounts/:accountUid/code","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["accounts",":accountUid","code"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"accountUid"}]}},"response":[{"id":"b270e7cc-67f3-4d12-91e8-11554c9ea065","name":"Get validation code","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"carrier_id\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/accounts/:accountUid/code","host":["https://api.wecashup.com"],"path":["accounts",":accountUid","code"],"variable":[{"key":"accountUid","value":null}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"A validation code was sent\"\r\n}"}],"_postman_id":"b4108d68-923f-46b3-ae0d-ba1811a3ef77"},{"name":"Validate phone number","id":"df6a1a1f-d958-4a25-a898-14fd849a5c29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wecashup.com/accounts/:accountUid","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["accounts",":accountUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"accountUid"}]}},"response":[{"id":"21532e14-61fb-421b-b89e-0f3ebed366c4","name":"Validate phone number","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"code\": \"validation code got by message (must be a number)\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/accounts/:accountUid","host":["https://api.wecashup.com"],"path":["accounts",":accountUid"],"variable":[{"key":"accountUid","value":null}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Account is now validate\"\r\n}"}],"_postman_id":"df6a1a1f-d958-4a25-a898-14fd849a5c29"}],"id":"6955676a-1005-404e-a9dc-80a584d283fc","description":"<p>This worflow allow you to manage your personnal or organization's accounts</p>\n","_postman_id":"6955676a-1005-404e-a9dc-80a584d283fc","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}}},{"name":"5. Payments","item":[{"name":"Create organization payment","id":"0ee42ecb-9f53-492a-b6b1-07df172d8265","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/organizations/:organizationUid/payments","description":"<p>This endpoint allow you to create new payment request for you organization.</p>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"api\": {\n        \"payment\": {\n            \"write\": true\n        }\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["organizations",":organizationUid","payments"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"80b33d15-a6f0-4e13-8e82-fb7dfea72e01","name":"Create organization request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"relation\": \"ONE_TO_ONE\",\r\n    \"senders\": [\r\n        {\r\n            \"first_name\": \"test\",\r\n            \"last_name\": \"test\",\r\n            \"email\": \"test@gmail.com\",\r\n            \"phone_number\": \"+33600000000\",\r\n            \"provider\": \"carrier_id_from_bank_services\",\r\n            \"vat\": 0,\r\n            \"vat_amount\": 0,\r\n            \"total_amount_vat_ecluded\": 0,\r\n            \"total_amount_vat_included\": 0,\r\n            \"currency\": \"EUR\"\r\n        }\r\n    ],\r\n    \"receivers\": [\r\n        {\r\n            \"first_name\": \"test\",\r\n            \"last_name\": \"test\",\r\n            \"email\": \"test@gmail.com\",\r\n            \"phone_number\": \"+33600000000\",\r\n            \"vat\": 0,\r\n            \"vat_amount\": 0,\r\n            \"total_amount_vat_ecluded\": 0,\r\n            \"total_amount_vat_included\": 0,\r\n            \"currency\": \"EUR\",\r\n            \"provider\": \"carrier_id_from_bank_services\"\r\n        }\r\n    ],\r\n    \"type\": \"CASH_IN\",\r\n    \"payment_method\": \"MOBILE_MONEY\",\r\n    \"webhook_url\": \"http://www.webhook.com\",\r\n    \"country_code_iso2\": \"FR\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/payments","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","payments"],"variable":[{"key":"organizationUid","value":null}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"owner_uid\": \"organization_uid_generated_by_firebase\",\n    \"owner_type\": \"ORGANIZATION\",\n    \"relation\": \"ONE_TO_ONE\",\n    \"senders\": {\n        \"emails\": [\n            \"test@gmail.com\"\n        ],\n        \"phone_numbers\": [\n            \"+33600000000\"\n        ],\n        \"actors\": [\n            {\n                \"first_name\": \"test\",\n                \"last_name\": \"test\",\n                \"email\": \"test@gmail.com\",\n                \"phone_number\": \"+33600000000\",\n                \"vat\": 0,\n                \"vat_amount\": 0,\n                \"total_amount_vat_ecluded\": 0,\n                \"total_amount_vat_included\": 0,\n                \"currency\": \"EUR\",\n                \"provider\": \"carrier_id_from_bank_services\"\n            }\n        ]\n    },\n    \"receivers\": {\n        \"emails\": [\n            \"test@gmail.com\"\n        ],\n        \"phone_numbers\": [\n            \"+33600000000\"\n        ],\n        \"actors\": [\n            {\n                \"first_name\": \"test\",\n                \"last_name\": \"test\",\n                \"email\": \"test@gmail.com\",\n                \"phone_number\": \"+33600000000\",\n                \"vat\": 0,\n                \"vat_amount\": 0,\n                \"total_amount_vat_ecluded\": 0,\n                \"total_amount_vat_included\": 0,\n                \"currency\": \"EUR\",\n                \"provider\": \"carrier_id_from_bank_services\"\n            }\n        ]\n    },\n    \"type\": \"CASH_IN\",\n    \"payment_method\": \"MOBILE_MONEY\",\n    \"webhook_url\": \"webhook.com\",\n    \"country_code_iso2\": \"FR\"\n}"}],"_postman_id":"0ee42ecb-9f53-492a-b6b1-07df172d8265"},{"name":"Create user's payment","id":"f6b95e40-279f-4bc1-9f44-7281e9fd4cd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/payments","description":"<p>This endpoint allow you to create a personnal payment request.</p>\n","urlObject":{"path":["users","payments"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"2616df4e-df4f-4d9f-8403-5762561c735d","name":"Create user payment request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"country_code_iso2\": \"FR\",\r\n    \"relation\": \"ONE_TO_ONE, MANY_TO_ONE, ONE_TO_MANY\",\r\n    \"senders\": [\r\n        {\r\n            \"first_name\": \"test\",\r\n            \"last_name\": \"test\",\r\n            \"email\": \"test@gmail.com\",\r\n            \"phone_number\": \"+33600000000\",\r\n            \"provider\": \"carrier_id_from_bank_services\",\r\n            \"vat\": 0,\r\n            \"vat_amount\": 0,\r\n            \"total_amount_vat_ecluded\": 0,\r\n            \"total_amount_vat_included\": 0,\r\n            \"currency\": \"EUR\"\r\n        }\r\n    ],\r\n    \"receivers\": [\r\n        {\r\n            \"first_name\": \"test\",\r\n            \"last_name\": \"test\",\r\n            \"email\": \"test@gmail.com\",\r\n            \"phone_number\": \"+33600000000\",\r\n            \"vat\": 0,\r\n            \"vat_amount\": 0,\r\n            \"total_amount_vat_ecluded\": 0,\r\n            \"total_amount_vat_included\": 0,\r\n            \"currency\": \"EUR\",\r\n            \"provider\": \"carrier_id_from_bank_services\"\r\n        }\r\n    ],\r\n    \"type\": \"CASH_IN\",\r\n    \"payment_method\": \"MOBILE_MONEY\",\r\n    \"webhook_url\": \"http://www.webhook.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/payments"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"owner_uid\": \"user_uid_generated_by_firebase\",\n    \"owner_type\": \"USER\",\n    \"country_code_iso2\": \"FR\",\n    \"relation\": \"ONE_TO_ONE, MANY_TO_ONE, ONE_TO_MANY\",\n    \"senders\": {\n        \"emails\": [\n            \"test@gmail.com\"\n        ],\n        \"phone_numbers\": [\"+33600000000\"],\n        \"actors\": [\n            {\n                \"first_name\": \"test\",\n                \"last_name\": \"test\",\n                \"email\": \"test@gmail.com\",\n                \"phone_number\": \"+33600000000\",\n                \"vat\": 0,\n                \"vat_amount\": 0,\n                \"total_amount_vat_ecluded\": 0,\n                \"total_amount_vat_included\": 0,\n                \"currency\": \"EUR\",\n                \"provider\": \"carrier_id_from_bank_services\"\n            }\n        ]\n    },\n    \"receivers\": {\n        \"emails\": [\n            \"test@gmail.com\"\n        ],\n        \"phone_numbers\": [\"+33600000000\"],\n        \"actors\": [\n            {\n                \"first_name\": \"test\",\n                \"last_name\": \"test\",\n                \"email\": \"test@gmail.com\",\n                \"phone_number\": \"+33600000000\",\n                \"vat\": 0,\n                \"vat_amount\": 0,\n                \"total_amount_vat_ecluded\": 0,\n                \"total_amount_vat_included\": 0,\n                \"currency\": \"EUR\",\n                \"provider\": \"carrier_id_from_bank_services\"\n            }\n        ]\n    },\n    \"type\": \"CASH_IN\",\n    \"payment_method\": \"MOBILE_MONEY\",\n    \"webhook_url\": \"webhook.com\"\n}"}],"_postman_id":"f6b95e40-279f-4bc1-9f44-7281e9fd4cd6"},{"name":"Create anonymous payment","id":"542fc991-4a5a-4102-9d07-fb08c7bc615b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/payments","description":"<p>This endpoint allow you to create a payment request even if you don't have a WeCashUp.</p>\n<p>If you use this endpoint you will not receive notifications on payment's evolution.</p>\n","urlObject":{"path":["payments"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"d3be83a7-74f8-4d46-8fac-985feacb2355","name":"Create anonymous payment request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"country_code_iso2\": \"FR\",\r\n    \"relation\": \"ONE_TO_ONE, MANY_TO_ONE, ONE_TO_MANY\",\r\n    \"senders\": [\r\n        {\r\n            \"first_name\": \"test\",\r\n            \"last_name\": \"test\",\r\n            \"email\": \"test@gmail.com\",\r\n            \"phone_number\": \"+33600000000\",\r\n            \"provider\": \"carrier_id_from_bank_services\",\r\n            \"vat\": 0,\r\n            \"vat_amount\": 0,\r\n            \"total_amount_vat_ecluded\": 0,\r\n            \"total_amount_vat_included\": 0,\r\n            \"currency\": \"EUR\"\r\n        }\r\n    ],\r\n    \"receivers\": [\r\n        {\r\n            \"first_name\": \"test\",\r\n            \"last_name\": \"test\",\r\n            \"email\": \"test@gmail.com\",\r\n            \"phone_number\": \"+33600000000\",\r\n            \"vat\": 0,\r\n            \"vat_amount\": 0,\r\n            \"total_amount_vat_ecluded\": 0,\r\n            \"total_amount_vat_included\": 0,\r\n            \"currency\": \"EUR\",\r\n            \"provider\": \"carrier_id_from_bank_services\"\r\n        }\r\n    ],\r\n    \"type\": \"CASH_IN\",\r\n    \"payment_method\": \"MOBILE_MONEY\",\r\n    \"webhook_url\": \"http://www.webhook.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/payments"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"owner_type\": \"ANONYMOUS\",\n    \"country_code_iso2\": \"FR\",\n    \"relation\": \"ONE_TO_ONE, MANY_TO_ONE, ONE_TO_MANY\",\n    \"senders\": {\n        \"emails\": [\n            \"test@gmail.com\"\n        ],\n        \"phone_numbers\": [\"+33600000000\"],\n        \"actors\": [\n            {\n                \"first_name\": \"test\",\n                \"last_name\": \"test\",\n                \"email\": \"test@gmail.com\",\n                \"phone_number\": \"+33600000000\",\n                \"vat\": 0,\n                \"vat_amount\": \"0\",\n                \"total_amount_vat_ecluded\": 0,\n                \"total_amount_vat_included\": 0,\n                \"currency\": \"EUR\",\n                \"provider\": \"carrier_id_from_bank_services\"\n            }\n        ]\n    },\n    \"receivers\": {\n        \"emails\": [\n            \"test@gmail.com\"\n        ],\n        \"phone_numbers\": [\"+33600000000\"],\n        \"actors\": [\n            {\n                \"first_name\": \"test\",\n                \"last_name\": \"test\",\n                \"email\": \"test@gmail.com\",\n                \"phone_number\": \"+33600000000\",\n                \"vat\": 0,\n                \"vat_amount\": \"0\",\n                \"total_amount_vat_ecluded\": 0,\n                \"total_amount_vat_included\": 0,\n                \"currency\": \"EUR\",\n                \"provider\": \"carrier_id_from_bank_services\"\n            }\n        ]\n    },\n    \"type\": \"CASH_IN\",\n    \"payment_method\": \"MOBILE_MONEY\",\n    \"webhook_url\": \"webhook.com\"\n}"}],"_postman_id":"542fc991-4a5a-4102-9d07-fb08c7bc615b"},{"name":"List organization payments","id":"6e5caf32-11c9-4700-afc8-8715a476c3f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/organizations/:organizationUid/payments","description":"<p>This endpoint allow you to get your organization's payment requests?</p>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"api\": {\n    \"payment\": {\n      \"read\": true\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["organizations",":organizationUid","payments"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"7b6fc9cc-f402-4c87-b894-580b09b1ed3a","name":"List organization's payments and filter by senders","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/payments?sender=sender_email","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","payments"],"query":[{"key":"sender","value":"sender_email"}],"variable":[{"key":"organizationUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"owner_uid\": \"organization_uid_generated_by_firebase\",\n        \"owner_type\": \"ORGANIZATION\",\n        \"country_code_iso2\": \"FR\",\n        \"relation\": \"ONE_TO_ONE, MANY_TO_ONE, ONE_TO_MANY\",\n        \"senders\": {\n            \"emails\": [\n                \"test@gmail.com\"\n            ],\n            \"phone_numbers\": [\"+33600000000\"],\n            \"actors\": [\n                {\n                    \"first_name\": \"test\",\n                    \"last_name\": \"test\",\n                    \"email\": \"test@gmail.com\",\n                    \"phone_number\": \"+33600000000\",\n                    \"vat\": 0,\n                    \"vat_amount\": \"0\",\n                    \"total_amount_vat_ecluded\": 0,\n                    \"total_amount_vat_included\": 0,\n                    \"currency\": \"EUR\",\n                    \"provider\": \"carrier_id_from_bank_services\"\n                }\n            ]\n        },\n        \"receivers\": {\n            \"emails\": [\n                \"test@gmail.com\"\n            ],\n            \"phone_numbers\": [\"+33600000000\"],\n            \"actors\": [\n                {\n                    \"first_name\": \"test\",\n                    \"last_name\": \"test\",\n                    \"email\": \"test@gmail.com\",\n                    \"phone_number\": \"+33600000000\",\n                    \"vat\": 0,\n                    \"vat_amount\": 0,\n                    \"total_amount_vat_ecluded\": 0,\n                    \"total_amount_vat_included\": 0,\n                    \"currency\": \"EUR\",\n                    \"provider\": \"carrier_id_from_bank_services\"\n                }\n            ]\n        },\n        \"type\": \"CASH_IN\",\n        \"payment_method\": \"MOBILE_MONEY\",\n        \"webhook_url\": \"webhook.com\"\n    }\n]"},{"id":"157ca0ca-c5e9-48e0-b2bf-d6dd44e25817","name":"List organization's payments and filter by receiver","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/payments?receiver=receiver_email","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","payments"],"query":[{"key":"receiver","value":"receiver_email"}],"variable":[{"key":"organizationUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"owner_uid\": \"organization_uid_generated_by_firebase\",\n        \"owner_type\": \"ORGANIZATION\",\n        \"country_code_iso2\": \"FR\",\n        \"relation\": \"ONE_TO_ONE, MANY_TO_ONE, ONE_TO_MANY\",\n        \"senders\": {\n            \"emails\": [\n                \"test@gmail.com\"\n            ],\n            \"phone_numbers\": [\"+33600000000\"],\n            \"actors\": [\n                {\n                    \"first_name\": \"test\",\n                    \"last_name\": \"test\",\n                    \"email\": \"test@gmail.com\",\n                    \"phone_number\": \"+33600000000\",\n                    \"vat\": 0,\n                    \"vat_amount\": \"0\",\n                    \"total_amount_vat_ecluded\": 0,\n                    \"total_amount_vat_included\": 0,\n                    \"currency\": \"EUR\",\n                    \"provider\": \"carrier_id_from_bank_services\"\n                }\n            ]\n        },\n        \"receivers\": {\n            \"emails\": [\n                \"test@gmail.com\"\n            ],\n            \"phone_numbers\": [\"+33600000000\"],\n            \"actors\": [\n                {\n                    \"first_name\": \"test\",\n                    \"last_name\": \"test\",\n                    \"email\": \"test@gmail.com\",\n                    \"phone_number\": \"+33600000000\",\n                    \"vat\": 0,\n                    \"vat_amount\": 0,\n                    \"total_amount_vat_ecluded\": 0,\n                    \"total_amount_vat_included\": 0,\n                    \"currency\": \"EUR\",\n                    \"provider\": \"carrier_id_from_bank_services\"\n                }\n            ]\n        },\n        \"type\": \"CASH_IN\",\n        \"payment_method\": \"MOBILE_MONEY\",\n        \"webhook_url\": \"webhook.com\"\n    }\n]"},{"id":"8a36eb80-97bc-4dcc-add0-5efade46443a","name":"List organization's payments and filter by phone number","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/payments?phoneNumber=phoneNumber","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","payments"],"query":[{"key":"phoneNumber","value":"phoneNumber"}],"variable":[{"key":"organizationUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"owner_uid\": \"organization_uid_generated_by_firebase\",\n        \"owner_type\": \"ORGANIZATION\",\n        \"country_code_iso2\": \"FR\",\n        \"relation\": \"ONE_TO_ONE, MANY_TO_ONE, ONE_TO_MANY\",\n        \"senders\": {\n            \"emails\": [\n                \"test@gmail.com\"\n            ],\n            \"phone_numbers\": [\"+33600000000\"],\n            \"actors\": [\n                {\n                    \"first_name\": \"test\",\n                    \"last_name\": \"test\",\n                    \"email\": \"test@gmail.com\",\n                    \"phone_number\": \"+33600000000\",\n                    \"vat\": 0,\n                    \"vat_amount\": \"0\",\n                    \"total_amount_vat_ecluded\": 0,\n                    \"total_amount_vat_included\": 0,\n                    \"currency\": \"EUR\",\n                    \"provider\": \"carrier_id_from_bank_services\"\n                }\n            ]\n        },\n        \"receivers\": {\n            \"emails\": [\n                \"test@gmail.com\"\n            ],\n            \"phone_numbers\": [\"+33600000000\"],\n            \"actors\": [\n                {\n                    \"first_name\": \"test\",\n                    \"last_name\": \"test\",\n                    \"email\": \"test@gmail.com\",\n                    \"phone_number\": \"+33600000000\",\n                    \"vat\": 0,\n                    \"vat_amount\": 0,\n                    \"total_amount_vat_ecluded\": 0,\n                    \"total_amount_vat_included\": 0,\n                    \"currency\": \"EUR\",\n                    \"provider\": \"carrier_id_from_bank_services\"\n                }\n            ]\n        },\n        \"type\": \"CASH_IN\",\n        \"payment_method\": \"MOBILE_MONEY\",\n        \"webhook_url\": \"webhook.com\"\n    }\n]"},{"id":"82f79cf6-acef-49a3-88c7-f61dfd0dddfd","name":"List organization's payments","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/payments","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","payments"],"variable":[{"key":"organizationUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"owner_uid\": \"organization_uid_generated_by_firebase\",\n        \"owner_type\": \"ORGANIZATION\",\n        \"country_code_iso2\": \"FR\",\n        \"relation\": \"ONE_TO_ONE, MANY_TO_ONE, ONE_TO_MANY\",\n        \"senders\": {\n            \"emails\": [\n                \"test@gmail.com\"\n            ],\n            \"phone_numbers\": [\"+33600000000\"],\n            \"actors\": [\n                {\n                    \"first_name\": \"test\",\n                    \"last_name\": \"test\",\n                    \"email\": \"test@gmail.com\",\n                    \"phone_number\": \"+33600000000\",\n                    \"vat\": 0,\n                    \"vat_amount\": \"0\",\n                    \"total_amount_vat_ecluded\": 0,\n                    \"total_amount_vat_included\": 0,\n                    \"currency\": \"EUR\",\n                    \"provider\": \"carrier_id_from_bank_services\"\n                }\n            ]\n        },\n        \"receivers\": {\n            \"emails\": [\n                \"test@gmail.com\"\n            ],\n            \"phone_numbers\": [\"+33600000000\"],\n            \"actors\": [\n                {\n                    \"first_name\": \"test\",\n                    \"last_name\": \"test\",\n                    \"email\": \"test@gmail.com\",\n                    \"phone_number\": \"+33600000000\",\n                    \"vat\": 0,\n                    \"vat_amount\": 0,\n                    \"total_amount_vat_ecluded\": 0,\n                    \"total_amount_vat_included\": 0,\n                    \"currency\": \"EUR\",\n                    \"provider\": \"carrier_id_from_bank_services\"\n                }\n            ]\n        },\n        \"type\": \"CASH_IN\",\n        \"payment_method\": \"MOBILE_MONEY\",\n        \"webhook_url\": \"webhook.com\"\n    }\n]"}],"_postman_id":"6e5caf32-11c9-4700-afc8-8715a476c3f1"},{"name":"List user's payments","id":"e91416fa-1ec5-47b6-9822-66f59603242b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/users/payments","description":"<p>This endpoint allow you to get your personnal payment requests.</p>\n","urlObject":{"path":["users","payments"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"ead5792a-61a6-4ac2-9a7e-2be5759f3d4a","name":"List user's payments and filter by senders","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/users/payments?sender=:sender_email","host":["https://api.wecashup.com"],"path":["users","payments"],"query":[{"key":"sender","value":":sender_email"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n    \"owner_uid\": \"user_uid_generated_by_firebase\",\n    \"owner_type\": \"USER\",\n    \"country_code_iso2\": \"FR\",\n    \"senders\": {\n        \"emails\": [\n            \"test@gmail.com\"\n        ],\n        \"phone_numbers\": [\"+33600000000\"],\n        \"actors\": [\n            {\n                \"first_name\": \"test\",\n                \"last_name\": \"test\",\n                \"email\": \"test@gmail.com\",\n                \"phone_number\": \"+33600000000\",\n                \"vat\": 0,\n                \"vat_amount\": 0,\n                \"total_amount_vat_ecluded\": 0,\n                \"total_amount_vat_included\": 0,\n                \"currency\": \"EUR\",\n                \"provider\": \"carrier_id_from_bank_services\"\n            }\n        ]\n    },\n    \"receivers\": {\n        \"emails\": [\n            \"test@gmail.com\"\n        ],\n        \"phone_numbers\": [\"+33600000000\"],\n        \"actors\": [\n            {\n                \"first_name\": \"test\",\n                \"last_name\": \"test\",\n                \"email\": \"test@gmail.com\",\n                \"phone_number\": \"+33600000000\",\n                \"vat\": 0,\n                \"vat_amount\": 0,\n                \"total_amount_vat_ecluded\": 0,\n                \"total_amount_vat_included\": 0,\n                \"currency\": \"EUR\",\n                \"provider\": \"carrier_id_from_bank_services\"\n            }\n        ]\n    },\n    \"type\": \"CASH_IN\",\n    \"payment_method\": \"MOBILE_MONEY\",\n    \"webhook_url\": \"webhook.com\"\n}\n]"},{"id":"3ef87a6c-4071-4d05-adb1-e14bfb0ed8f8","name":"List all user payments and filter by receiver","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/users/payments?receiver=:receiver_email","host":["https://api.wecashup.com"],"path":["users","payments"],"query":[{"key":"receiver","value":":receiver_email"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"owner_uid\": \"user_uid_generated_by_firebase\",\n        \"owner_type\": \"USER\",\n        \"country_code_iso2\": \"FR\",\n        \"senders\": {\n            \"emails\": [\n                \"test@gmail.com\"\n            ],\n            \"phone_numbers\": [\"+33600000000\"],\n            \"actors\": [\n                {\n                    \"first_name\": \"test\",\n                    \"last_name\": \"test\",\n                    \"email\": \"test@gmail.com\",\n                    \"phone_number\": \"+33600000000\",\n                    \"vat\": 0,\n                    \"vat_amount\": 0,\n                    \"total_amount_vat_ecluded\": 0,\n                    \"total_amount_vat_included\": 0,\n                    \"currency\": \"EUR\",\n                    \"provider\": \"carrier_id_from_bank_services\"\n                }\n            ]\n        },\n        \"receivers\": {\n            \"emails\": [\n                \"test@gmail.com\"\n            ],\n            \"phone_numbers\": [\"+33600000000\"],\n            \"actors\": [\n                {\n                    \"first_name\": \"test\",\n                    \"last_name\": \"test\",\n                    \"email\": \"test@gmail.com\",\n                    \"phone_number\": \"+33600000000\",\n                    \"vat\": 0,\n                    \"vat_amount\": 0,\n                    \"total_amount_vat_ecluded\": 0,\n                    \"total_amount_vat_included\": 0,\n                    \"currency\": \"EUR\",\n                    \"provider\": \"carrier_id_from_bank_services\"\n                }\n            ]\n        },\n        \"type\": \"CASH_IN\",\n        \"payment_method\": \"MOBILE_MONEY\",\n        \"webhook_url\": \"webhook.com\"\n    }\n]"},{"id":"9bb7d390-d314-43db-9b7a-e8d771475e21","name":"List all user payments and filter by phone number","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/users/payments?phoneNumber=:phoneNumber","host":["https://api.wecashup.com"],"path":["users","payments"],"query":[{"key":"phoneNumber","value":":phoneNumber"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"owner_uid\": \"user_uid_generated_by_firebase\",\n        \"owner_type\": \"USER\",\n        \"country_code_iso2\": \"FR\",\n        \"senders\": {\n            \"emails\": [\n                \"test@gmail.com\"\n            ],\n            \"phone_numbers\": [\"+33600000000\"],\n            \"actors\": [\n                {\n                    \"first_name\": \"test\",\n                    \"last_name\": \"test\",\n                    \"email\": \"test@gmail.com\",\n                    \"phone_number\": \"+33600000000\",\n                    \"vat\": 0,\n                    \"vat_amount\": 0,\n                    \"total_amount_vat_ecluded\": 0,\n                    \"total_amount_vat_included\": 0,\n                    \"currency\": \"EUR\",\n                    \"provider\": \"carrier_id_from_bank_services\"\n                }\n            ]\n        },\n        \"receivers\": {\n            \"emails\": [\n                \"test@gmail.com\"\n            ],\n            \"phone_numbers\": [\"+33600000000\"],\n            \"actors\": [\n                {\n                    \"first_name\": \"test\",\n                    \"last_name\": \"test\",\n                    \"email\": \"test@gmail.com\",\n                    \"phone_number\": \"+33600000000\",\n                    \"vat\": 0,\n                    \"vat_amount\": 0,\n                    \"total_amount_vat_ecluded\": 0,\n                    \"total_amount_vat_included\": 0,\n                    \"currency\": \"EUR\",\n                    \"provider\": \"carrier_id_from_bank_services\"\n                }\n            ]\n        },\n        \"type\": \"CASH_IN\",\n        \"payment_method\": \"MOBILE_MONEY\",\n        \"webhook_url\": \"webhook.com\"\n    }\n]"},{"id":"2d3234e1-c404-4291-9f64-d51adba12225","name":"List all user payments","originalRequest":{"method":"GET","header":[],"url":"https://api.wecashup.com/users/payments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"owner_uid\": \"user_uid_generated_by_firebase\",\n        \"owner_type\": \"USER\",\n        \"country_code_iso2\": \"FR\",\n        \"senders\": {\n            \"emails\": [\n                \"test@gmail.com\"\n            ],\n            \"phone_numbers\": [\"+33600000000\"],\n            \"actors\": [\n                {\n                    \"first_name\": \"test\",\n                    \"last_name\": \"test\",\n                    \"email\": \"test@gmail.com\",\n                    \"phone_number\": \"+33600000000\",\n                    \"vat\": 0,\n                    \"vat_amount\": 0,\n                    \"total_amount_vat_ecluded\": 0,\n                    \"total_amount_vat_included\": 0,\n                    \"currency\": \"EUR\",\n                    \"provider\": \"carrier_id_from_bank_services\"\n                }\n            ]\n        },\n        \"receivers\": {\n            \"emails\": [\n                \"test@gmail.com\"\n            ],\n            \"phone_numbers\": [\"+33600000000\"],\n            \"actors\": [\n                {\n                    \"first_name\": \"test\",\n                    \"last_name\": \"test\",\n                    \"email\": \"test@gmail.com\",\n                    \"phone_number\": \"+33600000000\",\n                    \"vat\": 0,\n                    \"vat_amount\": 0,\n                    \"total_amount_vat_ecluded\": 0,\n                    \"total_amount_vat_included\": 0,\n                    \"currency\": \"EUR\",\n                    \"provider\": \"carrier_id_from_bank_services\"\n                }\n            ]\n        },\n        \"type\": \"CASH_IN\",\n        \"payment_method\": \"MOBILE_MONEY\",\n        \"webhook_url\": \"webhook.com\"\n    }\n]"}],"_postman_id":"e91416fa-1ec5-47b6-9822-66f59603242b"},{"name":"Get user's payment by uid","id":"c0adddd5-819b-4da0-bd30-5dfb3a24bdfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecashup.com/users/payments/:paymentUid","description":"<p>This endpoint allow you to get one of your payment requests by uid.</p>\n","urlObject":{"path":["users","payments",":paymentUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"paymentUid"}]}},"response":[{"id":"9e785ec6-f29b-47e6-9592-4c1d5b2609fb","name":"Get user's request by uid","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/users/payments/:paymentUid","host":["https://api.wecashup.com"],"path":["users","payments",":paymentUid"],"variable":[{"key":"paymentUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"owner_uid\": \"user_uid_generated_by_firebase\",\n    \"owner_type\": \"USER\",\n    \"country_code_iso2\": \"FR\",\n    \"senders\": {\n        \"emails\": [\n            \"test@gmail.com\"\n        ],\n        \"phone_numbers\": [\"+33600000000\"],\n        \"actors\": [\n            {\n                \"first_name\": \"test\",\n                \"last_name\": \"test\",\n                \"email\": \"test@gmail.com\",\n                \"phone_number\": \"+33600000000\",\n                \"vat\": 0,\n                \"vat_amount\": 0,\n                \"total_amount_vat_ecluded\": 0,\n                \"total_amount_vat_included\": 0,\n                \"currency\": \"EUR\",\n                \"provider\": \"carrier_id_from_bank_services\"\n            }\n        ]\n    },\n    \"receivers\": {\n        \"emails\": [\n            \"test@gmail.com\"\n        ],\n        \"phone_numbers\": [\"+33600000000\"],\n        \"actors\": [\n            {\n                \"first_name\": \"test\",\n                \"last_name\": \"test\",\n                \"email\": \"test@gmail.com\",\n                \"phone_number\": \"+33600000000\",\n                \"vat\": 0,\n                \"vat_amount\": 0,\n                \"total_amount_vat_ecluded\": 0,\n                \"total_amount_vat_included\": 0,\n                \"currency\": \"EUR\",\n                \"provider\": \"carrier_id_from_bank_services\"\n            }\n        ]\n    },\n    \"type\": \"CASH_IN\",\n    \"payment_method\": \"MOBILE_MONEY\",\n    \"webhook_url\": \"webhook.com\"\n}"}],"_postman_id":"c0adddd5-819b-4da0-bd30-5dfb3a24bdfb"},{"name":"Get organization's payment by uid","id":"394748b4-ea96-4ec7-a427-fb3c1fdaf34d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/payments/:paymentUid","description":"<p>This endpoint allow you to get one of your organization's payment request by uid.</p>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"api\": {\n    \"payment\": {\n      \"read\": true\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["organizations",":organizationUid","payments",":paymentUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"},{"type":"any","value":null,"key":"paymentUid"}]}},"response":[{"id":"f903e34f-82c3-447f-be58-62560dbf5d2f","name":"Get organization's payment by uid","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/payments/:paymentUid","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","payments",":paymentUid"],"variable":[{"key":"organizationUid","value":null},{"key":"paymentUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"owner_uid\": \"organization_uid_generated_by_firebase\",\n    \"owner_type\": \"ORGANIZATION\",\n    \"country_code_iso2\": \"FR\",\n    \"relation\": \"ONE_TO_ONE, MANY_TO_ONE, ONE_TO_MANY\",\n    \"senders\": {\n        \"emails\": [\n            \"test@gmail.com\"\n        ],\n        \"phone_numbers\": [\"+33600000000\"],\n        \"actors\": [\n            {\n                \"first_name\": \"test\",\n                \"last_name\": \"test\",\n                \"email\": \"test@gmail.com\",\n                \"phone_number\": \"+33600000000\",\n                \"vat\": 0,\n                \"vat_amount\": 0,\n                \"total_amount_vat_ecluded\": 0,\n                \"total_amount_vat_included\": 0,\n                \"currency\": \"EUR\",\n                \"provider\": \"carrier_id_from_bank_services\"\n            }\n        ]\n    },\n    \"receivers\": {\n        \"emails\": [\n            \"test@gmail.com\"\n        ],\n        \"phone_numbers\": [\"+33600000000\"],\n        \"actors\": [\n            {\n                \"first_name\": \"test\",\n                \"last_name\": \"test\",\n                \"email\": \"test@gmail.com\",\n                \"phone_number\": \"+33600000000\",\n                \"vat\": 0,\n                \"vat_amount\": 0,\n                \"total_amount_vat_ecluded\": 0,\n                \"total_amount_vat_included\": 0,\n                \"currency\": \"EUR\",\n                \"provider\": \"carrier_id_from_bank_services\"\n            }\n        ]\n    },\n    \"type\": \"CASH_IN\",\n    \"payment_method\": \"MOBILE_MONEY\",\n    \"webhook_url\": \"webhook.com\"\n}"}],"_postman_id":"394748b4-ea96-4ec7-a427-fb3c1fdaf34d"}],"id":"471c3151-ebeb-4c00-9731-8fbf226a76f6","description":"<p>This workflow allow you to create and manage your payments. But before creating your first payment here à some important information.</p>\n<h3 id=\"type\">Type</h3>\n<p>The type is one of the most important field. It will help to handle the payment correctly.</p>\n<p>Here are the list of the accepted types :</p>\n<ul>\n<li>BILL_PAYMENT</li>\n<li>BULK_PAYMENT</li>\n<li>CASH_IN</li>\n<li>CASH_OUT</li>\n<li>AIRTIME</li>\n<li>REFUNDS</li>\n<li>P2P</li>\n<li>NUMBER_OF_ACCOUNTS_ACTIVE_90</li>\n<li>NUMBER_OF_ACCOUNTS_ACTIVE_30</li>\n<li>MERCHANT_PAYMENT</li>\n<li>INTERNATIONAL_REMITTANCE_OUT</li>\n<li>INTERNATIONAL_REMITTANCE_IN</li>\n</ul>\n<h3 id=\"relation\">Relation</h3>\n<p>When you create a payment you have to specify its relation. If you don't choose the right relation your payment may not be managed properly.</p>\n<p>Here are the possible relation types :</p>\n<ol>\n<li>ONE_TO_ONE : if your payment has one receiver and one sender</li>\n<li>MANY_TO_ONE : if your payment has multiple senders for one receiver</li>\n<li>ONE_TO_MANY : if your payment has multiple receivers for one sender</li>\n</ol>\n","_postman_id":"471c3151-ebeb-4c00-9731-8fbf226a76f6","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}}},{"name":"6. Currency rates","item":[{"name":"Retrieve a rate between 2 currencies","id":"d9cc5c22-4e70-492a-bca9-9a9f6a1e4f3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.wecashup.com/rates?from=XAF","urlObject":{"path":["rates"],"host":["https://api.wecashup.com"],"query":[{"key":"from","value":"XAF"}],"variable":[]}},"response":[{"id":"873d1b43-4eeb-45b8-b176-da3a1e370da8","name":"Retrieve a rate between 2 currencies","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/rates?from=EUR&to=XAF","host":["https://api.wecashup.com"],"path":["rates"],"query":[{"key":"from","value":"EUR"},{"key":"to","value":"XAF"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"query\": {\r\n        \"count\": 70,\r\n        \"created\": \"2017-11-01T19:48:24Z\",\r\n        \"lang\": \"en-US\",\r\n        \"results\": {\r\n            \"rate\": [{\r\n                    \"id\": \"EURXAF\",\r\n                    \"Name\": \"EUR/XAF\",\r\n                    \"Rate\": \"656.0\",\r\n                    \"Date\": \"11/1/2021\",\r\n                    \"Time\": \"7:45pm\",\r\n                    \"Ask\": \"0.2957\",\r\n                    \"Bid\": \"0.2928\"\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}"}],"_postman_id":"d9cc5c22-4e70-492a-bca9-9a9f6a1e4f3f"},{"name":"Get availables currencies","id":"ceadfc5c-d120-402c-9331-8a8253b13eda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wecashup.com/rates/currencies","description":"<p>This endpoint allows you to get all the supported currencies by WeCashUp</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["rates","currencies"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ceadfc5c-d120-402c-9331-8a8253b13eda"}],"id":"feef011a-714c-4c23-b7bc-bd31fc852f91","_postman_id":"feef011a-714c-4c23-b7bc-bd31fc852f91","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}}},{"name":"7. Utilities","item":[{"name":"Send app download link","id":"6415f71a-8564-43db-be1f-883c4bddb6aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/app","urlObject":{"path":["app"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"44eab939-aa27-4754-9213-be87767fcdec","name":"Send app download link","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.wecashup.com/app"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"email to download the app send\"\r\n}"}],"_postman_id":"6415f71a-8564-43db-be1f-883c4bddb6aa"},{"name":"Get services","id":"480b8663-9f59-49b8-bca8-14f9b901dc1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.wecashup.com/services","urlObject":{"path":["services"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"480b8663-9f59-49b8-bca8-14f9b901dc1a"}],"id":"c3b5c42d-2cf9-4c50-9064-97fd4678b52b","_postman_id":"c3b5c42d-2cf9-4c50-9064-97fd4678b52b","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}}},{"name":"8. Team Invites","item":[{"name":"Create new organization invite","id":"c866c48c-162d-4ddb-8f78-c118be65bde7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/invites","description":"<p>This endpoint allow you to send an invite to someone for joining your organization.</p>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n   \"api\": {\n       \"invite\":  {\n           \"write\": true\n       }\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["organizations",":organizationUid","invites"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"f7de7f79-0da8-4acd-a95e-e11cbdafebe7","name":"Create new organization invite","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"email\": \"user_to_invite@email.com\",\r\n        \"role_uid\": \"role\"\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/invites","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","invites"],"variable":[{"key":"organizationUid","value":null}]}},"code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"invites\": [\r\n        {\r\n            \"uid\": \"invite_uid_generated_by_firebase\",\r\n            \"sender_uid\": \"organization_uid_generate_by_firebase\",\r\n            \"sender_name\": \"WeCashUp\",\r\n            \"receivert_email\": \"user_to_join@email.com\",\r\n            \"role_uid\": \"optional_role\",\r\n            \"status\": \"PENDING\",\r\n            \"is_deleted\": false,\r\n            \"creation\": 1\r\n        }\r\n    ],\r\n    \"errors\": [\r\n        {\r\n            \"email\": \"failedemail@gmail.com\",\r\n            \"error\": \"error message\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"c866c48c-162d-4ddb-8f78-c118be65bde7"},{"name":"Get organization invites","id":"c5034773-34a0-4ef8-a00c-918b08ede3c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/invites","description":"<p>This endpoint allow you all the invitations your organization sent.</p>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n   \"api\": {\n       \"invite\":  {\n           \"write\": true\n       }\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["organizations",":organizationUid","invites"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"acd20199-e3f4-4983-b92a-781a2ee4c04e","name":"Get organization invites","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/invites","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","invites"],"variable":[{"key":"organizationUid","value":null}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"uid\": \"invite_uid_generated_by_firebase\",\n        \"sender_uid\": \"organization_uid_generate_by_firebase\",\n        \"sender_name\": \"WeCashUp\",\n        \"receivert_email\": \"user_to_join@email.com\",\n        \"role_uid\": \"optional_role\",\n        \"status\": \"PENDING\",\n        \"is_deleted\": false,\n        \"creation\": 1\n    }\n]"}],"_postman_id":"c5034773-34a0-4ef8-a00c-918b08ede3c4"},{"name":"Get user invites","id":"8aff3c96-c67e-4f9a-9610-450c7070e586","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wecashup.com/users/invites","description":"<p>This endpoint allow you to see all the invitations you have received.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["users","invites"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"4727f606-d1d9-4bbb-a577-75880d521c1b","name":"Get user invites","originalRequest":{"method":"GET","header":[],"url":"https://api.wecashup.com/users/invites"},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"uid\": \"invite_uid_generated_by_firebase\",\r\n        \"sender_uid\": \"organization_uid_generate_by_firebase\",\r\n        \"sender_name\": \"WeCashUp\",\r\n        \"receivert_email\": \"user_to_join@email.com\",\r\n        \"role_uid\": \"optional_role\",\r\n        \"status\": \"PENDING\",\r\n        \"is_deleted\": false,\r\n        \"creation\": 1\r\n    }\r\n]"}],"_postman_id":"8aff3c96-c67e-4f9a-9610-450c7070e586"},{"name":"Accept or reject invite","id":"0c75b68d-302b-4ccd-9435-13305c16a8d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wecashup.com/users/invites/:inviteUid","description":"<p>This endepoint allow you to accept or reject an invititation.</p>\n<p>To accept an invitation you have to send :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"accept\": true\n}\n\n</code></pre>\n<p>To reject an invitation you have to send</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"accept\": false\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["users","invites",":inviteUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"inviteUid"}]}},"response":[{"id":"1f82da5f-d866-40bc-9c8e-024f42430b81","name":"Accept or reject invite","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"accept\": true\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/users/invites/:inviteUid","host":["https://api.wecashup.com"],"path":["users","invites",":inviteUid"],"variable":[{"key":"inviteUid","value":null}]}},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"uid\": \"invite_uid_generated_by_firebase\",\r\n    \"sender_uid\": \"organization_uid_generate_by_firebase\",\r\n    \"sender_name\": \"WeCashUp\",\r\n    \"receivert_email\": \"user_to_join@email.com\",\r\n    \"role_uid\": \"optional_role\",\r\n    \"status\": \"ACCEPTED\",\r\n    \"is_deleted\": false,\r\n    \"creation\": 1,\r\n    \"final_status_date\": 2\r\n}"}],"_postman_id":"0c75b68d-302b-4ccd-9435-13305c16a8d8"},{"name":"Delete invite","id":"01efce8d-0f25-4ae8-9b9c-db17bcd9da9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/invites/:inviteUid","description":"<p>This endpoint allow you to delete an invitations that you organization has sent.</p>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"api\": {\n        \"invite\": {\n            \"delete\": true\n        \n        }\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["organizations",":organizationUid","invites",":inviteUid"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"},{"type":"any","value":null,"key":"inviteUid"}]}},"response":[{"id":"25eeb227-8bca-4d99-aa71-4ddb8e2e7a09","name":"Delete invite","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/invites/:inviteUid","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","invites",":inviteUid"],"variable":[{"key":"organizationUid","value":null},{"key":"inviteUid","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"true"}],"_postman_id":"01efce8d-0f25-4ae8-9b9c-db17bcd9da9e"}],"id":"ef2c012a-97f4-4c49-947b-f8df6312bb93","description":"<p>This workflow allow you to manage invitations</p>\n","_postman_id":"ef2c012a-97f4-4c49-947b-f8df6312bb93","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}}},{"name":"WCU Coins","item":[{"name":"Buy organization WCU coins","id":"9581fd43-cfe9-4dd3-adc3-13f35951deb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/coins","description":"<p>This endpoint allows you to buy WCU coins for your organizations</p>\n<p>To use this endpoint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"api\": {\n    \"coin\": {\n      \"read\": true\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["organizations",":organizationUid","coins"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"21a27363-a920-4965-9eed-1415305f7014","name":"Buy WCU coins with cash","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"coins","value":"100","description":"Number of coins needed","type":"text"},{"key":"currency","value":"","description":"Currency you want to use","type":"text"},{"key":"payment_proof","description":"Proof of payment. PDF or image (JPEG,PNG etc...)","type":"file","value":null},{"key":"payment_method","value":"CASH","type":"text"},{"key":"details","value":"","type":"text"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/coins","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","coins"],"variable":[{"key":"organizationUid","value":null}]}},"code":201,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"owner_type\": \"ORGANIZATION\",\r\n    \"owner_uid\": \"organization_uid_generated_by_firebase\",\r\n    \"owner_email\": \"organization_email\",\r\n    \"payment_method\": \"CASH\",\r\n    \"relation\": \"ONE_TO_ONE\",\r\n    \"financial_status\": \"PENDING\",\r\n    \"processing_status\": \"CREATED\",\r\n    \"type\": \"WCU_COINS\",\r\n    \"receivers\": {\r\n        \"actors\": [\r\n            {\r\n                \"name\": \"WeCashUp\"\r\n            }\r\n        ]\r\n    },\r\n    \"senders\": {\r\n        \"emails\": [\r\n            \"organization_email\"\r\n        ],\r\n        \"actors\": [\r\n            {\r\n                \"email\": \"organization_email\",\r\n                \"name\": \"MY_ORGANIZATION\",\r\n                \"status\": \"PENDING\",\r\n                \"country_code_iso2\": \"FR\",\r\n                \"payment_proof_url\": \"url_to_payment_proof_in_firebase_storage\",\r\n                \"vat\": 20,\r\n                \"total_amount_vat_excluded\": 25000,\r\n                \"vat_amount\": 2000,\r\n                \"total_amount_vat_included\": 27000,\r\n                \"currency\": \"XAF\"\r\n            }\r\n        ]\r\n    },\r\n    \"products\": [\r\n        {\r\n            \"name\": \"coins\",\r\n            \"quantity\": 500,\r\n            \"vat\": 20,\r\n            \"unit_price_vat_excluded\": 50,\r\n            \"total_amount_vat_excluded\": 25000,\r\n            \"vat_amount\": 2000,\r\n            \"total_amount_vat_included\": 27000\r\n        }\r\n    ],\r\n    \"timestamps\": {\r\n        \"creation\": 12345000\r\n    }\r\n}"},{"id":"7c4520cb-3438-40a6-b1a1-34ba51185854","name":"Buy WCU coins with Mobile Money","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"coins","value":"","type":"text"},{"key":"payment_method","value":"MOBILE_MONEY","type":"text"},{"key":"phone_number","value":"","description":"Phone number you will use to send money","type":"text"},{"key":"currency","value":"","type":"text"}]},"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/coins","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","coins"],"variable":[{"key":"organizationUid","value":null}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"9581fd43-cfe9-4dd3-adc3-13f35951deb4"},{"name":"Get organization's coins","id":"ec53dc2d-1e8b-43cd-8959-f738397edf5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wecashup.com/organizations/:organizationUid/coins","description":"<p>This endpoint allows you get your number of organization's coins left</p>\n<p>To use this endpooint you need the accreditation :</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"api\" : {\n        \"coin\": {\n            \"read\": true\n        }\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["organizations",":organizationUid","coins"],"host":["https://api.wecashup.com"],"query":[],"variable":[{"type":"any","value":null,"key":"organizationUid"}]}},"response":[{"id":"309b2d57-2b56-41af-a675-7077ed28c9ed","name":"Get organization's coins","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/organizations/:organizationUid/coins","host":["https://api.wecashup.com"],"path":["organizations",":organizationUid","coins"],"variable":[{"key":"organizationUid","value":null}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"coins\": 500,\r\n    \"is_premium\": true\r\n}"}],"_postman_id":"ec53dc2d-1e8b-43cd-8959-f738397edf5a"},{"name":"Get WCU Coin's price","id":"7c3fd69e-f090-4271-843a-335dc56446c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.wecashup.com/coins","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}},"urlObject":{"path":["coins"],"host":["https://api.wecashup.com"],"query":[],"variable":[]}},"response":[{"id":"19b708e3-ffb4-42b1-8fec-5ce1bc072984","name":"Get WCU Coin's price","originalRequest":{"method":"GET","header":[],"url":"https://api.wecashup.com/coins"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"AUD\": 0.11771335055099831,\r\n    \"ILS\": 0.31669192432552723,\r\n    \"RUB\": 5.298909357280448,\r\n    \"BHD\": 0.034100614993952026,\r\n    \"JPY\": 10.222574060504552,\r\n    \"SAR\": 0.3391392526391003,\r\n    \"BGN\": 0.1496569025714408,\r\n    \"KES\": 9.338337686243806,\r\n    \"CAD\": 0.11616614546789401,\r\n    \"KWD\": 0.027339938983380337,\r\n    \"ZAR\": 1.1467271306832256,\r\n    \"SEK\": 0.7555013797268396,\r\n    \"HRK\": 0.5764336226999376,\r\n    \"MXN\": 1.7383062055584637,\r\n    \"CHF\": 0.0891006090432927,\r\n    \"CZK\": 1.955750595174021,\r\n    \"NZD\": 0.1295578181302589,\r\n    \"THB\": 2.96078592996628,\r\n    \"DKK\": 0.567421885525676,\r\n    \"NOK\": 0.7527704360913557,\r\n    \"TRY\": 0.34691277602600706,\r\n    \"EUR\": 0.07621951219512195,\r\n    \"OMR\": 0.03482469077931228,\r\n    \"UGX\": 328.5323801513877,\r\n    \"HKD\": 0.7069799851138294,\r\n    \"GBP\": 0.0614100490067912,\r\n    \"HUF\": 23.870814968719685,\r\n    \"PLN\": 0.32015185340262,\r\n    \"AED\": 0.33188267857040443,\r\n    \"QAR\": 0.33387144507040145,\r\n    \"USD\": 0.09038876453483873,\r\n    \"RON\": 0.35295798557559543,\r\n    \"XAF\": 50,\r\n    \"XOF\": 50\r\n}"},{"id":"41d6c160-b64a-4985-836c-e23746558f50","name":"Get WCU Coin's price for specific currency","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.wecashup.com/coins?currency=EUR","host":["https://api.wecashup.com"],"path":["coins"],"query":[{"key":"currency","value":"EUR"}]}},"code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"EUR\": 0.07621951219512195\r\n}"}],"_postman_id":"7c3fd69e-f090-4271-843a-335dc56446c7"}],"id":"0934e08b-6153-42b6-ba6f-04f26d32efeb","_postman_id":"0934e08b-6153-42b6-ba6f-04f26d32efeb","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"8ab9eb80-ee77-459a-a151-79102eae3a03","id":"8ab9eb80-ee77-459a-a151-79102eae3a03","name":"WeCashUp Bank - API reference","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[]}},"event":[{"listen":"prerequest","script":{"id":"cc031435-434e-4866-aa60-4f66ffb01f2d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2206ca3e-c7e2-4434-9076-47d2d4dfe507","type":"text/javascript","exec":[""]}}],"variable":[{"key":"wecashup_base_url","value":"https://api.wecashup.com"},{"key":"wecashup_dev_url","value":"https://europe-west3-wecashup-bank.cloudfunctions.net/app","type":"string"},{"key":"wecashup_prod_url","value":"https://europe-west3-wcu-firestore.cloudfunctions.net/app","type":"string"}]}