{"info":{"_postman_id":"5d66aa1c-0a2a-41d7-9ded-fea479feb172","name":"Worldlink API - POS Type","description":"Documentation of Worldlink's API.\n\n","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"To List Products","item":[{"name":"Get a Quickpick","id":"476c5b45-bac9-43a9-b88a-222562981a91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"http://dev-api-v2-dot-worldlink-240719.oa.r.appspot.com/v2/quickpicks/forPurchase?token=277bf90b-3bf9-43b0-941z-660311100171&count=2&drawid=&senderid=p1","protocol":"http","host":["dev-api-v2-dot-worldlink-240719","oa","r","appspot","com"],"path":["v2","quickpicks","forPurchase"],"query":[{"key":"token","value":"277bf90b-3bf9-43b0-941z-660311100171","description":"Identifier token that we give you beforehand."},{"key":"count","value":"2","description":"Amount of QuickPicks to request."},{"key":"drawid","value":"","description":"id of the draw"},{"key":"senderid","value":"p1","description":"ID of the POS doing the petition."}]},"description":"List a quantity of QuickPicks. From 2 to 10 QuickPicks."},"response":[{"id":"54b7b961-f102-463e-8c4b-8c48c85f8a1e","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://test-api-pb1.worldlinksc.com/api/v1/QPforPurchase?token=277eb90b-3ed9-43b0-941d-660311100171&count=2&drawdate=2018-01-31&senderid=p1","protocol":"https","host":["test-api-pb1","worldlinksc","com"],"path":["api","v1","QPforPurchase"],"query":[{"key":"token","value":"277eb90b-3ed9-43b0-941d-660311100171","description":"Identifier token that we give you beforehand."},{"key":"count","value":"2","description":"Amount of QuickPicks to request."},{"key":"drawdate","value":"2018-01-31","description":"Date of the draw to request."},{"key":"senderid","value":"p1","description":"ID of the POS doing the petition."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 25 Jan 2019 00:30:12 GMT"},{"key":"Server","value":"nginx/1.12.1"},{"key":"Content-Length","value":"173"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"lines\": \"64-11-35-67-18-02\",\n    \"quickpickid\": \"YWFpdjUyZWk4ZTYwZTI0\"\n}"},{"id":"5cc875ae-c0fe-43a7-ae07-b3d40b8acc91","name":"409 CONFLICT","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://test-api-pb1.worldlinksc.com/api/v1/quickpicks/forPurchase?token=277eb90b-3ed9-43b0-941d-660311100171&count=2&drawdate=2018-12-31&senderid=p1","protocol":"https","host":["test-api-pb1","worldlinksc","com"],"path":["api","v1","quickpicks","forPurchase"],"query":[{"key":"token","value":"277eb90b-3ed9-43b0-941d-660311100171","description":"Identifier token that we give you beforehand."},{"key":"count","value":"2","description":"Amount of QuickPicks to request."},{"key":"drawdate","value":"2018-12-31","description":"Date of the draw to request."},{"key":"senderid","value":"p1","description":"ID of the POS doing the petition."}]}},"status":"Conflict","code":409,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": 3001,\n        \"message\": \"There are not enough quickpicks\",\n        \"description\": \"The amount of QuickPicks requested exceeds the amount in the system for this affiliate or there is no QuickPicks at all\"\n    }\n}"}],"_postman_id":"476c5b45-bac9-43a9-b88a-222562981a91"},{"name":"List Syndicates","id":"98e54665-9415-4a2b-b484-8395ad18fd05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":true}],"url":{"raw":"http://dev-api-v2-dot-worldlink-240719.oa.r.appspot.com/v2/syndicates/list?token=277bf90b-3bf9-43b0-941z-660311100171&drawdate=2018-12-31&senderid=p1","protocol":"http","host":["dev-api-v2-dot-worldlink-240719","oa","r","appspot","com"],"path":["v2","syndicates","list"],"query":[{"key":"token","value":"277bf90b-3bf9-43b0-941z-660311100171","description":"Identifier token that we give you beforehand."},{"key":"drawdate","value":"2018-12-31","description":"Date of the draw to request."},{"key":"senderid","value":"p1","description":"ID of the POS doing the petition."}]},"description":"List the Syndicates."},"response":[{"id":"3e58a238-6734-4616-97c3-d954bdac42e3","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":true}],"url":{"raw":"http://test-api-pb1.worldlinksc.com/api/v1/listSyndicates?token=277eb90b-3ed9-43b0-941d-660311100171&drawdate=2018-12-31&senderid=p1","protocol":"http","host":["test-api-pb1","worldlinksc","com"],"path":["api","v1","listSyndicates"],"query":[{"key":"token","value":"277eb90b-3ed9-43b0-941d-660311100171","description":"Identifier token that we give you beforehand."},{"key":"drawdate","value":"2018-12-31","description":"Date of the draw to request."},{"key":"senderid","value":"p1","description":"ID of the POS doing the petition."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 25 Jan 2019 00:04:37 GMT"},{"key":"Server","value":"nginx/1.12.1"},{"key":"Content-Length","value":"201"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"syndicates\": [\n        {\n            \"id\": \"wbzg4j64inorl7iqljmf\",\n            \"name\": \"bird\",\n            \"amountoflines\": 10,\n            \"amountofshares\": 500,\n            \"amountofsharesbought\": 0,\n            \"price\": 2,\n            \"symbol\": \"chicken\"\n        },\n        {\n            \"id\": \"8f1dx1ffj8qyotoe4k9h\",\n            \"name\": \"ape\",\n            \"amountoflines\": 10,\n            \"amountofshares\": 500,\n            \"amountofsharesbought\": 0,\n            \"price\": 2,\n            \"symbol\": \"monkey\"\n        }\n    ]\n}"},{"id":"5b3f722e-5073-4130-b5f7-9b89c61314ba","name":"409 CONFLICT","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":true}],"url":{"raw":"http://test-api-pb1.worldlinksc.com/api/v1/listSyndicates?token=277eb90b-3ed9-43b0-941d-660311100171&drawdate=2018-12-31&senderid=p1","protocol":"http","host":["test-api-pb1","worldlinksc","com"],"path":["api","v1","listSyndicates"],"query":[{"key":"token","value":"277eb90b-3ed9-43b0-941d-660311100171","description":"Identifier token that we give you beforehand."},{"key":"drawdate","value":"2018-12-31","description":"Date of the draw to request."},{"key":"senderid","value":"p1","description":"ID of the POS doing the petition."}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 25 Jan 2019 01:49:30 GMT"},{"key":"Server","value":"nginx/1.12.1"},{"key":"Content-Length","value":"121"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": 3006,\n        \"message\": \"There aren't syndicates found\",\n        \"description\": \"\"\n    }\n}"}],"_postman_id":"98e54665-9415-4a2b-b484-8395ad18fd05"}],"id":"793e3c57-80ce-49ae-8536-8d47995dd414","_postman_id":"793e3c57-80ce-49ae-8536-8d47995dd414"},{"name":"To Buy Products","item":[{"name":"Buy Picks","id":"96c52003-5eea-44e1-86ae-d3e867209e2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"lines","value":"01-02-03-04-05-06,11-12-13-14-15-16","type":"text","description":"Numbers to play seperated by coma."}]},"url":{"raw":"http://dev-api-v2-dot-worldlink-240719.oa.r.appspot.com/v2/carts/purchase?senderid=p1&token=277bf90b-3bf9-43b0-941z-660311100171&drawid=","protocol":"http","host":["dev-api-v2-dot-worldlink-240719","oa","r","appspot","com"],"path":["v2","carts","purchase"],"query":[{"key":"senderid","value":"p1","description":"ID of the terminal doing the petition."},{"key":"token","value":"277bf90b-3bf9-43b0-941z-660311100171","description":"Identifier token that we give you beforehand."},{"key":"drawid","value":"","description":"id of the draw"}]},"description":"Buy the numbers selected by the player."},"response":[{"id":"04270527-662d-4c75-9bd5-ad35851bcf20","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"ID of the terminal doing the petition.","key":"senderid","type":"text","value":"p1"},{"description":"Identifier token that we give you beforehand.","key":"token","type":"text","value":"277eb90b-3ed9-43b0-941d-660311100171"},{"description":"Numbers to play seperated by coma.","key":"lines","type":"text","value":"01-02-03-04-05-06,11-12-13-14-15-16"},{"description":"Date of the draw to request.","key":"drawdate","type":"text","value":"2018-12-31"}]},"url":"https://test-api-pb1.worldlinksc.com/api/v1/purchase"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 25 Jan 2019 00:06:57 GMT"},{"key":"Server","value":"nginx/1.12.1"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"Content-Length","value":"86"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Purchased\"\n}"},{"id":"63f11d2d-5d35-4dcf-8f49-6b91c7c1974c","name":"409 CONFLICT","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"lines","value":"01-02-03-04-05-06,11-12-13-14-15-16","type":"text","description":"Numbers to play seperated by coma."}]},"url":{"raw":"https://test-api-pb1.worldlinksc.com/api/v1/carts/purchase?senderid=p1&token=277eb90b-3ed9-43b0-941d-660311100171&drawdate=2018-12-31","protocol":"https","host":["test-api-pb1","worldlinksc","com"],"path":["api","v1","carts","purchase"],"query":[{"key":"senderid","value":"p1","description":"ID of the terminal doing the petition."},{"key":"token","value":"277eb90b-3ed9-43b0-941d-660311100171","description":"Identifier token that we give you beforehand."},{"key":"drawdate","value":"2018-12-31","description":"Date of the draw to request."}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 26 Feb 2019 18:54:14 GMT"},{"key":"ETag","value":"W/\"ac-uTQlE/0o6tlTsB1G5Uif8YMNSaY\""},{"key":"Server","value":"nginx/1.14.1"},{"key":"X-Powered-By","value":"Express"},{"key":"Content-Length","value":"172"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": 5002,\n        \"message\": \"The draw date especified is invalid\",\n        \"description\": \"The given date is too far in the future or is invalid. We only allow 16 draws ahead.\"\n    }\n}"}],"_postman_id":"96c52003-5eea-44e1-86ae-d3e867209e2f"},{"name":"Buy Quickpicks","id":"5a18759a-2e07-43a5-ad3f-c6705ac4ad85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"quickpickid","value":"ZWp0cnhpN2pwZnoyZGsxMDJ4ZzYydm95a2sweHdq","description":"A base64 string returned from ‘Get a QuickPick’ to identify the QuickPick.","type":"text"},{"key":"lines","value":"01-02-03-04-05-06,11-12-13-14-15-16","description":"Numbers received from 'Get a QuickPick' for purchase, seperated by coma.","type":"text"}]},"url":{"raw":"http://dev-api-v2-dot-worldlink-240719.oa.r.appspot.com/v2/carts/purchase?senderid=p1&token=277bf90b-3bf9-43b0-941z-660311100171&drawid=","protocol":"http","host":["dev-api-v2-dot-worldlink-240719","oa","r","appspot","com"],"path":["v2","carts","purchase"],"query":[{"key":"senderid","value":"p1","description":"ID of the terminal doing the petition."},{"key":"token","value":"277bf90b-3bf9-43b0-941z-660311100171","description":"Identifier token that we give you beforehand."},{"key":"drawid","value":"","description":"id of the draw"}]},"description":"Purchases the List of QuickPick from ‘Get QP for Purchase’."},"response":[{"id":"1dc7609f-a298-4ac1-a7b3-c7186206fa16","name":"409 CONFLICT","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"quickpickid","value":"ZWp0cnhpN2pwZnoyZGsxMDJ4ZzYydm95a2sweHdq","description":"A base64 string returned from ‘Get a QuickPick’ to identify the QuickPick.","type":"text"},{"key":"lines","value":"01-02-03-04-05-06,11-12-13-14-15-16","description":"Numbers received from 'Get a QuickPick' for purchase, seperated by coma.","type":"text"}]},"url":{"raw":"https://test-api-pb1.worldlinksc.com/api/v1/purchase?senderid=p1&token=277eb90b-3ed9-43b0-941d-660311100171&drawdate=2018-12-31","protocol":"https","host":["test-api-pb1","worldlinksc","com"],"path":["api","v1","purchase"],"query":[{"key":"senderid","value":"p1","description":"ID of the terminal doing the petition."},{"key":"token","value":"277eb90b-3ed9-43b0-941d-660311100171","description":"Identifier token that we give you beforehand."},{"key":"drawdate","value":"2018-12-31","description":"Date of the draw to request."}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": 5002,\n        \"message\": \"The draw date especified is invalid\",\n        \"description\": \"The given date is too far in the future or is invalid. We only allow 16 draws ahead.\"\n    }\n}"},{"id":"3b025ffb-ae9a-493e-a7cd-67621db272fa","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"senderid","value":"p1","description":"ID of the terminal doing the petition.","type":"text"},{"key":"token","value":"277eb90b-3ed9-43b0-941d-660311100171","description":"Identifier token that we give you beforehand.","type":"text"},{"key":"quickpickid","value":"ZWp0cnhpN2pwZnoyZGsxMDJ4ZzYydm95a2sweHdq","description":"A base64 string returned from ‘Get a QuickPick’ to identify the QuickPick.","type":"text"},{"key":"drawdate","value":"2018-12-31","description":"Date of the draw to request.","type":"text"},{"key":"lines","value":"01-02-03-04-05-06,11-12-13-14-15-16","description":"Numbers received from 'Get a QuickPick' for purchase, seperated by coma.","type":"text"}]},"url":"https://test-api-pb1.worldlinksc.com/api/v1/purchase"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 25 Jan 2019 00:41:08 GMT"},{"key":"Server","value":"nginx/1.12.1"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"Content-Length","value":"86"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Purchased\"\n}"}],"_postman_id":"5a18759a-2e07-43a5-ad3f-c6705ac4ad85"},{"name":"Buy Syndicate Shares","id":"05ce7abf-e21f-4342-8159-c4e108b4544e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"amountofshares","value":"10,20","description":"Amount of shares to be purchased.  For several Amounts, separate them with commas.","type":"text"},{"description":"Name of the syndicate, returned from ‘List Syndicates’. For several names, separate them with commas.","key":"names","type":"text","value":"name1,name2"},{"key":"syndicatesid","value":"synid1,synid2","description":"ID of the Syndicate, returned from ‘List Syndicates’. For several IDs, separate them with commas.","type":"text"}]},"url":{"raw":"http://dev-api-v2-dot-worldlink-240719.oa.r.appspot.com/v2/carts/purchase?senderid=p1&token=277bf90b-3bf9-43b0-941z-660311100171&drawid=","protocol":"http","host":["dev-api-v2-dot-worldlink-240719","oa","r","appspot","com"],"path":["v2","carts","purchase"],"query":[{"key":"senderid","value":"p1","description":"ID of the terminal doing the petition."},{"key":"token","value":"277bf90b-3bf9-43b0-941z-660311100171","description":"Identifier token that we give you beforehand."},{"key":"drawid","value":"","description":"id of the draw"}]},"description":"Purchases one or more Syndicates at the same time. IMPORTANt: The order in 'names','syndicatesid','amountofshares' must be always the same between them."},"response":[{"id":"0335bbd8-dbe8-41fb-8485-e4f710ddfcfb","name":"409 CONFLICT","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"amountofshares","value":"10,20","description":"Amount of shares to be purchased.  For several Amounts, separate them with commas.","type":"text"},{"description":"Name of the syndicate, returned from ‘List Syndicates’. For several names, separate them with commas.","key":"names","type":"text","value":"name1,name2"},{"key":"syndicatesid","value":"synid1,synid2","description":"ID of the Syndicate, returned from ‘List Syndicates’. For several IDs, separate them with commas.","type":"text"}]},"url":{"raw":"https://test-api-pb1.worldlinksc.com/api/v1/purchase?senderid=p1&token=277eb90b-3ed9-43b0-941d-660311100171&drawdate=2018-12-31","protocol":"https","host":["test-api-pb1","worldlinksc","com"],"path":["api","v1","purchase"],"query":[{"key":"senderid","value":"p1","description":"ID of the terminal doing the petition."},{"key":"token","value":"277eb90b-3ed9-43b0-941d-660311100171","description":"Identifier token that we give you beforehand."},{"key":"drawdate","value":"2018-12-31","description":"Date of the draw to request."}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": 5002,\n        \"message\": \"The draw date especified is invalid\",\n        \"description\": \"The given date is too far in the future or is invalid. We only allow 16 draws ahead.\"\n    }\n}"},{"id":"d6b3066c-4572-43dd-a935-15deebf91213","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"ID of the terminal doing the petition.","key":"senderid","type":"text","value":"p1"},{"description":"Identifier token that we give you beforehand.","key":"token","type":"text","value":"277eb90b-3ed9-43b0-941d-660311100171"},{"key":"amountofshares","value":"10,20","description":"Amount of shares to be purchased.  For several Amounts, separate them with commas.","type":"text"},{"description":"Name of the syndicate, returned from ‘List Syndicates’. For several names, separate them with commas.","key":"names","type":"text","value":"name1,name2"},{"key":"syndicatesid","value":"synid1,synid2","description":"ID of the Syndicate, returned from ‘List Syndicates’. For several IDs, separate them with commas.","type":"text"},{"key":"drawdate","value":"2018-12-31","description":"Date of the draw to request.","type":"text"}]},"url":"https://test-api-pb1.worldlinksc.com/api/v1/purchase"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 25 Jan 2019 00:10:02 GMT"},{"key":"Server","value":"nginx/1.12.1"},{"key":"Vary","value":"X-HTTP-Method-Override"},{"key":"Content-Length","value":"86"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Purchased\"\n}"}],"_postman_id":"05ce7abf-e21f-4342-8159-c4e108b4544e"}],"id":"1e8658a6-8f7b-4893-8e9f-9de0c723d44a","_postman_id":"1e8658a6-8f7b-4893-8e9f-9de0c723d44a"},{"name":"To Pay Receipts","item":[{"name":"Pay Receipt","id":"19d6f953-c2aa-43b8-8275-26138575e2fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"http://dev-api-v2-dot-worldlink-240719.oa.r.appspot.com/v2/carts/pay?id=123asd789cvb&token=277bf90b-3bf9-43b0-941z-660311100171&senderid=p1","protocol":"http","host":["dev-api-v2-dot-worldlink-240719","oa","r","appspot","com"],"path":["v2","carts","pay"],"query":[{"key":"id","value":"123asd789cvb","description":"ID of the Receipt to pay. Maximun of 10 characteres."},{"key":"token","value":"277bf90b-3bf9-43b0-941z-660311100171","description":"Identifier token that we give you beforehand."},{"key":"senderid","value":"p1","description":"ID of the terminal doing the petition."}]},"description":"Mark a Receipt as paid."},"response":[{"id":"640219f3-71a7-4f53-b7d0-a7a592226f92","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://test-api-pb1.worldlinksc.com/api/v1/pay?id=123asd789cvb&token=277eb90b-3ed9-43b0-941d-660311100171&senderid=p1","protocol":"https","host":["test-api-pb1","worldlinksc","com"],"path":["api","v1","pay"],"query":[{"key":"id","value":"123asd789cvb","description":"ID of the Receipt to pay. Maximun of 10 characteres."},{"key":"token","value":"277eb90b-3ed9-43b0-941d-660311100171","description":"Identifier token that we give you beforehand."},{"key":"senderid","value":"p1","description":"ID of the terminal doing the petition."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Receipt Payed\"\n}"},{"id":"c165b3b1-98de-403e-b461-f32384c3b8ce","name":"409 CONFLICT","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://test-api-pb1.worldlinksc.com/api/v1/carts/pay?id=123asd789cvb&token=277eb90b-3ed9-43b0-941d-660311100171&senderid=p1","protocol":"https","host":["test-api-pb1","worldlinksc","com"],"path":["api","v1","carts","pay"],"query":[{"key":"id","value":"123asd789cvb","description":"ID of the Receipt to pay. Maximun of 10 characteres."},{"key":"token","value":"277eb90b-3ed9-43b0-941d-660311100171","description":"Identifier token that we give you beforehand."},{"key":"senderid","value":"p1","description":"ID of the terminal doing the petition."}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 26 Feb 2019 18:59:37 GMT"},{"key":"ETag","value":"W/\"4d-EdIl4L0buLa9A1c2b9Quk991H20\""},{"key":"Server","value":"nginx/1.14.1"},{"key":"X-Powered-By","value":"Express"},{"key":"Content-Length","value":"77"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": 6004,\n        \"message\": \"The receipt has no prize\",\n        \"description\": \"\"\n    }\n}"}],"_postman_id":"19d6f953-c2aa-43b8-8275-26138575e2fd"}],"id":"7c51fa35-3ec7-4f61-b329-67093e89f4de","event":[{"listen":"prerequest","script":{"id":"38371619-a8c9-403f-9dcb-bc3b8c5540f0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"90f5b615-ced1-489e-a17b-961aba632b51","type":"text/javascript","exec":[""]}}],"_postman_id":"7c51fa35-3ec7-4f61-b329-67093e89f4de"},{"name":"Utilities","item":[{"name":"List Lines","id":"dba3dc50-ed21-4343-96a5-183f910b6776","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"http://dev-api-v2-dot-worldlink-240719.oa.r.appspot.com/v2/syndicates/listLines?syndicateid=","protocol":"http","host":["dev-api-v2-dot-worldlink-240719","oa","r","appspot","com"],"path":["v2","syndicates","listLines"],"query":[{"key":"syndicateid","value":"","description":"id of the syndicate whose lines you want to know"}]}},"response":[],"_postman_id":"dba3dc50-ed21-4343-96a5-183f910b6776"},{"name":"Check Receipt","id":"19b276ba-5c20-4076-8ec7-60ba98575f28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"http://dev-api-v2-dot-worldlink-240719.oa.r.appspot.com/v2/carts/checkforprize?id=1vbn67as89cv1&token=277bf90b-3bf9-43b0-941z-660311100171&senderid=p1","protocol":"http","host":["dev-api-v2-dot-worldlink-240719","oa","r","appspot","com"],"path":["v2","carts","checkforprize"],"query":[{"key":"id","value":"1vbn67as89cv1","description":"ID of the Ticket.  Maximun of 10 characteres."},{"key":"token","value":"277bf90b-3bf9-43b0-941z-660311100171","description":"Identifier token that we give you beforehand."},{"key":"senderid","value":"p1","description":"ID of the terminal doing the petition."}]},"description":"Show information of a Ticket. You can use this to know if the ticket is a winner."},"response":[{"id":"a4e1f3a1-ac58-437e-9395-64c6058e3799","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://test-api-pb1.worldlinksc.com/api/v1/verify?id=1vbn67as89cv1&token=277eb90b-3ed9-43b0-941d-660311100171&drawdate=2018-12-31&senderid=p1","protocol":"https","host":["test-api-pb1","worldlinksc","com"],"path":["api","v1","verify"],"query":[{"key":"id","value":"1vbn67as89cv1","description":"ID of the Ticket.  Maximun of 10 characteres."},{"key":"token","value":"277eb90b-3ed9-43b0-941d-660311100171","description":"Identifier token that we give you beforehand."},{"key":"drawdate","value":"2018-12-31","description":"Date of the draw to request."},{"key":"senderid","value":"p1","description":"ID of the terminal doing the petition."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"prize\": 0\n}"},{"id":"bcd88c73-fc75-4826-9b2a-452b02f9501a","name":"409 CONFLICT","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://test-api-pb1.worldlinksc.com/api/v1/verify?id=1vbn67as89cv1&token=277eb90b-3ed9-43b0-941d-660311100171&drawdate=2018-12-31&senderid=p1","protocol":"https","host":["test-api-pb1","worldlinksc","com"],"path":["api","v1","verify"],"query":[{"key":"id","value":"1vbn67as89cv1","description":"ID of the Ticket.  Maximun of 10 characteres."},{"key":"token","value":"277eb90b-3ed9-43b0-941d-660311100171","description":"Identifier token that we give you beforehand."},{"key":"drawdate","value":"2018-12-31","description":"Date of the draw to request."},{"key":"senderid","value":"p1","description":"ID of the terminal doing the petition."}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": 6002,\n        \"message\": \"The draw for this receipt has not finished\",\n        \"description\": \"\"\n    }\n}"}],"_postman_id":"19b276ba-5c20-4076-8ec7-60ba98575f28"},{"name":"Information","id":"196ecac6-1a52-4f69-bc91-ceb67c9bb5a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"http://dev-api-v2-dot-worldlink-240719.oa.r.appspot.com/v2/draws/info?token=277bf90b-3bf9-43b0-941z-660311100171","protocol":"http","host":["dev-api-v2-dot-worldlink-240719","oa","r","appspot","com"],"path":["v2","draws","info"],"query":[{"key":"token","value":"277bf90b-3bf9-43b0-941z-660311100171","description":"Identifier token that we give you beforehand."}]},"description":"Show thefollowing information:\n-Next draw date\n-Jackpot\n-If the affiliate is allow to pick numbers for the current draw\n-How many Quickpicks left for the current draw"},"response":[{"id":"2946ec71-c811-4ee4-9a8d-fd8b2237649b","name":"401 UNAUTHORIZED","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://test-api-pb1.worldlinksc.com/api/v1/draws/info?token=","protocol":"https","host":["test-api-pb1","worldlinksc","com"],"path":["api","v1","draws","info"],"query":[{"key":"token","value":"","description":"Identifier token that we give you beforehand."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 13 Feb 2019 00:48:11 GMT"},{"key":"ETag","value":"W/\"66-aHYqs0S6iD5/+pqLC/iluV5n4ak\""},{"key":"Server","value":"nginx/1.14.1"},{"key":"X-Powered-By","value":"Express"},{"key":"Content-Length","value":"102"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": 1001,\n        \"message\": \"The token provided is not permitted or is invalid\",\n        \"description\": \"\"\n    }\n}"},{"id":"fa350634-2531-475d-a06a-223222809a34","name":"200 OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://test-api-pb1.worldlinksc.com/api/v1/draws/info?token=277eb90b-3ed9-43b0-941d-660311100171","protocol":"https","host":["test-api-pb1","worldlinksc","com"],"path":["api","v1","draws","info"],"query":[{"key":"token","value":"277eb90b-3ed9-43b0-941d-660311100171","description":"Identifier token that we give you beforehand."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-control","value":"no-cache=\"set-cookie\""},{"key":"Content-Encoding","value":"gzip"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 13 Feb 2019 00:46:28 GMT"},{"key":"ETag","value":"W/\"49-r0XgGyBgYGk/n+j/uNYRifAfh+U\""},{"key":"Server","value":"nginx/1.14.1"},{"key":"Set-Cookie","value":"AWSELB=33290503022BFF6D21ED43533D53A116CFD4509C7334DA303BEB60C61B56F142500CC6BA93063E4119EA1F441624FAA05D5568D2CE9C8693BA1144D743A6EC66EBFD234F74;PATH=/"},{"key":"X-Powered-By","value":"Express"},{"key":"Content-Length","value":"87"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"nextdrawdate\": \"2019-02-13\",\n    \"jackpot\": 242000000,\n    \"picking\": 0,\n    \"QPsleft\": 0\n}"}],"_postman_id":"196ecac6-1a52-4f69-bc91-ceb67c9bb5a3"}],"id":"7fc2f151-f3a9-4ed3-8220-db33217281b7","_postman_id":"7fc2f151-f3a9-4ed3-8220-db33217281b7"}],"event":[{"listen":"prerequest","script":{"id":"18fdb2f0-16cf-431d-af76-148cc038aa8a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0f1f4a8a-9e72-4b0a-9d20-70db23d952ad","type":"text/javascript","exec":[""]}}]}