{"info":{"_postman_id":"b93880bb-78d2-4b1a-adb2-4df4aaa329d3","name":"Juleica API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"18297363","collectionId":"b93880bb-78d2-4b1a-adb2-4df4aaa329d3","publishedId":"UVC6h67q","public":true,"customColor":{"top-bar":"FED42F","right-sidebar":"303030","highlight":"E2007A"},"publishDate":"2021-11-10T10:28:12.000Z"},"item":[{"name":"Juleica Valid Status","item":[{"name":"valid status","id":"3eb7a0fc-b0c6-4d0e-a50a-a22f0b8f10a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.{{domain}}/api/card-is-valid?card_number={{card_number}}","description":"<h3 id=\"return-values\"><strong>Return Values</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Value</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Possible Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>Returns the current status of the Juleica. This is based on the given card_number, but if given it also checks the optional parameters. If one of these does not match with the card, the status will be _invalid.  <br />  <br />_If <em>extension</em> is <em>true</em> this value is refered to the extended card.</td>\n<td><em>valid:</em> The Juleica is valid.  <br /><em>invalid:</em> The Juleica is invalid or doesn't exists.  <br /><em>expired:</em> The Juleica is expired.</td>\n</tr>\n<tr>\n<td>valid_till</td>\n<td>Return the Date until the Juleica is valid.  <br />Only if the status is <em>valid</em>  <br />  <br />If <em>extension</em> is <em>true</em> this value is refered to the extended card.</td>\n<td><em>Date:</em> example 30.11.2022  <br />null</td>\n</tr>\n<tr>\n<td>extension</td>\n<td>Only returned if <em>check_extension</em> is set to <em>true</em></td>\n<td><em>true:</em> the system found an extended card for the given card_number.  <br /><em>false</em></td>\n</tr>\n<tr>\n<td>extended_card_number</td>\n<td>Only returned if <em>check_extension</em> is set to <em>true</em>  <br />  <br />The card number of the extended card.</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"bearer-authentication\"><strong>Bearer Authentication</strong></h3>\n<p>The Juleica API uses Bearer-Tokens for authentication. The token is provided by the Juleica team. Email: <a href=\"https://mailto:juleica@farbcode.net\">juleica@farbcode.net</a></p>\n","urlObject":{"protocol":"https","path":["api","card-is-valid"],"host":["app","{{domain}}"],"query":[{"description":{"content":"<p>required</p>\n","type":"text/plain"},"key":"card_number","value":"{{card_number}}"},{"disabled":true,"description":{"content":"<p>optional, format: Y-m-d</p>\n","type":"text/plain"},"key":"valid_till","value":"{{valid_till}}"},{"disabled":true,"description":{"content":"<p>optional</p>\n","type":"text/plain"},"key":"birthday","value":"{{birthday}}"},{"disabled":true,"description":{"content":"<p>optional</p>\n","type":"text/plain"},"key":"firstname","value":"{{firstname}}"},{"disabled":true,"description":{"content":"<p>optional</p>\n","type":"text/plain"},"key":"lastname","value":"{{lastname}}"},{"disabled":true,"description":{"content":"<p>optional, format: Y-m-d,\nTo set the date at which the Juleica should be valid,\nDefault is always today</p>\n","type":"text/plain"},"key":"valid_at","value":"2025-01-02"},{"disabled":true,"description":{"content":"<p>optional, if set to true the API also checks for possible extended cards, See Return Values for more details</p>\n","type":"text/plain"},"key":"check_extension","value":"true"}],"variable":[]}},"response":[{"id":"6226abe1-35d8-4caa-acb9-8e982ccaf74b","name":"valid","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://app.{{domain}}/api/card-is-valid?card_number={{card_number}}&firstname={{firstname}}&lastname={{lastname}}","protocol":"https","host":["app","{{domain}}"],"path":["api","card-is-valid"],"query":[{"key":"card_number","value":"{{card_number}}"},{"key":"valid_till","value":"{{valid_till}}","description":"optional","disabled":true},{"key":"birthday","value":"{{birthday}}","description":"optional","disabled":true},{"key":"firstname","value":"{{firstname}}","description":"optional"},{"key":"lastname","value":"{{lastname}}","description":"optional"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Date","value":"Fri, 13 Jan 2023 08:29:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.26"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"119"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"valid\",\n    \"valid_till\": \"31.12.2025\"\n}"},{"id":"77b4e8fb-9f37-4331-9cf5-33e5e80736a0","name":"invalid","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://app.{{domain}}/api/card-is-valid?card_number={{card_number}}&firstname={{firstname}}&lastname={{lastname}}","protocol":"https","host":["app","{{domain}}"],"path":["api","card-is-valid"],"query":[{"key":"card_number","value":"{{card_number}}"},{"key":"valid_till","value":"{{valid_till}}","description":"optional","disabled":true},{"key":"birthday","value":"{{birthday}}","description":"optional","disabled":true},{"key":"firstname","value":"{{firstname}}","description":"optional"},{"key":"lastname","value":"{{lastname}}","description":"optional"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Date","value":"Fri, 13 Jan 2023 08:29:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.26"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"119"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"invalid\",\n    \"valid_till\": null\n}"},{"id":"2c3ed358-359e-4f58-8eff-8aa53cdeba31","name":"expired","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://app.{{domain}}/api/card-is-valid?card_number={{card_number}}&firstname={{firstname}}&lastname={{lastname}}","protocol":"https","host":["app","{{domain}}"],"path":["api","card-is-valid"],"query":[{"key":"card_number","value":"{{card_number}}"},{"key":"valid_till","value":"{{valid_till}}","description":"optional","disabled":true},{"key":"birthday","value":"{{birthday}}","description":"optional","disabled":true},{"key":"firstname","value":"{{firstname}}","description":"optional"},{"key":"lastname","value":"{{lastname}}","description":"optional"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Date","value":"Fri, 13 Jan 2023 08:29:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.26"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"119"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"expired\",\n    \"valid_till\": null\n}"}],"_postman_id":"3eb7a0fc-b0c6-4d0e-a50a-a22f0b8f10a9"},{"name":"valid status Copy","id":"844f0e7e-883b-4983-9428-77d4394f00b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{api_token}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://app.{{domain}}/api/card-is-valid?card_number={{card_number}}","description":"<h3 id=\"return-values\"><strong>Return Values</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Value</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Possible Values</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>Returns the current status of the Juleica. This is based on the given card_number, but if given it also checks the optional parameters. If one of these does not match with the card, the status will be _invalid.  <br />  <br />_If <em>extension</em> is <em>true</em> this value is refered to the extended card.</td>\n<td><em>valid:</em> The Juleica is valid.  <br /><em>invalid:</em> The Juleica is invalid or doesn't exists.  <br /><em>expired:</em> The Juleica is expired.</td>\n</tr>\n<tr>\n<td>valid_till</td>\n<td>Return the Date until the Juleica is valid.  <br />Only if the status is <em>valid</em>  <br />  <br />If <em>extension</em> is <em>true</em> this value is refered to the extended card.</td>\n<td><em>Date:</em> example 30.11.2022  <br />null</td>\n</tr>\n<tr>\n<td>extension</td>\n<td>Only returned if <em>check_extension</em> is set to <em>true</em></td>\n<td><em>true:</em> the system found an extended card for the given card_number.  <br /><em>false</em></td>\n</tr>\n<tr>\n<td>extended_card_number</td>\n<td>Only returned if <em>check_extension</em> is set to <em>true</em>  <br />  <br />The card number of the extended card.</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"bearer-authentication\"><strong>Bearer Authentication</strong></h3>\n<p>The Juleica API uses Bearer-Tokens for authentication. The token is provided by the Juleica team. Email: <a href=\"https://mailto:juleica@farbcode.net\">juleica@farbcode.net</a></p>\n","urlObject":{"protocol":"https","path":["api","card-is-valid"],"host":["app","{{domain}}"],"query":[{"description":{"content":"<p>required</p>\n","type":"text/plain"},"key":"card_number","value":"{{card_number}}"},{"disabled":true,"description":{"content":"<p>optional, format: Y-m-d</p>\n","type":"text/plain"},"key":"valid_till","value":"{{valid_till}}"},{"disabled":true,"description":{"content":"<p>optional</p>\n","type":"text/plain"},"key":"birthday","value":"{{birthday}}"},{"disabled":true,"description":{"content":"<p>optional</p>\n","type":"text/plain"},"key":"firstname","value":"{{firstname}}"},{"disabled":true,"description":{"content":"<p>optional</p>\n","type":"text/plain"},"key":"lastname","value":"{{lastname}}"},{"disabled":true,"description":{"content":"<p>optional, format: Y-m-d,\nTo set the date at which the Juleica should be valid,\nDefault is always today</p>\n","type":"text/plain"},"key":"valid_at","value":"2025-01-02"},{"disabled":true,"description":{"content":"<p>optional, if set to true the API also checks for possible extended cards, See Return Values for more details</p>\n","type":"text/plain"},"key":"check_extension","value":"true"}],"variable":[]}},"response":[{"id":"adf9abe0-5c4b-46df-84d8-77707d9904ae","name":"valid","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://app.{{domain}}/api/card-is-valid?card_number={{card_number}}&firstname={{firstname}}&lastname={{lastname}}","protocol":"https","host":["app","{{domain}}"],"path":["api","card-is-valid"],"query":[{"key":"card_number","value":"{{card_number}}"},{"key":"valid_till","value":"{{valid_till}}","description":"optional","disabled":true},{"key":"birthday","value":"{{birthday}}","description":"optional","disabled":true},{"key":"firstname","value":"{{firstname}}","description":"optional"},{"key":"lastname","value":"{{lastname}}","description":"optional"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Date","value":"Fri, 13 Jan 2023 08:29:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.26"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"119"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"valid\",\n    \"valid_till\": \"31.12.2025\"\n}"},{"id":"6711b264-0ee7-47ae-85b4-788f12568e17","name":"invalid","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://app.{{domain}}/api/card-is-valid?card_number={{card_number}}&firstname={{firstname}}&lastname={{lastname}}","protocol":"https","host":["app","{{domain}}"],"path":["api","card-is-valid"],"query":[{"key":"card_number","value":"{{card_number}}"},{"key":"valid_till","value":"{{valid_till}}","description":"optional","disabled":true},{"key":"birthday","value":"{{birthday}}","description":"optional","disabled":true},{"key":"firstname","value":"{{firstname}}","description":"optional"},{"key":"lastname","value":"{{lastname}}","description":"optional"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Date","value":"Fri, 13 Jan 2023 08:29:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.26"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"119"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"invalid\",\n    \"valid_till\": null\n}"},{"id":"2d223d48-2a5d-4c55-a3bb-bd6f02dcd0f3","name":"expired","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://app.{{domain}}/api/card-is-valid?card_number={{card_number}}&firstname={{firstname}}&lastname={{lastname}}","protocol":"https","host":["app","{{domain}}"],"path":["api","card-is-valid"],"query":[{"key":"card_number","value":"{{card_number}}"},{"key":"valid_till","value":"{{valid_till}}","description":"optional","disabled":true},{"key":"birthday","value":"{{birthday}}","description":"optional","disabled":true},{"key":"firstname","value":"{{firstname}}","description":"optional"},{"key":"lastname","value":"{{lastname}}","description":"optional"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Date","value":"Fri, 13 Jan 2023 08:29:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.0.26"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"119"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"expired\",\n    \"valid_till\": null\n}"}],"_postman_id":"844f0e7e-883b-4983-9428-77d4394f00b2"}],"id":"25310209-0f54-4f94-9091-86b7f6bb7e8a","description":"<p>This API allows you to check the validity of a Juleica.</p>\n","_postman_id":"25310209-0f54-4f94-9091-86b7f6bb7e8a"}]}