{"info":{"_postman_id":"0912c05c-c4a1-4dd7-8ce4-f3f0f9f31b47","name":"Ignico API Documentation","description":"<html><head></head><body><p>Each Ignico instance exposes API for developers to consume in their applications.</p>\n<p>The API allows you to automate some tasks you typically would do through Ignico web app interface like:</p>\n<ul>\n<li>batch import of your data to your app,</li>\n<li>get your calculation results, user actions, rewards etc.</li>\n</ul>\n<p>You can check here what resources you can interact with and how your requests should look like.</p>\n<h2 id=\"authorization\">Authorization</h2>\n<p>If you are a customer and have your own Ignico workspace set, you or one of your administrators have to create an API Key first.</p>\n<p>To access any endpoint (except fetching access token) you have to be authorized. We use <a href=\"https://tools.ietf.org/html/rfc6749\">The OAuth 2.0 Authorization Framework</a> to grant you access.</p>\n<h2 id=\"conventions\">Conventions</h2>\n<p>All communication is done in REST way and JSON format is used for each request and response.</p>\n<p>Every endpoint conforms to open source JSON API 1.0 Specification. You can find everything you need to know about this format in official docs on <a href=\"http://jsonapi.org\">http://jsonapi.org</a>.</p>\n<h2 id=\"filtering\">Filtering</h2>\n<p>JSON API does not impose filtering params format (<a href=\"http://jsonapi.org/format/#fetching-filtering\">http://jsonapi.org/format/#fetching-filtering</a>) so we chose to use it in array like notation.</p>\n<p>To use a filter <code>someFilter</code> you need to send it as <code>filter[someFilter]=someValue</code> query parameter.</p>\n<p>Of course you can combine multiple filters like this:</p>\n<p><code>?filter[someFilter]=someValue&amp;filter[otherFilter]=otherValue</code></p>\n<h2 id=\"pagination\">Pagination</h2>\n<p>JSON API is agnostic about pagination strategy (<a href=\"http://jsonapi.org/format/#fetching-pagination\">http://jsonapi.org/format/#fetching-pagination</a>) too so we chose to use page-based strategy.</p>\n<p>By default you will fetch first page and first 25 records (other default page size can be specified by endpoints). You can get information about total records count, current page or current page size from <code>meta</code> (<a href=\"http://jsonapi.org/format/#document-meta\">http://jsonapi.org/format/#document-meta</a>) information.</p>\n<p>To fetch other pages or more data you need to send it as <code>page[number]=2&amp;page[size]=10</code> query parameters.</p>\n<p>Maximum page size may be limited and can be specified by endpoints to prevent sending too much data over single request.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4434021","collectionId":"0912c05c-c4a1-4dd7-8ce4-f3f0f9f31b47","publishedId":"RW89KUij","public":true,"customColor":{"top-bar":"FAFAFA","right-sidebar":"1D1B50","highlight":"469DE1"},"publishDate":"2018-05-28T08:26:00.000Z"},"item":[{"name":"Authorization","item":[{"name":"Issue new access token","event":[{"listen":"test","script":{"id":"2977f68a-4591-416e-a28f-af08d9d171d0","type":"text/javascript","exec":["tests[\"Successful POST request\"] = responseCode.code === 200;","","var jsonData = JSON.parse(responseBody);","var schema = {"," \"access_token\": {","   \"type\": \"string\""," }","};","tests[\"Issued Access Token\"] = tv4.validate(jsonData, schema);","","if (tv4.error) {","    console.log(\"Validation failed: \", tv4.error);   ","}","","tests[\"Issued Bearer token\"] = jsonData.token_type == \"Bearer\";","","postman.setGlobalVariable(\"access_token\", jsonData.access_token);",""]}}],"id":"5db785df-c269-4126-a8dd-d59164d3aa33","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Accept","value":"application/json"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text","description":"<p>Currently this is the only one available grant type</p>\n"},{"key":"client_id","value":"{{client_id}}","type":"text"},{"key":"client_secret","value":"{{client_secret}}","type":"text"}]},"url":"https://{{workspace}}.igni.co/api/v1/oauth2/token","description":"<p>Sign in using OAuth2 client credentials grant and fetch access token</p>\n","urlObject":{"protocol":"https","path":["api","v1","oauth2","token"],"host":["{{workspace}}","igni","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"5db785df-c269-4126-a8dd-d59164d3aa33"}],"id":"6e1f6d1d-0683-47d3-a29e-60ccb681f800","description":"<p>To interact with other endpoints your requests have to be authorized using OAuth2 access token.</p>\n<p>To obtain a token your application can get it in exchange for API Keys using client credentials grant (id and secret).</p>\n","event":[{"listen":"prerequest","script":{"id":"4f96c7b1-8c43-4c31-ab34-36d8c87725a3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0c6e3768-a1ac-427a-8fc3-6210609c54c4","type":"text/javascript","exec":[""]}}],"_postman_id":"6e1f6d1d-0683-47d3-a29e-60ccb681f800"},{"name":"Resources","item":[{"name":"Actions","item":[{"name":"List all actions","event":[{"listen":"test","script":{"id":"c8719738-ab1a-485e-a80d-fcfbea5bb25d","type":"text/javascript","exec":["tests[\"Successful request\"] = responseCode.code === 200;"]}}],"id":"0932ca31-b067-44ab-9a62-4ecab10539e6","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://{{workspace}}.igni.co/api/v1/actions","description":"<p><strong>Available filters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>Action UUID</td>\n</tr>\n<tr>\n<td>cancelled</td>\n<td>int</td>\n<td>1 = true, 0 = false</td>\n</tr>\n<tr>\n<td>performerEmail</td>\n<td>string</td>\n<td>E-mail of user performing actions</td>\n</tr>\n<tr>\n<td>paramsValueGreaterEqual</td>\n<td>mixed</td>\n<td><code>&gt;=</code> Value that can be compared with Action value (if exists)</td>\n</tr>\n<tr>\n<td>paramsValueLessEqual</td>\n<td>mixed</td>\n<td><code>&lt;=</code> Value that can be compared with Action value (if exists)</td>\n</tr>\n<tr>\n<td>takenAtGreaterEqual</td>\n<td>string</td>\n<td><code>&gt;=</code> Date when Action was taken (<code>YYYY-MM-DD hh:mm:ss</code> 24hr format)</td>\n</tr>\n<tr>\n<td>takenAtLessEqual</td>\n<td>string</td>\n<td><code>&lt;=</code> Date when Action was taken (<code>YYYY-MM-DD hh:mm:ss</code> 24hr format)</td>\n</tr>\n<tr>\n<td>cancelledAtGreaterEqual</td>\n<td>string</td>\n<td><code>&gt;=</code> Date when Action was cancelled (<code>YYYY-MM-DD hh:mm:ss</code> 24hr format)</td>\n</tr>\n<tr>\n<td>cancelledAtLessEqual</td>\n<td>string</td>\n<td><code>&lt;=</code> Date when Action was cancelled (<code>YYYY-MM-DD hh:mm:ss</code> 24hr format)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Available sortings</strong></p>\n<ul>\n<li>id</li>\n<li>cancelled</li>\n<li>takenAt</li>\n<li>createdAt</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","actions"],"host":["{{workspace}}","igni","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"0932ca31-b067-44ab-9a62-4ecab10539e6"},{"name":"Fetch single action","event":[{"listen":"test","script":{"id":"f88da998-7fbc-458c-9acc-41f1ce3ddd37","type":"text/javascript","exec":["tests[\"Successful request\"] = responseCode.code === 200;"]}}],"id":"2e74e1d0-1895-41ab-97b9-6fcc66074545","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://{{workspace}}.igni.co/api/v1/actions/{{action_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","actions","{{action_id}}"],"host":["{{workspace}}","igni","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"2e74e1d0-1895-41ab-97b9-6fcc66074545"},{"name":"Create an action","event":[{"listen":"test","script":{"id":"6a4b5f0d-3f74-47d1-a565-3732d636a254","type":"text/javascript","exec":["tests[\"Successful request\"] = responseCode.code === 200;"]}}],"id":"d8299de6-77fe-4085-a89b-ebac77daad82","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"action\",\n    \"attributes\": {\n      \"type\": \"action_type\",\n      \"title\": \"action_title\",\n      \"takenAt\": \"YYYY-MM-DD HH:MM:SS\",\n      \"performer\": {\n        \"email\": \"some_email\"\n      },\n      \"params\": {\n        \"value\": \"some_value\"\n      }\n    }\n  }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/actions","description":"<p><strong>Request parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string</td>\n<td><code>action</code></td>\n</tr>\n<tr>\n<td>attributes.type</td>\n<td>string</td>\n<td>Slug from declared active Action Types  (e.g. <code>transaction</code>, <code>event</code>, <code>sign-up</code>)</td>\n</tr>\n<tr>\n<td>attributes.title</td>\n<td>string</td>\n<td>Title of the Action</td>\n</tr>\n<tr>\n<td>attributes.takenAt</td>\n<td>string</td>\n<td>Date when the Action was taken</td>\n</tr>\n<tr>\n<td>attributes.performer.email</td>\n<td>string</td>\n<td>Email of the User that performed the Action</td>\n</tr>\n<tr>\n<td>attributes.referrer.email</td>\n<td>string</td>\n<td>Email of the User that referred the Action</td>\n</tr>\n<tr>\n<td>attributes.params.value</td>\n<td>mixed</td>\n<td>Value (only for the Action Type with parameter <code>value</code>)</td>\n</tr>\n<tr>\n<td>attributes.params.points</td>\n<td>mixed</td>\n<td>Points (only for the Action Type with parameter <code>points</code>)</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","actions"],"host":["{{workspace}}","igni","co"],"query":[],"variable":[]}},"response":[{"id":"22bad6f8-b50a-4761-a5b8-592eaa5dac13","name":"Sample event","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"action\",\n    \"attributes\": {\n    \t\"type\": \"event\",\n        \"title\": \"User attended meeting\",\n        \"takenAt\": \"2018-05-06 22:46:25\",\n        \"performer\": {\n        \t\"email\": \"performer@example.com\"\n        }\n    }\n  }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/actions"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"545ac4a0-bbb7-4a0f-a959-485b39fd942a","name":"Sample transaction","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"action\",\n    \"attributes\": {\n    \t\"type\": \"transaction\",\n        \"title\": \"Purchase\",\n        \"takenAt\": \"2018-05-06 22:46:25\",\n        \"performer\": {\n        \t\"email\": \"performer@example.com\"\n        },\n        \"params\": {\n            \"value\": 7419.22\n        }\n    }\n  }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/actions"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"d8299de6-77fe-4085-a89b-ebac77daad82"},{"name":"Cancel the action","event":[{"listen":"test","script":{"id":"7ee90285-3ee4-4fe0-b120-312748d8051a","type":"text/javascript","exec":["tests[\"Successful request\"] = responseCode.code === 200;"]}}],"id":"ce1d014f-99e5-4684-bde0-a28ba0e53865","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"action\",\n    \"attributes\": {\n        \"cancelled\": \"1\"\n    }\n  }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/actions/{{action_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","actions","{{action_id}}"],"host":["{{workspace}}","igni","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce1d014f-99e5-4684-bde0-a28ba0e53865"}],"id":"1decca58-56f3-45a2-9af0-cdbb03a55a90","description":"<p>Manage Actions that your users have taken.</p>\n<p>May it be a sale, a lead, a meeting or any other activity you wish to use to reward your user.</p>\n","event":[{"listen":"prerequest","script":{"id":"f0579576-e2e5-4842-82d4-c534ae7300ac","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3e9bebba-a854-47b1-bd73-dd386b9acf0e","type":"text/javascript","exec":[""]}}],"_postman_id":"1decca58-56f3-45a2-9af0-cdbb03a55a90","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}}},{"name":"Users","item":[{"name":"List all users","event":[{"listen":"test","script":{"id":"22c2d647-8f50-4870-9e94-68d4b0b0501d","type":"text/javascript","exec":[""]}}],"id":"f3365249-0d8b-4149-8afe-7e2356a166cb","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://{{workspace}}.igni.co/api/v1/users","description":"<p><strong>Available filters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>int</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>Email of the searched user</td>\n</tr>\n<tr>\n<td>nameDisplay</td>\n<td>string</td>\n<td>Name displayed eg Blanca Ojeda</td>\n</tr>\n<tr>\n<td>referralCode</td>\n<td>string</td>\n<td>User referral code eg ES-M0IX80J7-21</td>\n</tr>\n<tr>\n<td>countryId</td>\n<td>string</td>\n<td>Country code in ISO 3166-1 alpha-2 standard</td>\n</tr>\n<tr>\n<td>createdFrom</td>\n<td>string</td>\n<td><code>&gt;=</code> Date when User was created (<code>YYYY-MM-DD hh:mm:ss</code> 24hr format)</td>\n</tr>\n<tr>\n<td>createdTo</td>\n<td>string</td>\n<td><code>&lt;=</code> Date when User was created (<code>YYYY-MM-DD hh:mm:ss</code> 24hr format)</td>\n</tr>\n<tr>\n<td>active</td>\n<td>int</td>\n<td>User activity status (1 = true, 0 = false)</td>\n</tr>\n<tr>\n<td>activatedFrom</td>\n<td>string</td>\n<td><code>&gt;=</code> Date when User was activated (<code>YYYY-MM-DD hh:mm:ss</code> 24hr format)</td>\n</tr>\n<tr>\n<td>activatedTo</td>\n<td>string</td>\n<td><code>&lt;=</code> Date when User was activated (<code>YYYY-MM-DD hh:mm:ss</code> 24hr format)</td>\n</tr>\n<tr>\n<td>banned</td>\n<td>int</td>\n<td>User ban status (1 = true, 0 = false)</td>\n</tr>\n<tr>\n<td>bannedFrom</td>\n<td>string</td>\n<td><code>&gt;=</code> Date when User was activated (<code>YYYY-MM-DD hh:mm:ss</code> 24hr format)</td>\n</tr>\n<tr>\n<td>bannedTo</td>\n<td>string</td>\n<td><code>&lt;=</code> Date when User was activated (<code>YYYY-MM-DD hh:mm:ss</code> 24hr format)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Available sortings</strong></p>\n<ul>\n<li>id</li>\n<li>email</li>\n<li>nameDisplay</li>\n<li>referralCode</li>\n<li>countryId</li>\n<li>createdAt</li>\n<li>active</li>\n<li>activatedAt</li>\n<li>banned</li>\n<li>bannedAt</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","users"],"host":["{{workspace}}","igni","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"f3365249-0d8b-4149-8afe-7e2356a166cb"},{"name":"Fetch single user","event":[{"listen":"test","script":{"id":"1c941314-41e3-417b-88c4-c46b95e7453f","type":"text/javascript","exec":[""]}}],"id":"d99c0a7a-b525-4263-a32e-e0f41c1cc868","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://{{workspace}}.igni.co/api/v1/users/{{user_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","users","{{user_id}}"],"host":["{{workspace}}","igni","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"d99c0a7a-b525-4263-a32e-e0f41c1cc868"},{"name":"Create a user","event":[{"listen":"test","script":{"id":"91833fe3-9e11-4e0d-aa15-e24ecd907ec3","exec":[""],"type":"text/javascript"}}],"id":"5f14e2a0-5e6f-4de0-8fea-00774c78c9c1","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"user\",\n    \"attributes\": {\n      \"email\": \"blanca.ojeda@example.net\",\n      \"password\": \"FqdX+8dh4KjyHYuRS\",\n      \"country\": \"US\",\n      \"subject\": {\n        \"person\": {\n          \"firstName\": \"Blanca\",\n          \"lastName\": \"Ojeda\"\n        }\n      },\n      \"referrer\": {\n        \"email\": \"jenna60@example.net\"\n      }\n    }\n  }\n}\n"},"url":"https://{{workspace}}.igni.co/api/v1/users","description":"<p><strong>Required parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>Always will be <code>user</code> value</td>\n</tr>\n<tr>\n<td>attributes.email</td>\n<td>string</td>\n<td>User email</td>\n</tr>\n<tr>\n<td>attributes.country</td>\n<td>string</td>\n<td>Country code in ISO 3166-1 alpha-2 standard</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Additional parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>attributes.active</td>\n<td>int</td>\n<td>Activate user (<code>1</code> = true, <code>0</code> = false)</td>\n</tr>\n<tr>\n<td>attributes.password</td>\n<td>string</td>\n<td>User password</td>\n</tr>\n<tr>\n<td>attributes.referralCode</td>\n<td>string</td>\n<td>User's unique Referral code. It needs to be at least 2 characters long and can contain only letters, digits and hyphens.</td>\n</tr>\n</tbody>\n</table>\n</div><p>If you skip <code>active</code> parameter or set it as <code>0</code>, user will receive an email with activation link.</p>\n<p>If you skip <code>password</code> parameter, user will receive an email with the link to set <code>password</code> on his own.</p>\n<p>If you skip <code>referralCode</code> parameter, a unique referral code will be generated for user.</p>\n<hr />\n<p>Referrer</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>attributes.referrer.email</td>\n<td>string</td>\n<td>Email of the referring user</td>\n</tr>\n<tr>\n<td>attributes.referrer.referralCode</td>\n<td>string</td>\n<td>ReferralCode of the referring user eg <code>PL-D9HC56H9-78</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>In the request you can use only one of the above parameters.</p>\n<p>If you do not choose the <code>referrer</code>, the user will be assigned to the default referrer.</p>\n<hr />\n<p>Account type - Person</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>attributes.subject.person.firstName</td>\n<td>string</td>\n<td>Email of the referring user</td>\n</tr>\n<tr>\n<td>attributes.subject.person.firstName</td>\n<td>string</td>\n<td>ReferralCode of the referring user eg <code>PL-D9HC56H9-78</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>Account type - Company</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>attributes.subject.company.name</td>\n<td>string</td>\n<td>Email of the referring user</td>\n</tr>\n</tbody>\n</table>\n</div><p>Account type - Company with representative person</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>attributes.subject.company.name</td>\n<td>string</td>\n<td>Company name</td>\n</tr>\n<tr>\n<td>attributes.subject.company.representativeSubject.firstName</td>\n<td>string</td>\n<td>Representative person first name</td>\n</tr>\n<tr>\n<td>attributes.subject.company.representativeSubject.lastName</td>\n<td>string</td>\n<td>Representative person last name</td>\n</tr>\n</tbody>\n</table>\n</div><p>If you do not choose the account type, user after logging in will be able to do it on his own.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","users"],"host":["{{workspace}}","igni","co"],"query":[],"variable":[]}},"response":[{"id":"04e74c3b-fe90-485f-a2f1-e18c64e732a4","name":"Create a user with the referrer - Found by referralCode","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"user\",\n    \"attributes\": {\n        \"email\": \"blanca.ojeda@example.net\",\n        \"country\": \"US\",\n        \"referrer\": {\n            \"referrerCode\": \"IS-I8DV62Y8-67\"\n        }\n    }\n  }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"1dc1328a-2d53-46ed-b0c6-4816da438178","name":"Create a user with account type - Person","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"user\",\n    \"attributes\": {\n        \"email\": \"blanca.ojeda@example.net\",\n        \"country\": \"US\",\n        \"subject\": {\n          \"person\": {\n            \"firstName\": \"Blanca\",\n            \"lastName\": \"Ojeda\"\n          }\n        }\n    }\n  }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"23ce1f63-9311-4fd8-a4aa-7d2272bc1551","name":"The simplest form of user registration","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n    \"data\": {\n        \"type\": \"user\",\n        \"attributes\": {\n            \"email\": \"blanca.ojeda@example.net\",\n            \"country\": \"US\"\n        }\n    }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"2655aaf3-ebd0-4548-b523-f0724187ca37","name":"Create a user with account type - Company with representative person","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"user\",\n    \"attributes\": {\n        \"email\": \"blanca.ojeda@example.net\",\n        \"country\": \"US\",\n        \"subject\": {\n          \"company\": {\n          \t\"name\" : \"Ignico\",\n          \t\"representativeSubject\" : {\n            \t\"firstName\": \"Blanca\",\n            \t\"lastName\": \"Ojeda\"\n          \t}\n          }\n        }\n    }\n  }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"3cfb52b0-a5dc-4180-ac9c-9e4f2dc2ed45","name":"Create a user with account type - Company","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"user\",\n    \"attributes\": {\n        \"email\": \"blanca.ojeda@example.net\",\n        \"country\": \"US\",\n        \"subject\": {\n          \"company\": {\n            \"name\": \"Ignico\"\n          }\n        }\n    }\n  }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"4170f155-4ec1-4efd-84fd-52c72ef394b4","name":"Create a user with the password and account type ","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"user\",\n    \"attributes\": {\n        \"email\": \"blanca.ojeda@example.net\",\n        \"password\": \"FqdX+8dh4KjyHYuR\",\n        \"country\": \"US\",\n        \"subject\": {\n          \"person\": {\n            \"firstName\": \"Blanca\",\n            \"lastName\": \"Ojeda\"\n          }\n        }\n    }\n  }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"48753661-51b0-42bd-bd27-fb64b8bcaded","name":"Create a user with specified Referral code","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"user\",\n    \"attributes\": {\n      \"email\": \"blanca.ojeda@example.net\",\n      \"referralCode\": \"blanca\"\n    }\n  }\n}\n"},"url":"https://{{workspace}}.igni.co/api/v1/users"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"4e0ab951-8d44-478f-a5c0-c9019084f26e","name":"Create a user with the referrer - Found by email","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"user\",\n    \"attributes\": {\n        \"email\": \"blanca.ojeda@example.net\",\n        \"country\": \"US\",\n        \"referrer\": {\n            \"email\": \"referrer@example.net\"\n        }\n    }\n  }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"69ebf1b4-8f67-4159-b38f-9972b33818ab","name":"Create a user with password","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"user\",\n    \"attributes\": {\n        \"email\": \"blanca.ojeda@example.net\",\n        \"password\": \"FqdX+8dh4KjyHYuR\",\n        \"country\": \"US\"\n    }\n  }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"87c8e73b-c56d-41f5-a3cc-a0168cede92b","name":"Create a user with the referrer and account type ","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"user\",\n    \"attributes\": {\n        \"email\": \"blanca.ojeda@example.net\",\n        \"country\": \"US\",\n        \"subject\": {\n          \"person\": {\n            \"firstName\": \"Blanca\",\n            \"lastName\": \"Ojeda\"\n          }\n        },\n        \"referrer\": {\n            \"email\": \"madelene.nyberg@example.com\"\n        }\n    }\n  }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"98507704-35ea-43d9-9d1e-a509807193c3","name":"Create a user with the referrer, password and account type","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"user\",\n    \"attributes\": {\n        \"email\": \"blanca.ojeda@example.net\",\n        \"password\": \"FqdX+8dh4KjyHYuR\",\n        \"country\": \"US\",\n        \"subject\": {\n          \"person\": {\n            \"firstName\": \"Blanca\",\n            \"lastName\": \"Ojeda\"\n          }\n        },\n        \"referrer\": {\n            \"email\": \"madelene.nyberg@example.com\"\n        }\n    }\n  }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"ddd504de-52aa-48a7-af84-87c6314d3a00","name":"Create a user with the referrer and password","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"user\",\n    \"attributes\": {\n        \"email\": \"blanca.ojeda@example.net\",\n        \"password\": \"FqdX+8dh4KjyHYuR\",\n        \"country\": \"US\",\n        \"referrer\": {\n            \"email\": \"madelene.nyberg@example.com\"\n        }\n    }\n  }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"5f14e2a0-5e6f-4de0-8fea-00774c78c9c1"}],"id":"d7596372-c727-4cb9-ab1f-2d35c97fa36f","_postman_id":"d7596372-c727-4cb9-ab1f-2d35c97fa36f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}}},{"name":"Wallets","item":[{"name":"List all user wallets","event":[{"listen":"test","script":{"id":"22c2d647-8f50-4870-9e94-68d4b0b0501d","type":"text/javascript","exec":[""]}}],"id":"bba73d93-aa7f-4539-ab7b-df831343bd98","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{workspace}}.igni.co/api/v1/users/wallets","description":"<p><strong>Available filters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>int</td>\n<td>Transaction ID</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Wallet currency e.g. <code>EUR</code></td>\n</tr>\n<tr>\n<td>balanceCurrentGreaterEqual</td>\n<td>string</td>\n<td>Available funds in the wallet are greater or equal than e.g. <code>14.50</code></td>\n</tr>\n<tr>\n<td>balanceCurrentLessEqual</td>\n<td>string</td>\n<td>Available funds in the wallet are less or equal than e.g. <code>14.50</code></td>\n</tr>\n<tr>\n<td>balanceAccountingGreaterEqual</td>\n<td>string</td>\n<td>Wallet balance is greater or equal than e.g. <code>24.70</code></td>\n</tr>\n<tr>\n<td>balanceAccountingLessEqual</td>\n<td>string</td>\n<td>Wallet balance is less or equal than e.g. <code>24.70</code></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Available sortings</strong></p>\n<ul>\n<li>id</li>\n<li>currency</li>\n<li>balanceCurrent</li>\n<li>balanceAccounting</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","users","wallets"],"host":["{{workspace}}","igni","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"bba73d93-aa7f-4539-ab7b-df831343bd98"},{"name":"Fetch single user wallet","event":[{"listen":"test","script":{"id":"22c2d647-8f50-4870-9e94-68d4b0b0501d","type":"text/javascript","exec":[""]}}],"id":"6a042848-3d91-4867-8b6e-7d2f301e2762","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{workspace}}.igni.co/api/v1/users/wallets/{{wallet_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","users","wallets","{{wallet_id}}"],"host":["{{workspace}}","igni","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a042848-3d91-4867-8b6e-7d2f301e2762"}],"id":"e4a4945a-7216-4a84-b406-693cb7af1366","_postman_id":"e4a4945a-7216-4a84-b406-693cb7af1366","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}}},{"name":"Wallet transactions","item":[{"name":"List all wallet transactions","event":[{"listen":"test","script":{"id":"22c2d647-8f50-4870-9e94-68d4b0b0501d","type":"text/javascript","exec":[""]}}],"id":"d303f7bf-09ef-4e03-a1ca-80a08705a341","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{workspace}}.igni.co/api/v1/users/wallets/transactions","description":"<p><strong>Available filters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>int</td>\n<td>Transaction ID</td>\n</tr>\n<tr>\n<td>cancelled</td>\n<td>int</td>\n<td>Transaction cancel status (<code>1</code> = true, <code>0</code> = false)</td>\n</tr>\n<tr>\n<td>realized</td>\n<td>int</td>\n<td>Transaction realize status (<code>1</code> = true, <code>0</code> = false)</td>\n</tr>\n<tr>\n<td>type</td>\n<td>int</td>\n<td>Can be <code>add</code>, <code>sub</code> or <code>period</code></td>\n</tr>\n<tr>\n<td>currency</td>\n<td>string</td>\n<td>Original transaction currency e.g. <code>EUR</code></td>\n</tr>\n<tr>\n<td>amount</td>\n<td>string</td>\n<td>Original transaction value e.g. <code>14.50</code> (before conversion <code>EUR</code> to <code>USD</code>)</td>\n</tr>\n<tr>\n<td>addedAtGreaterEqual</td>\n<td>string</td>\n<td><code>&gt;=</code> Date when Transaction was added (<code>YYYY-MM-DD hh:mm:ss</code> 24hr format)</td>\n</tr>\n<tr>\n<td>addedAtLessEqual</td>\n<td>string</td>\n<td><code>&lt;=</code> Date when Transaction was added (<code>YYYY-MM-DD hh:mm:ss</code> 24hr format)</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Available sortings</strong></p>\n<ul>\n<li>id</li>\n<li>cancelled</li>\n<li>realized</li>\n<li>type</li>\n<li>currency</li>\n<li>amount</li>\n<li>addedAt</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","users","wallets","transactions"],"host":["{{workspace}}","igni","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"d303f7bf-09ef-4e03-a1ca-80a08705a341"},{"name":"Fetch single wallet transaction","event":[{"listen":"test","script":{"id":"22c2d647-8f50-4870-9e94-68d4b0b0501d","type":"text/javascript","exec":[""]}}],"id":"9a6a2349-dcf7-4af5-baf2-1f266fbd94f9","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":""},"url":"https://{{workspace}}.igni.co/api/v1/users/wallets/transactions/{{transaction_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","users","wallets","transactions","{{transaction_id}}"],"host":["{{workspace}}","igni","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"9a6a2349-dcf7-4af5-baf2-1f266fbd94f9"},{"name":"Create a wallet transaction","event":[{"listen":"test","script":{"id":"22c2d647-8f50-4870-9e94-68d4b0b0501d","type":"text/javascript","exec":[""]}}],"id":"546656ec-6032-4af1-965f-9d9d5a77eda3","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"transaction\",\n    \"attributes\": {\n      \"user\": {\n        \"email\": \"example@igni.co\"\n      },\n      \"type\": \"add\",\n      \"amount\": 22.45,\n      \"realized\": true,\n      \"description\": \"Example transaction description\"\n    }\n  }\n}"},"url":"https://{{workspace}}.igni.co/api/v1/users/wallets/transactions","description":"<p><strong>Request parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string</td>\n<td><code>transaction</code></td>\n</tr>\n<tr>\n<td>attributes.user.email</td>\n<td>string</td>\n<td>Email of a user that will be the owner of the transaction</td>\n</tr>\n<tr>\n<td>attributes.type</td>\n<td>string</td>\n<td>Can be <code>add</code> or <code>sub</code></td>\n</tr>\n<tr>\n<td>attributes.amount</td>\n<td>mixed</td>\n<td>Transaction amount e.g <code>16.65</code></td>\n</tr>\n<tr>\n<td>attributes.description</td>\n<td>string</td>\n<td>Transaction description</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Additional parameters</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>realized</td>\n<td>int</td>\n<td>If the value is <code>1</code> the transaction will be automatically marked as realized</td>\n</tr>\n</tbody>\n</table>\n</div><p>You can define the transaction owner also via referral Code</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>attributes.user.referralCode</td>\n<td>string</td>\n<td>Referral code of a user that will be the owner of the transaction</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","users","wallets","transactions"],"host":["{{workspace}}","igni","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"546656ec-6032-4af1-965f-9d9d5a77eda3"},{"name":"Realize the wallet transaction","event":[{"listen":"test","script":{"id":"22c2d647-8f50-4870-9e94-68d4b0b0501d","type":"text/javascript","exec":[""]}}],"id":"189050b5-2a9f-4863-8679-ce5cb5be9e9b","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"transaction\",\n    \"attributes\": {\n      \"realized\": true\n    }\n  }\n}\n"},"url":"https://{{workspace}}.igni.co/api/v1/users/wallets/transactions/{{transaction_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","users","wallets","transactions","{{transaction_id}}"],"host":["{{workspace}}","igni","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"189050b5-2a9f-4863-8679-ce5cb5be9e9b"},{"name":"Cancel the wallet transaction","event":[{"listen":"test","script":{"id":"22c2d647-8f50-4870-9e94-68d4b0b0501d","type":"text/javascript","exec":[""]}}],"id":"d1229c1a-b1c3-48f5-8260-d9b5ad2b9f22","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/vnd.api+json"},{"key":"Accept","value":"application/vnd.api+json"},{"key":"Authorization","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":"{\n  \"data\": {\n    \"type\": \"transaction\",\n    \"attributes\": {\n      \"cancelled\": true\n    }\n  }\n}\n"},"url":"https://{{workspace}}.igni.co/api/v1/users/wallets/transactions/{{transaction_id}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}},"urlObject":{"protocol":"https","path":["api","v1","users","wallets","transactions","{{transaction_id}}"],"host":["{{workspace}}","igni","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1229c1a-b1c3-48f5-8260-d9b5ad2b9f22"}],"id":"a5530d69-bf7b-48e0-aa5d-356f7934b208","_postman_id":"a5530d69-bf7b-48e0-aa5d-356f7934b208","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","name":"Resources","type":"folder"}}}],"id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2","description":"<p>Manage or view your instance resources.</p>\n<p><strong>All endpoints require Bearer access token.</strong></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"8ac39e35-5bcc-464a-b274-01ab154212b7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ab4d2ca8-7cb8-42fe-8e36-393d900cf6ab","type":"text/javascript","exec":[""]}}],"_postman_id":"fea5059a-fdc5-4081-a04c-42f45f0fcac2"}],"event":[{"listen":"prerequest","script":{"id":"7f6cacbd-5cc5-4197-9288-d10c9cf44b63","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fbaad507-45ec-4ae9-b086-aa2d71970b0d","type":"text/javascript","exec":[""]}}]}