{"info":{"_postman_id":"828a6557-624a-43d5-9309-d8fbfbf39e21","name":"GIGAPAY","description":"<html><head></head><body><p>Postman collection for APIs of Gigapay service</p>\n<p>please refer <a href=\"https://developer.gigapay.se/#authentication\">Gigapay doc</a> for more info.</p>\n<p>To start, please set up collection variables like <strong>url</strong>, <strong>token</strong>, <strong>integration-id etc. according to your need</strong></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"13692349","collectionId":"828a6557-624a-43d5-9309-d8fbfbf39e21","publishedId":"UyxkkR3T","public":true,"customColor":{"top-bar":"021C47","right-sidebar":"021C47","highlight":"01173D"},"publishDate":"2022-05-19T16:18:24.000Z"},"item":[{"name":"EMPLOYEE","item":[{"name":"CREATE(EMPLOYEE)","id":"90966ae4-d361-4057-a458-db2f723ec675","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"1","description":"<p>Unique per Integration.</p>\n","type":"text","disabled":true},{"key":"name","value":"test employee","description":"<p>required ,</p>\n","type":"text"},{"key":"email","value":"game124info@gmail.com","description":"<p>Either email or cellphone_number is required.</p>\n","type":"text"},{"key":"country","value":"SWE","description":"<p>ISO-3166 country code where the employee is living and working.</p>\n","type":"text","disabled":true},{"key":"cellphone_number","value":"","description":"<p>Either email or cellphone_number is required</p>\n","type":"text","disabled":true},{"key":"metadata","value":"{\"data\":\" data from your system\"}","description":"<p>JSON encoded data</p>\n","type":"text"}]},"url":"https://api.demo.gigapay.se/v2/employees","description":"<p>This endpoint registers an Employee.</p>\n<p><a href=\"https://developer.gigapay.se/#register-an-employee\">Gigapay doc</a></p>\n","urlObject":{"path":["employees"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"90966ae4-d361-4057-a458-db2f723ec675"},{"name":"LIST(EMPLOYEE)","id":"aac85892-5d8f-4109-b262-8b1726a52a1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.demo.gigapay.se/v2/employees","description":"<p>This endpoint retrieves all Employees.</p>\n<p>Get more info about filters and pagination from Gigapay docs:</p>\n<p><a href=\"https://developer.gigapay.se/#pagination\">Pagination</a></p>\n<p><a href=\"https://developer.gigapay.se/#filtering\">Filtering</a></p>\n<p><a href=\"https://developer.gigapay.se/#list-all-employees\">Employee list</a></p>\n","urlObject":{"path":["employees"],"host":["https://api.demo.gigapay.se/v2"],"query":[{"disabled":true,"description":{"content":"<p>for pagination</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>item count per page</p>\n","type":"text/plain"},"key":"page_size","value":"10"},{"disabled":true,"description":{"content":"<p>true/false (to get only verified or unvarified employees)</p>\n","type":"text/plain"},"key":"verified_at_null","value":"false"},{"disabled":true,"description":{"content":"<p>filter to get the employee created before any timestamp</p>\n","type":"text/plain"},"key":"created_at_before","value":"2022-04-01T05:05:00.084194Z"},{"disabled":true,"key":"seach","value":"asif987patel@gmail.com"}],"variable":[]}},"response":[],"_postman_id":"aac85892-5d8f-4109-b262-8b1726a52a1c"},{"name":"RESEND INVITE(EMPLOYEE)","id":"2261bd88-317c-43e8-867a-c2ae0802448b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"https://api.demo.gigapay.se/v2/employees/1/resend","description":"<p>This endpoint resends an invitation. After resending, you need to wait at least 24 hours before resending again.</p>\n<p><a href=\"https://developer.gigapay.se/#resend-an-invitation\">Gigapay doc</a></p>\n","urlObject":{"path":["employees","1","resend"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"2261bd88-317c-43e8-867a-c2ae0802448b"},{"name":"DELETE(EMPLOYEE)","id":"88e73efc-68f2-401d-bb71-c12811b441b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.demo.gigapay.se/v2/employees/1","description":"<p>This endpoint deletes an Employee. You can not delete an Employee after a Payout has been registered to it.</p>\n<p><a href=\"https://developer.gigapay.se/#delete-a-employee\">Gigapay doc</a></p>\n","urlObject":{"path":["employees","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"88e73efc-68f2-401d-bb71-c12811b441b6"},{"name":"UPDATE(EMPLOYEE)","id":"8874d71c-897d-4fcc-ba98-2fc9929b92cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"1-2-3","description":"<p>Unique per Integration.</p>\n","type":"text","disabled":true},{"key":"name","value":"jhone doe","description":"<p>String</p>\n","type":"text"},{"key":"email","value":"asif987patel@gmail.com","description":"<p>String</p>\n","type":"text"},{"key":"country","value":"SWE","description":"<p>ISO-3166 country code where the employee is living and working.</p>\n","type":"text"},{"key":"cellphone_number","value":"","description":"<p>String</p>\n","type":"text","disabled":true},{"key":"metadata","value":"{\"data\":\" data from your system\",\"more_data\":\"more data from your system\"}","description":"<p>JSON encoded data</p>\n","type":"text"}]},"url":"https://api.demo.gigapay.se/v2/employees/1","description":"<p>This endpoint updates an Employee.</p>\n<p><a href=\"https://developer.gigapay.se/#update-an-employee\">Gigapay doc</a></p>\n","urlObject":{"path":["employees","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"8874d71c-897d-4fcc-ba98-2fc9929b92cd"},{"name":"GET(EMPLOYEE)","id":"e19338bd-51b5-4061-b1dd-8265a46e5386","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.demo.gigapay.se/v2/employees/1","description":"<p>This endpoint retrieves an employee.</p>\n","urlObject":{"path":["employees","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"e19338bd-51b5-4061-b1dd-8265a46e5386"},{"name":"REPLACE(EMPLOYEE)","id":"7e9b3d57-a714-43d7-89a7-bd393d94a27c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"1","description":"<p>Unique per Integration.</p>\n","type":"text","disabled":true},{"key":"name","value":"asif123","description":"<p>required ,</p>\n","type":"text"},{"key":"email","value":"asif@as.sd","description":"<p>Either email or cellphone_number is required.</p>\n","type":"text","disabled":true},{"key":"country","value":"SWE","description":"<p>ISO-3166 country code where the employee is living and working.</p>\n","type":"text","disabled":true},{"key":"cellphone_number","value":"","description":"<p>Either email or cellphone_number is required</p>\n","type":"text","disabled":true},{"key":"metadata","value":"{\"data\":\" data from your system\"}","description":"<p>JSON encoded data</p>\n","type":"text","disabled":true}]},"url":"https://api.demo.gigapay.se/v2/employees/1","description":"<p>This endpoint replaces an Employee.</p>\n<p>this will update the employee's ID as well</p>\n<p><a href=\"https://developer.gigapay.se/#replace-an-employee\">Gigapay doc</a></p>\n","urlObject":{"path":["employees","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e9b3d57-a714-43d7-89a7-bd393d94a27c"}],"id":"f023ce4c-af25-455f-99c7-635f2e8ddfd5","description":"<p>An Employee is an individual performing tasks within your organization, employed or sub-contracted by Gigapay. To add an Employee to your organization you can create an Employee object. The Employee will be notified and Gigapay will verify their identity and working permits.</p>\n","_postman_id":"f023ce4c-af25-455f-99c7-635f2e8ddfd5"},{"name":"WEBHOOK","item":[{"name":"CREATE(WEBHOOK)","id":"4163adba-5aaa-4767-9d8e-40a38a467929","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"1-2-3","description":"<p>Unique per Integration.</p>\n","type":"text","disabled":true},{"key":"url","value":"http://api.workbee.se/api/gigapay/employee-created","description":"<p>required </p>\n","type":"text"},{"key":"events","value":"Employee.created","description":"<p>required , array</p>\n","type":"text"},{"key":"events","value":"Payout.created","description":"<p>required , array</p>\n","type":"text","disabled":true},{"key":"secret_key","value":"vvdfdfbdfbdfbdbdfbdf","description":"<p>32 char random string   </p>\n","type":"text","disabled":true},{"key":"metadata","value":"{\"data\":\" data from your system\"}","description":"<p>JSON encoded data</p>\n","type":"text"}]},"url":"https://api.demo.gigapay.se/v2/webhooks","description":"<p>This endpoint creates a webhook.</p>\n<p><a href=\"https://developer.gigapay.se/#events\">Events list</a></p>\n<p><a href=\"https://developer.gigapay.se/#register-a-webhook\">Gigapay doc</a></p>\n","urlObject":{"path":["webhooks"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"4163adba-5aaa-4767-9d8e-40a38a467929"},{"name":"LIST(WEBHOOK)","id":"734015b1-b5f9-4139-83b4-39de7299df9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.demo.gigapay.se/v2/webhooks?page=1&page_size=10","description":"<p>StartFragment</p>\n<p>This endpoint retrieves all webhooks.</p>\n<p>EndFragment</p>\n<p>Get more info about filters and pagination from Gigapay docs:</p>\n<p><a href=\"https://developer.gigapay.se/#pagination\">Pagination</a></p>\n<p><a href=\"https://developer.gigapay.se/#filtering\">Filtering</a></p>\n<p><a href=\"https://developer.gigapay.se/#list-all-registered-webhooks\">Webhook list</a></p>\n","urlObject":{"path":["webhooks"],"host":["https://api.demo.gigapay.se/v2"],"query":[{"description":{"content":"<p>for pagination</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>item count per page</p>\n","type":"text/plain"},"key":"page_size","value":"10"}],"variable":[]}},"response":[],"_postman_id":"734015b1-b5f9-4139-83b4-39de7299df9d"},{"name":"DELETE(WEBHOOK)","id":"851f6bae-c257-4be8-8dcc-5b12879559a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.demo.gigapay.se/v2/webhooks/1","description":"<p>This endpoint deletes a webhook.</p>\n<p><a href=\"https://developer.gigapay.se/#delete-a-webhook\">Gigapay doc</a></p>\n","urlObject":{"path":["webhooks","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"851f6bae-c257-4be8-8dcc-5b12879559a7"},{"name":"UPDATE(WEBHOOK)","id":"8409eddd-5cf6-4476-9e45-bdcad91ac5e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"1-2-3","description":"<p>Unique per Integration.</p>\n","type":"text","disabled":true},{"key":"url","value":"https://jobmatchr.se/webhooks/payouts/","description":"<p>url</p>\n","type":"text"},{"key":"events","value":"Payout.created","description":"<p> array</p>\n","type":"text","disabled":true},{"key":"metadata","value":"{\"data\":\" data from your system-123\"}","description":"<p>JSON encoded data</p>\n","type":"text","disabled":true},{"key":"secret_key","value":"vvdfdfbdfbdfbdbdfbdf","description":"<p>32 char random string   </p>\n","type":"text","disabled":true}]},"url":"https://api.demo.gigapay.se/v2/webhooks/1","description":"<p>This endpoint updates a webhook.</p>\n<p><a href=\"https://developer.gigapay.se/#update-a-webhook\">Gigapay doc</a></p>\n","urlObject":{"path":["webhooks","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"8409eddd-5cf6-4476-9e45-bdcad91ac5e5"},{"name":"GET(WEBHOOK)","id":"d5933a9e-2994-49b0-98f1-87b58b9dcc9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.demo.gigapay.se/v2/webhooks/1","description":"<p>This endpoint retrieves a webhook.</p>\n","urlObject":{"path":["webhooks","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"d5933a9e-2994-49b0-98f1-87b58b9dcc9d"},{"name":"REPLACE(WEBHOOK)","id":"b49e7c04-e245-40b8-bb5d-45da9e6d99f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"1-2-3","description":"<p>Unique per Integration.</p>\n","type":"text","disabled":true},{"key":"url","value":"https://jobmatchr.se/webhooks/payouts/","description":"<p>url, required</p>\n","type":"text"},{"key":"events","value":"Employee.verified","description":"<p> array</p>\n","type":"text","disabled":true},{"key":"metadata","value":"{\"data\":\" data from your system-123\"}","description":"<p>JSON encoded data</p>\n","type":"text","disabled":true},{"key":"secret_key","value":"vvdfdfbdfbdfbdbdfbdf","description":"<p>32 char random string   </p>\n","type":"text","disabled":true}]},"url":"https://api.demo.gigapay.se/v2/webhooks/1","description":"<p>This endpoint updates a webhook.</p>\n<p><a href=\"https://developer.gigapay.se/#update-a-webhook\">Gigapay doc</a></p>\n","urlObject":{"path":["webhooks","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"b49e7c04-e245-40b8-bb5d-45da9e6d99f2"}],"id":"36493c8f-d665-4cad-bd96-8a82c979615a","description":"<p>An Employee is an individual performing tasks within your organization, employed or sub-contracted by Gigapay. To add an Employee to your organization you can create an Employee object. The Employee will be notified and Gigapay will verify their identity and working permits.</p>\n","_postman_id":"36493c8f-d665-4cad-bd96-8a82c979615a"},{"name":"INTEGRATIONS","item":[{"name":"CREATE(INTEGRATION)","id":"4d7cdc7f-0478-45be-a59b-11a1a9f810b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"1","description":"<p>Unique per Integration.</p>\n","type":"text"},{"key":"name","value":"jhone doe","description":"<p>required ,</p>\n","type":"text"},{"key":"logo","description":"<p>base64 or multipart/form-data encoded image file.</p>\n","type":"file","src":"HtbpP5FIO/photo_2022-05-05_10-59-44.jpg"},{"key":"metadata","value":"{\"data\":\" data from your system\"}","description":"<p>JSON encoded data</p>\n","type":"text"},{"key":"email","value":"jhone.doe@gmail.com","description":"<p>String</p>\n","type":"text"},{"key":"recipient","value":"Pinestreet Technology AB","description":"<p>String</p>\n","type":"text"},{"key":"address_line_1","value":"Malmvägen 8","description":"<p>String</p>\n","type":"text"},{"key":"address_line_2","value":"","description":"<p>String</p>\n","type":"text","disabled":true},{"key":"zip_code","value":"14171","description":"<p>String</p>\n","type":"text"},{"key":"city","value":"Segeltorp","description":"<p>String</p>\n","type":"text"}]},"url":"https://api.demo.gigapay.se/v2/integrations","description":"<p>This endpoint creates an Integration.</p>\n<p>This endpoints supports both JSON and multipart/form-data encoded requests, to facilitate uploading a logo file.</p>\n<p>Only examples with JSON-encoded payload and base64-encoded images are provided, though.</p>\n<p><a href=\"https://developer.gigapay.se/#create-an-integration\">Gigapay doc</a></p>\n","urlObject":{"path":["integrations"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d7cdc7f-0478-45be-a59b-11a1a9f810b0"},{"name":"LIST(INTEGRATION)","id":"05c34ae4-d0b3-4139-b71b-85844f7d49bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.demo.gigapay.se/v2/integrations?page=1","description":"<p>This endpoint retrieves all integrations.</p>\n<p>Get more info about filters and pagination from Gigapay docs:</p>\n<p><a href=\"https://developer.gigapay.se/#pagination\">Pagination</a></p>\n<p><a href=\"https://developer.gigapay.se/#filtering\">Filtering</a></p>\n<p><a href=\"https://developer.gigapay.se/#list-all-integrations\">Integration list</a></p>\n","urlObject":{"path":["integrations"],"host":["https://api.demo.gigapay.se/v2"],"query":[{"description":{"content":"<p>for pagination</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>item count per page</p>\n","type":"text/plain"},"key":"page_size","value":"10"}],"variable":[]}},"response":[],"_postman_id":"05c34ae4-d0b3-4139-b71b-85844f7d49bb"},{"name":"DELETE(INTEGRATION)","id":"ea5779f7-eb82-4786-abdb-b09f0eebfc60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.demo.gigapay.se/v2/integrations/1-2-3","description":"<p>This endpoint deletes an Integration. Note that you can not delete Integrations of type 1 or 2, nor Integrations that have objects associated with them.</p>\n<p><a href=\"https://developer.gigapay.se/#delete-an-integration\">Gigapay doc</a></p>\n","urlObject":{"path":["integrations","1-2-3"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea5779f7-eb82-4786-abdb-b09f0eebfc60"},{"name":"UPDATE(INTEGRATION)","id":"eafd3700-c222-4e4b-81d6-77dc93a4ebce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"1-2-3","description":"<p>Unique per Integration.</p>\n","type":"text"},{"key":"name","value":"jhone doe123","description":"<p>required ,</p>\n","type":"text"},{"key":"logo","description":"<p>base64 or multipart/form-data encoded image file.</p>\n","type":"file","src":"deBgap7mn/XOCAnvadhoindP6pECqBkeKfANHfLqML9ysS5cRD.png"},{"key":"metadata","value":"{\"data\":\" data from your system\"}","description":"<p>JSON encoded data</p>\n","type":"text"},{"key":"email","value":"jhone.doe@gmail.com","description":"<p>String</p>\n","type":"text"},{"key":"recipient","value":"Pinestreet Technology AB","description":"<p>String</p>\n","type":"text"},{"key":"address_line_1","value":"Malmvägen 8","description":"<p>String</p>\n","type":"text"},{"key":"address_line_2","value":"","description":"<p>String</p>\n","type":"text","disabled":true},{"key":"zip_code","value":"14171","description":"<p>String</p>\n","type":"text"},{"key":"city","value":"Segeltorp","description":"<p>String</p>\n","type":"text"}]},"url":"https://api.demo.gigapay.se/v2/integrations/1","description":"<p>This endpoint updates an integration. You may not update Integrations of type 2.</p>\n<p><a href=\"https://developer.gigapay.se/#update-an-integration\">Gigapay doc</a></p>\n","urlObject":{"path":["integrations","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"eafd3700-c222-4e4b-81d6-77dc93a4ebce"},{"name":"GET(INTEGRATION)","id":"2ea03331-4ab5-46f7-ad6f-53fdd2ed9d60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.demo.gigapay.se/v2/integrations/1","description":"<p>This endpoint retrieves an Integration.</p>\n","urlObject":{"path":["integrations","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"2ea03331-4ab5-46f7-ad6f-53fdd2ed9d60"}],"id":"b1bece76-296b-4d25-906a-c249708e0bec","description":"<p>An Employee is an individual performing tasks within your organization, employed or sub-contracted by Gigapay. To add an Employee to your organization you can create an Employee object. The Employee will be notified and Gigapay will verify their identity and working permits.</p>\n","_postman_id":"b1bece76-296b-4d25-906a-c249708e0bec"},{"name":"INVOICE","item":[{"name":"LIST(INVOICE)","id":"3a73e7c5-e1ad-4c0b-af69-da1fdd99eb7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.demo.gigapay.se/v2/invoices?page=1&expand=employee","description":"<p>This endpoint retrieves all Invoices.</p>\n<p>Get more info about filters and pagination from Gigapay docs:</p>\n<p><a href=\"https://developer.gigapay.se/#pagination\">Pagination</a></p>\n<p><a href=\"https://developer.gigapay.se/#filtering\">Filtering</a></p>\n<p><a href=\"https://developer.gigapay.se/#list-all-invoices\">Invoice list</a></p>\n","urlObject":{"path":["invoices"],"host":["https://api.demo.gigapay.se/v2"],"query":[{"description":{"content":"<p>for pagination</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>item count per page</p>\n","type":"text/plain"},"key":"page_size","value":"10"},{"key":"expand","value":"employee"}],"variable":[]}},"response":[],"_postman_id":"3a73e7c5-e1ad-4c0b-af69-da1fdd99eb7c"},{"name":"DELETE(INVOICE)","id":"41734d3b-9324-49eb-9923-b5ddabf52906","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.demo.gigapay.se/v2/invoices/1","description":"<p>This endpoint deletes an Invoice. Note that you can not delete a paid Invoice or an Invoice on credit.</p>\n<p><a href=\"https://developer.gigapay.se/#delete-an-invoice\">Gigapay doc</a></p>\n","urlObject":{"path":["invoices","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"41734d3b-9324-49eb-9923-b5ddabf52906"},{"name":"UPDATE(INVOICE)","id":"ab1ac965-0622-4974-9fce-fe70655c6003","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"1","description":"<p>Unique per Integration.</p>\n","type":"text"},{"key":"metadata","value":"{\"data\":\" data from your system\",\"more_data\":\"more data from your system\"}","description":"<p>JSON encoded data</p>\n","type":"text"}]},"url":"https://api.demo.gigapay.se/v2/invoices/1","description":"<p>This endpoint updates an Invoice.</p>\n<p><a href=\"https://developer.gigapay.se/#update-an-invoice\">Gigapay doc</a></p>\n","urlObject":{"path":["invoices","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab1ac965-0622-4974-9fce-fe70655c6003"},{"name":"GET(INVOICE)","id":"fd723de1-3c8a-462b-94ea-befa2263a1b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.demo.gigapay.se/v2/invoices/1?expand=employee","description":"<p>This endpoint retrieves an Invoice.</p>\n","urlObject":{"path":["invoices","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[{"key":"expand","value":"employee"}],"variable":[]}},"response":[],"_postman_id":"fd723de1-3c8a-462b-94ea-befa2263a1b2"}],"id":"71707563-ae3d-4132-bc16-72d793c07126","description":"<p>An Employee is an individual performing tasks within your organization, employed or sub-contracted by Gigapay. To add an Employee to your organization you can create an Employee object. The Employee will be notified and Gigapay will verify their identity and working permits.</p>\n","_postman_id":"71707563-ae3d-4132-bc16-72d793c07126"},{"name":"PAYOUTS","item":[{"name":"CREATE(PAYOUT)","id":"5c17e309-c39f-484a-a2f5-bc631c473af6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"1233-2333","description":"<p>Unique per Integration.</p>\n","type":"text"},{"key":"amount","value":"120","description":"<p>Either amount, invoiced_amount or cost is required.</p>\n","type":"text"},{"key":"cost","value":"120","description":"<p>Either amount, invoiced_amount or cost is required.</p>\n","type":"text","disabled":true},{"key":"currency","value":"SEK","description":"<p>required , Currency code</p>\n","type":"text"},{"key":"description","value":"payout desc.","description":"<p>required</p>\n","type":"text"},{"key":"employee","value":"1","description":"<p>required</p>\n","type":"text"},{"key":"invoiced_amount","value":"120","description":"<p>Either amount, invoiced_amount or cost is required.</p>\n","type":"text","disabled":true},{"key":"metadata","value":"{\"data\":\" data from your system\"}","description":"<p>JSON encoded data</p>\n","type":"text"},{"key":"start_at","value":"","type":"text","disabled":true},{"key":"end_at","value":"","type":"text","disabled":true}]},"url":"https://api.demo.gigapay.se/v2/payouts","description":"<p>This endpoint registers a payout.</p>\n<p><a href=\"https://developer.gigapay.se/#register-a-payout\">Gigapay doc</a></p>\n","urlObject":{"path":["payouts"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"5c17e309-c39f-484a-a2f5-bc631c473af6"},{"name":"CREATE MULTIPLE(PAYOUT)","id":"cf6b3753-3a50-4a80-99de-501f0484eb6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"employee\": \"f0c00ccf-1a7c-4839-aef7-d924e720590a\",\r\n        \"description\": \"test description\",\r\n        \"invoiced_amount\":120\r\n    },\r\n    {\r\n        \"country\":\"SWE\",\r\n        \"currency\":\"SEK\",\r\n        \"employee\": \"f0c00ccf-1a7c-4839-aef7-d924e720590a\",\r\n        \"description\": \"test description\",\r\n        \"cost\":120,\r\n        \"meta_data\":{\r\n            \"data\":\"data from your system\"\r\n        }\r\n    },\r\n    {\r\n        \"id\":\"wec-vd-23\",\r\n        \"country\":\"SWE\",\r\n        \"currency\":\"SEK\",\r\n        \"employee\": \"f0c00ccf-1a7c-4839-aef7-d924e720590a\",\r\n        \"description\": \"test description\",\r\n        \"cost\":120,\r\n        \"meta_data\":{\r\n            \"data\":\"data from your system\"\r\n        }\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://api.demo.gigapay.se/v2/payouts","description":"<p>This endpoint registers multiple Payouts at once. All payouts will be added to the same Invoice object.</p>\n<p>It takes an Array in payouts structure in JSON format.</p>\n<p><a href=\"https://developer.gigapay.se/#register-multiple-payouts\">Gigapay doc</a></p>\n","urlObject":{"path":["payouts"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf6b3753-3a50-4a80-99de-501f0484eb6a"},{"name":"CREATE INLINE(PAYOUT)","id":"17a00a30-3ebc-4856-9c8f-69e40e075b97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"some-uniq2ue-id-33223-3llvvl\",\r\n    \"currency\": \"SEK\",\r\n    \"description\": \"payout desc.\",\r\n        \"employee\": {\r\n            \"name\":\"asif patel\",\r\n            \"email\": \"SSSS@sdsd.dsd\"\r\n        },\r\n    \"invoiced_amount\": \"1000.00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.demo.gigapay.se/v2/payouts?expand=employee","description":"<p>This endpoint registers a Payout and an Employee at the same time. If an Employee with matching information is already registered, that object will be reused.</p>\n<p><a href=\"https://developer.gigapay.se/?javascript#register-a-payout-with-an-inline-employee\">Gigapay doc</a></p>\n","urlObject":{"path":["payouts"],"host":["https://api.demo.gigapay.se/v2"],"query":[{"key":"expand","value":"employee"}],"variable":[]}},"response":[],"_postman_id":"17a00a30-3ebc-4856-9c8f-69e40e075b97"},{"name":"LIST(PAYOUTS)","id":"01a75828-86f1-4a66-b818-a77c22ccee03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.demo.gigapay.se/v2/payouts?employee=1","description":"<p>StartFragment</p>\n<p>This endpoint retrieves all Payouts.</p>\n<p>EndFragment</p>\n<p>Get more info about filters and pagination and expanding objects from Gigapay docs:</p>\n<p><a href=\"https://developer.gigapay.se/#pagination\">Pagination</a></p>\n<p><a href=\"https://developer.gigapay.se/#filtering\">Filtering</a></p>\n<p><a href=\"https://developer.gigapay.se/#expanding-objects\">Expanding Objects</a></p>\n<p><a href=\"https://developer.gigapay.se/#list-all-payouts\">Payouts list</a></p>\n","urlObject":{"path":["payouts"],"host":["https://api.demo.gigapay.se/v2"],"query":[{"disabled":true,"description":{"content":"<p>for pagination</p>\n","type":"text/plain"},"key":"page","value":"1"},{"disabled":true,"description":{"content":"<p>item count per page</p>\n","type":"text/plain"},"key":"page_size","value":"10"},{"disabled":true,"description":{"content":"<p>filter to get the payouts created before any timestamp</p>\n","type":"text/plain"},"key":"created_at_before","value":"2022-04-01T05:05:00.084194Z"},{"disabled":true,"description":{"content":"<p>to expand the invoice resource</p>\n","type":"text/plain"},"key":"expand","value":"invoice"},{"disabled":true,"description":{"content":"<p>to expand the payout resource</p>\n","type":"text/plain"},"key":"expand","value":"employee"},{"description":{"content":"<p>Relational Filter.</p>\n","type":"text/plain"},"key":"employee","value":"1"}],"variable":[]}},"response":[],"_postman_id":"01a75828-86f1-4a66-b818-a77c22ccee03"},{"name":"RESEND INVITE(EMPLOYEE)","id":"5351384b-fcec-401b-b2ea-104fc044a1fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"https://api.demo.gigapay.se/v2/employees/1/resend","description":"<p>This endpoint resends a notification. After resending, you need to wait at least 24 hours before resending again.</p>\n<p><a href=\"https://developer.gigapay.se/#resend-a-notification\">Gigapay doc</a></p>\n","urlObject":{"path":["employees","1","resend"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"5351384b-fcec-401b-b2ea-104fc044a1fc"},{"name":"DELETE(PAYOUT)","id":"b59abc08-55ee-4d0a-bbdd-5f99dcd154f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.demo.gigapay.se/v2/payouts/1","description":"<p>Endpoint for deleting a specific Payout. Note that you can not delete a payout belonging to a paid Invoice or an Invoice on credit.</p>\n<p><a href=\"https://developer.gigapay.se/#delete-a-payout\">Gigapay doc</a></p>\n","urlObject":{"path":["payouts","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"b59abc08-55ee-4d0a-bbdd-5f99dcd154f9"},{"name":"GET(PAYOUT)","id":"64b0c17f-9b7d-4d37-a660-531f553d773f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://api.demo.gigapay.se/v2/payouts/1","description":"<p>This endpoint retrieves a payout.</p>\n<p><a href=\"https://developer.gigapay.se/#retrieve-a-payout\">Gigapay doc</a></p>\n","urlObject":{"path":["payouts","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[{"disabled":true,"description":{"content":"<p>to expand the invoice resource</p>\n","type":"text/plain"},"key":"expand","value":"invoice"},{"disabled":true,"description":{"content":"<p>to expand the employee resource</p>\n","type":"text/plain"},"key":"expand","value":"employee"}],"variable":[]}},"response":[],"_postman_id":"64b0c17f-9b7d-4d37-a660-531f553d773f"}],"id":"2dfdce24-4e43-4602-80ba-8afd94b76cef","description":"<p>To make a payout to an Employee you need to create a Payout object. The Employee is notified of the Payout once the corresponding Invoice is paid. The Employee will need to sign and accept the Payout before it is disbursed to their account.</p>\n","_postman_id":"2dfdce24-4e43-4602-80ba-8afd94b76cef"},{"name":"PRICING","item":[{"name":"LIST(PRICING)","id":"e8c06b9d-24ba-4040-bd2f-c22829bb94bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.demo.gigapay.se/v2/pricing?page=1&page_size=10","description":"<p>List Pricing info for past Payouts.</p>\n<p><a href=\"https://developer.gigapay.se/#list-pricing-info\">Pricing List</a></p>\n","urlObject":{"path":["pricing"],"host":["https://api.demo.gigapay.se/v2"],"query":[{"description":{"content":"<p>for pagination</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>item count per page</p>\n","type":"text/plain"},"key":"page_size","value":"10"}],"variable":[]}},"response":[],"_postman_id":"e8c06b9d-24ba-4040-bd2f-c22829bb94bb"},{"name":"GET(PRICING)","id":"49f68053-9484-4f32-b6d2-9a806d249b34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.demo.gigapay.se/v2/pricing/1","description":"<p>This endpoint retrieves a pricing info of payout.</p>\n<p><a href=\"https://developer.gigapay.se/#retrieve-pricing-info-of-payout\">Get single pricing</a></p>\n","urlObject":{"path":["pricing","1"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"49f68053-9484-4f32-b6d2-9a806d249b34"},{"name":"CALCULATE PRICING INFO","id":"3052b4b9-dfd5-44fb-b8a0-3576ac450be7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"id","value":"3232","description":"<p>Unique per Integration.</p>\n","type":"text","disabled":true},{"key":"cost","value":"120","description":"<p>Either amount, invoiced_amount or cost is required.</p>\n","type":"text","disabled":true},{"key":"amount","value":"360","description":"<p>Either amount, invoiced_amount or cost is required.</p>\n","type":"text","disabled":true},{"key":"invoiced_amount","value":"360","description":"<p>Either amount, invoiced_amount or cost is required.</p>\n","type":"text"},{"key":"currency","value":"SEK","description":"<p>String , required</p>\n","type":"text","disabled":true},{"key":"description","value":"test pricing","description":"<p>String, required</p>\n","type":"text","disabled":true},{"key":"employee","value":"5a58af2f-0aa9-46a3-b3fa-8a916a975356","description":"<p>employee id, required</p>\n","type":"text"},{"key":"full_salary_specification","value":"true","description":"<p>Bool</p>\n","type":"text","disabled":true},{"key":"metadata","value":"{\"data\":\" data from your system\"}","description":"<p>JSON encoded data</p>\n","type":"text"},{"key":"start_at","value":"","description":"<p>String</p>\n","type":"text","disabled":true},{"key":"end_at","value":"","description":"<p>String</p>\n","type":"text","disabled":true}]},"url":"https://api.demo.gigapay.se/v2/pricing","description":"<p>This endpoint allows you to calculate the price of payout you would like to make.</p>\n<p>Note that it doesn't create a payout.</p>\n<p><a href=\"https://developer.gigapay.se/#list-pricing-info\">Calculate Pricing</a></p>\n","urlObject":{"path":["pricing"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"3052b4b9-dfd5-44fb-b8a0-3576ac450be7"},{"name":"BULK PRICING INFO","id":"a02811b7-b4ba-43d3-a002-0cd89f28a68b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"description\": \"test description\",\r\n        \"invoiced_amount\":120\r\n    },\r\n    {\r\n        \"country\":\"SWE\",\r\n        \"currency\":\"SEK\",\r\n        \"employee\": \"f0c00ccf-1a7c-4839-aef7-d924e720590a\",\r\n        \"description\": \"test description\",\r\n        \"cost\":120,\r\n        \"meta_data\":{\r\n            \"data\":\"data from your system\"\r\n        }\r\n    },\r\n    {\r\n        \"id\":\"wec-vd-23\",\r\n        \"country\":\"SWE\",\r\n        \"currency\":\"SEK\",\r\n        \"employee\": \"f0c00ccf-1a7c-4839-aef7-d924e720590a\",\r\n        \"description\": \"test description\",\r\n        \"cost\":120,\r\n        \"meta_data\":{\r\n            \"data\":\"data from your system\"\r\n        }\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"https://api.demo.gigapay.se/v2/pricing","description":"<p>The same endpoint is used to calculate the pricing info for multiple Payouts at once.</p>\n<p><a href=\"https://developer.gigapay.se/#calculate-bulk-pricing-info\">Gigapay Doc</a></p>\n","urlObject":{"path":["pricing"],"host":["https://api.demo.gigapay.se/v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"a02811b7-b4ba-43d3-a002-0cd89f28a68b"}],"id":"57b3b5bd-a66f-4571-98bf-b5185e85bc05","_postman_id":"57b3b5bd-a66f-4571-98bf-b5185e85bc05","description":""}],"event":[{"listen":"prerequest","script":{"id":"55f9827a-475a-4e96-9782-d5736b9fc11f","type":"text/javascript","exec":["var Header = require('postman-collection').Header;","pm.request.headers.add(new Header(\"Authorization:Token \"+pm.collectionVariables.get('token')));","pm.request.headers.add(new Header(\"Integration-Id:\"+pm.collectionVariables.get('integration_id')));","pm.request.headers.add(new Header(\"Accept-Language:\"+pm.collectionVariables.get('language')));"]}},{"listen":"test","script":{"id":"d927b030-b31e-49ea-b3eb-1803ced390ab","type":"text/javascript","exec":[""]}}],"variable":[{"key":"url","value":"https://api.demo.gigapay.se/v2","type":"string"},{"key":"token","value":"-","type":"string"},{"key":"integration_id","value":"-","type":"string"},{"key":"language","value":"en","type":"string"},{"key":"employee_id","value":"1","type":"string"},{"key":"payout_id","value":"1","type":"string"},{"key":"invoice_id","value":"1","type":"string"},{"key":"webhook_id","value":"1","type":"string"}]}