{"info":{"_postman_id":"05d0d544-19a3-444d-8189-a0020a0f5c57","name":"Epasscard Public Api","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"47181495","collectionId":"05d0d544-19a3-444d-8189-a0020a0f5c57","publishedId":"2sB3QQHSXL","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-12-10T06:08:52.000Z"},"item":[{"name":"V1","item":[{"name":"Api keys","item":[{"name":"Validate api key","id":"1e9b85d1-38c2-4f57-8dfb-ba7b2bb8c12b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"apiKey\":\"pDv2wQCvCLrQ6uoPWBjThD2uQuZSMeX4jSsrAOcwsSH4KpzAuf\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.epasscard.com/api/public/v1/validate-api-key","description":"<h1 id=\"validate-api-key\">Validate API Key</h1>\n<h2 id=\"purpose\">Purpose</h2>\n<p>This endpoint validates an API key to verify its current status, including whether it is valid, expired, or inactive. Use this endpoint to check the health and usability of your API key before making authenticated requests to other endpoints.</p>\n<h2 id=\"request-details\">Request Details</h2>\n<ul>\n<li><p><strong>Method</strong>: POST</p>\n</li>\n<li><p><strong>Endpoint</strong>: <code>https://api.epasscard.com/api/public/v1/validate-api-key</code></p>\n</li>\n</ul>\n<h2 id=\"parameters\">Parameters</h2>\n<p>Send body parameters as <strong>JSON</strong></p>\n<h3 id=\"body-parameters\">Body Parameters</h3>\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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>apiKey</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>The API key to validate. This should be the complete API key string provided during key generation.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example</strong>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>apiKey=a4ojJkox5OgRi6EpVrvimk5GxLGDFvXU5AxtLcmmUXkqI446ve\n\n</code></pre><h2 id=\"response-information\">Response Information</h2>\n<p>The endpoint returns a JSON response with the following structure:</p>\n<h3 id=\"response-fields\">Response Fields</h3>\n<ul>\n<li><p><code>status</code> (integer): HTTP status code</p>\n</li>\n<li><p><code>message</code> (string): Human-readable message describing the validation result</p>\n</li>\n<li><p><code>valid</code> (boolean): Indicates if the API key format is valid</p>\n</li>\n<li><p><code>expire</code> (boolean): Indicates if the API key has expired</p>\n</li>\n<li><p><code>activeStatus</code> (boolean): Indicates if the API key is currently active</p>\n</li>\n</ul>\n<h3 id=\"possible-responses\">Possible Responses</h3>\n<h4 id=\"1-expired-api-key-status-400\">1. Expired API Key (Status 400)</h4>\n<p>When the API key has expired but is otherwise valid:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 400,\n  \"message\": \"API Key expired\",\n  \"valid\": true,\n  \"expire\": true,\n  \"activeStatus\": true\n}\n\n</code></pre>\n<h4 id=\"2-inactive-api-key-status-400\">2. Inactive API Key (Status 400)</h4>\n<p>When the API key has been deactivated:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 400,\n  \"message\": \"API Key inactive\",\n  \"valid\": true,\n  \"expire\": false,\n  \"activeStatus\": false\n}\n\n</code></pre>\n<h4 id=\"3-valid-api-key-status-200\">3. Valid API Key (Status 200)</h4>\n<p>When the API key is valid and active:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 200,\n  \"message\": \"API Key is valid\",\n  \"valid\": true,\n  \"expire\": false,\n  \"activeStatus\": true\n}\n\n</code></pre>\n<h2 id=\"variables-used\">Variables Used</h2>\n<ul>\n<li><code>https://api.epasscard.com/api</code>: Base URL for the API. This variable should be set in your environment to point to the appropriate API server (e.g., production, staging, or development).</li>\n</ul>\n<h2 id=\"example-usage-scenarios\">Example Usage Scenarios</h2>\n<h3 id=\"scenario-1-pre-flight-check\">Scenario 1: Pre-flight Check</h3>\n<p>Before initiating a series of API calls, validate your API key to ensure it's active and not expired. This prevents unnecessary failed requests and helps with error handling.</p>\n<h3 id=\"scenario-2-key-rotation-verification\">Scenario 2: Key Rotation Verification</h3>\n<p>After rotating or renewing an API key, use this endpoint to confirm the new key is active and the old key has been properly expired.</p>\n<h3 id=\"scenario-3-troubleshooting-authentication-issues\">Scenario 3: Troubleshooting Authentication Issues</h3>\n<p>When experiencing authentication failures in other endpoints, validate the API key first to determine if the issue is related to key expiration or deactivation.</p>\n<h3 id=\"scenario-4-monitoring-and-alerting\">Scenario 4: Monitoring and Alerting</h3>\n<p>Integrate this endpoint into monitoring systems to periodically check API key status and trigger alerts before keys expire.</p>\n<h2 id=\"notes\">Notes</h2>\n<ul>\n<li><p>This endpoint does not require authentication headers since the API key is validated through the request body</p>\n</li>\n<li><p>A status code of 400 with specific messages helps distinguish between expired and inactive keys</p>\n</li>\n<li><p>Consider implementing automated key validation checks in your application startup or health check routines</p>\n</li>\n</ul>\n","urlObject":{"path":["public","v1","validate-api-key"],"host":["https://api.epasscard.com/api"],"query":[],"variable":[]}},"response":[{"id":"75c07150-cf82-4dce-8f31-b7b4863e79f1","name":"Inactive response","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"apiKey","value":"a4ojJkox5OgRi6EpVrvimk5GxLGDFvXU5AxtLcmmUXkqI446ve","type":"text","uuid":"6e095a44-dc31-4f93-a729-f45419eca1f2"}]},"url":"https://api.epasscard.com/api/public/v1/validate-api-key"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 25 Nov 2025 10:20:26 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"107"},{"key":"ETag","value":"W/\"6b-jvHgwFZVUxDZ4ZZMWSn5DmBEsq8\""},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"data\": {\n        \"valid\": false,\n        \"expire\": false,\n        \"activeStatus\": false,\n        \"org_id\": 416,\n        \"refresh\": false\n    },\n    \"message\": \"API Key is inactive.Please contact your key provider\"\n}"},{"id":"effbc120-b653-4553-892c-b7e3036c8299","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"apiKey","value":"a4ojJkox5OgRi6EpVrvimk5GxLGDFvXU5AxtLcmmUXkqI446ve","type":"text","uuid":"6e095a44-dc31-4f93-a729-f45419eca1f2"}]},"url":"https://api.epasscard.com/api/public/v1/validate-api-key"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 25 Nov 2025 10:21:12 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"101"},{"key":"ETag","value":"W/\"65-CpVMp2LZ+ImDQ1IArK6y2tudPq0\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"data\": {\n        \"valid\": true,\n        \"expire\": false,\n        \"activeStatus\": true,\n        \"org_id\": 416,\n        \"refreshAvailableAt\": \"2025-11-25 08:50:00\"\n    },\n    \"message\": \"valid api key\"\n}"},{"id":"61ab1211-34a8-45fc-81e1-218f4a8e42de","name":"Expired response","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"apiKey","value":"a4ojJkox5OgRi6EpVrvimk5GxLGDFvXU5AxtLcmmUXkqI446ve","type":"text","uuid":"6e095a44-dc31-4f93-a729-f45419eca1f2"}]},"url":"https://api.epasscard.com/api/public/v1/validate-api-key"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 25 Nov 2025 10:21:39 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"89"},{"key":"ETag","value":"W/\"59-Bnh8PJNGe0TVFDFPDh4kgAnMuww\""},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"API Key expired.Regenerate your api key.\",\n    \"data\": {\n        \"org_id\": 416,\n        \"valid\": true,\n        \"expire\": true,\n        \"activeStatus\": true,\n        \"refresh\": true\n    }\n}"}],"_postman_id":"1e9b85d1-38c2-4f57-8dfb-ba7b2bb8c12b"},{"name":"Refresh api key","id":"52a89aa2-e86d-4abb-bc23-c3bdd9fac0aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"apiKey\":\"pDv2wQCvCLrQ6uoPWBjThD2uQuZSMeX4jSsrAOcwsSH4KpzAuf\",\n    \"orgId\":\"331\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.epasscard.com/api/public/v1/refresh-api-key","description":"<h1 id=\"refresh-api-key\">Refresh API Key</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>This endpoint regenerates an existing API key for the Epasscard Public API. When called, it invalidates the current API key and generates a new one with an updated expiration date.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<p>The following parameters must be sent in the request body as <strong>JSON</strong> data:</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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>apiKey</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Your current/existing API key that needs to be refreshed</td>\n</tr>\n<tr>\n<td><code>orgId</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>Your organization ID associated with the API key</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response\">Response</h2>\n<p>A successful response (HTTP 200) returns:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"message\": \"Api key regenerated\",\n  \"data\": {\n    \"api_key\": \"string\",           // Your new API key - store this securely\n    \"new_expire_date\": \"datetime\",  // When the new key will expire\n    \"next_refresh\": \"datetime\"      // Recommended time to refresh the key again\n  }\n}\n\n</code></pre>\n<h3 id=\"response-fields\">Response Fields</h3>\n<ul>\n<li><p><strong>api_key</strong>: The newly generated API key. Replace your old key with this value in all subsequent requests.</p>\n</li>\n<li><p><strong>new_expire_date</strong>: The expiration timestamp for the new API key.</p>\n</li>\n<li><p><strong>next_refresh</strong>: The recommended time to refresh the key again (typically before expiration).</p>\n</li>\n</ul>\n<h2 id=\"important-notes\">Important Notes</h2>\n<h3 id=\"when-to-use-this-endpoint\">When to Use This Endpoint</h3>\n<ul>\n<li><p><strong>Before Expiration</strong>: Refresh your API key before it expires to maintain uninterrupted service. Use the <code>next_refresh</code> timestamp from previous responses as a guide.</p>\n</li>\n<li><p><strong>Security Rotation</strong>: Regularly rotate API keys as part of your security best practices.</p>\n</li>\n<li><p><strong>Compromised Keys</strong>: Immediately refresh if you suspect your API key has been compromised.</p>\n</li>\n</ul>\n<h3 id=\"security-considerations\">Security Considerations</h3>\n<p>⚠️ <strong>Important Security Practices:</strong></p>\n<ol>\n<li><p><strong>Store Securely</strong>: Never expose API keys in client-side code, public repositories, or logs.</p>\n</li>\n<li><p><strong>Update Immediately</strong>: After refreshing, update your API key in all systems and applications that use it.</p>\n</li>\n<li><p><strong>Old Key Invalidation</strong>: The previous API key becomes invalid immediately after a successful refresh.</p>\n</li>\n<li><p><strong>Monitor Usage</strong>: Track when keys are refreshed to detect unauthorized refresh attempts.</p>\n</li>\n</ol>\n<h3 id=\"best-practices\">Best Practices</h3>\n<ul>\n<li><p>Implement automated key rotation before the <code>next_refresh</code> time</p>\n</li>\n<li><p>Store the new API key securely (e.g., environment variables, secrets manager)</p>\n</li>\n<li><p>Update all services using the old key to prevent authentication failures</p>\n</li>\n<li><p>Log refresh operations for audit purposes</p>\n</li>\n</ul>\n","urlObject":{"path":["public","v1","refresh-api-key"],"host":["https://api.epasscard.com/api"],"query":[],"variable":[]}},"response":[{"id":"02783925-f3b7-4820-bdfc-5e3d30fed29c","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"apiKey","value":"a4ojJkox5OgRi6EpVrvimk5GxLGDFvXU5AxtLcmmUXkqI446ve","type":"text","uuid":"dca5b03d-37b2-45c6-a699-e706b1298148"},{"key":"orgId","value":"416","type":"text","uuid":"718b0550-ce4f-4975-9a49-af0a92d6365f"}]},"url":"https://api.epasscard.com/api/public/v1/refresh-api-key"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 25 Nov 2025 11:31:36 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"182"},{"key":"ETag","value":"W/\"b6-RIME8l45fHC3RDN45srSJJud0ms\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Api key regenerated\",\n    \"data\": {\n        \"api_key\": \"FpFX8BtyiEEyvZVpg9omkXYouC7mDr6xfCeaw7x9jPH8c0lR29\",\n        \"new_expire_date\": \"2025-11-28 11:32:45\",\n        \"next_refresh\": \"2025-11-28 09:32:45\"\n    }\n}"}],"_postman_id":"52a89aa2-e86d-4abb-bc23-c3bdd9fac0aa"},{"name":"Generate api key","id":"b8273685-5a7f-44a6-805e-a2a636678427","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"example@gmail.com\",\n    \"password\":\"RDKOWDJ\",\n    \"keyName\":\"demo\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.epasscard.com/api/public/v1/generate-api-key","description":"<h1 id=\"generate-api-key\">Generate API Key</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>This endpoint generates an API key for authentication purposes. The API key is used to authenticate subsequent requests to the API and provides secure access to protected resources.</p>\n<h2 id=\"request-details\">Request Details</h2>\n<h3 id=\"method\">Method</h3>\n<p><code>POST</code></p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://api.epasscard.com/api/public/v1/generate-api-key\n\n</code></pre><h3 id=\"request-body\">Request Body</h3>\n<p>The request requires a JSON payload with the following fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>email</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>The user's registered email address</td>\n</tr>\n<tr>\n<td><code>password</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>The user's account password</td>\n</tr>\n<tr>\n<td>keyName</td>\n<td>string</td>\n<td>Yes</td>\n<td>Name for api key</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example Request Body:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"email\": \"user@example.com\",\n  \"password\": \"YourSecurePassword\"\n}\n\n</code></pre>\n<h2 id=\"response-information\">Response Information</h2>\n<h3 id=\"success-response-200-ok\">Success Response (200 OK)</h3>\n<p>When the API key is successfully generated, the endpoint returns a JSON response with the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 200,\n  \"message\": \"API Key generated successfully\",\n  \"data\": {\n    \"api_key\": \"s9Kno6R47pelMffvgZiDdr0fneWczy9ZrjsRTxgk...\",\n    \"expire_at\": \"2026-01-07 10:00:31\",\n    \"created_at\": \"2025-12-08 10:00:31\"\n  }\n}\n\n</code></pre>\n<h3 id=\"response-fields\">Response Fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>status</code></td>\n<td>integer</td>\n<td>HTTP status code (200 for success)</td>\n</tr>\n<tr>\n<td><code>message</code></td>\n<td>string</td>\n<td>Human-readable message describing the result</td>\n</tr>\n<tr>\n<td><code>data.api_key</code></td>\n<td>string</td>\n<td>The generated API key for authentication</td>\n</tr>\n<tr>\n<td><code>data.expire_at</code></td>\n<td>string</td>\n<td>Expiration date and time of the API key (format: YYYY-MM-DD HH:MM:SS)</td>\n</tr>\n<tr>\n<td><code>data.created_at</code></td>\n<td>string</td>\n<td>Creation date and time of the API key (format: YYYY-MM-DD HH:MM:SS)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"usage-notes\">Usage Notes</h2>\n<h3 id=\"api-key-expiration\">API Key Expiration</h3>\n<ul>\n<li><p>The API key has a validity period of approximately <strong>2 years</strong> from the creation date</p>\n</li>\n<li><p>Monitor the <code>expire_at</code> field to track when the key will expire</p>\n</li>\n<li><p>Generate a new API key before expiration to maintain uninterrupted access</p>\n</li>\n</ul>\n<h3 id=\"security-best-practices\">Security Best Practices</h3>\n<ul>\n<li><p><strong>Store the API key securely</strong> - Save it in a secure location immediately after generation</p>\n</li>\n<li><p>Never expose the API key in client-side code or public repositories</p>\n</li>\n<li><p>Use environment variables or secure vaults to store the API key</p>\n</li>\n<li><p>Regenerate the API key if you suspect it has been compromised</p>\n</li>\n</ul>\n<h3 id=\"authentication\">Authentication</h3>\n<ul>\n<li><p>Use the generated API key in the <code>Authorization</code> header or as specified in the API documentation for subsequent requests</p>\n</li>\n<li><p>Keep track of the expiration date to avoid authentication failures</p>\n</li>\n</ul>\n","urlObject":{"path":["public","v1","generate-api-key"],"host":["https://api.epasscard.com/api"],"query":[],"variable":[]}},"response":[{"id":"32791eb7-488c-4ff7-9681-a9dfddeb14d9","name":"Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"riadhossainkhan10@gmail.com\",\n    \"password\":\"Diit54321@#\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.epasscard.com/api/public/v1/generate-api-key"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Mon, 08 Dec 2025 10:00:31 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"198"},{"key":"ETag","value":"W/\"c6-Mhj01V+6DU+yqtAC22bSQ4xsH2k\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"API Key generated successfully\",\n    \"data\": {\n        \"api_key\": \"s9Kno6R47pe*********************lnM20ezfL\",\n        \"expire_at\": \"2026-01-07 10:00:31\",\n        \"created_at\": \"2025-12-08 10:00:31\"\n    }\n}"},{"id":"b28ea2b6-4998-480f-9b3e-d4909d22a740","name":"Validation failed response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"\",\n    \"password\":\"Diit54321@#\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.epasscard.com/api/public/v1/generate-api-key"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Mon, 08 Dec 2025 10:02:58 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"58"},{"key":"ETag","value":"W/\"3a-ZfqLrTA7VjARB2GyUVPElfsxc1Q\""},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 400,\n    \"message\": \"Email and password are required\"\n}"},{"id":"b2f40ff4-1ee5-472e-828a-3439c09f68e5","name":"Invalid email or password response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"riadhossainkhan10@gmail.com\",\n    \"password\":\"Diit543@#\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.epasscard.com/api/public/v1/generate-api-key"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Mon, 08 Dec 2025 10:03:34 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"52"},{"key":"ETag","value":"W/\"34-hgKLbT7wFxmRt5DE8Epg7gY9xcQ\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 401,\n    \"message\": \"Invalid email or password\"\n}"}],"_postman_id":"b8273685-5a7f-44a6-805e-a2a636678427"}],"id":"ae84abcd-64f3-48e2-9e65-3b217fed46b9","_postman_id":"ae84abcd-64f3-48e2-9e65-3b217fed46b9","description":""},{"name":"Pass Templates","item":[{"name":"Get pass templates","id":"14c9c98a-050e-4645-b45f-e6397d066b3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.epasscard.com/api/public/v1/get-pass-templates?page=1","description":"<h1 id=\"get-all-pass-templates-paginated\">Get All Pass Templates (Paginated)</h1>\n<p>Retrieves a paginated list of all available pass templates in the system. This endpoint is useful for browsing, searching, or managing pass templates.</p>\n<hr />\n<p><strong>Endpoint:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://api.epasscard.com/api/public/v1/get-pass-templates?page=1\n\n</code></pre><hr />\n<h2 id=\"http-method\">HTTP Method</h2>\n<ul>\n<li><strong>GET</strong></li>\n</ul>\n<hr />\n<h2 id=\"query-parameters\">Query Parameters</h2>\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>Required</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>page</td>\n<td>integer</td>\n<td>Yes</td>\n<td>The page number to retrieve.</td>\n<td>page=1</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"response-structure\">Response Structure</h2>\n<p>A successful response returns a JSON object with the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"templates\": [\n    {\n      \"id\": integer,\n      \"uid\": string,\n      \"name\": string,\n      \"slug\": string,\n      \"template_data\": string (JSON),\n      \"status\": integer,\n      \"published_at\": string (ISO 8601 datetime),\n      \"org_id\": integer,\n      \"description\": string,\n      \"pass_org_name\": string,\n      \"pass_limit\": integer,\n      \"nfc\": string | null,\n      \"is_public\": integer,\n      \"google_wallet_status\": integer,\n      \"total_pass\": integer,\n      \"active\": integer,\n      \"in_active\": integer\n    },\n    ...\n  ],\n  \"total\": {\n    \"total_templates\": integer\n  }\n}\n\n</code></pre><h3 id=\"field-descriptions\">Field Descriptions</h3>\n<ul>\n<li><p><strong>templates</strong>: Array of pass template objects.</p>\n<ul>\n<li><p><strong>id</strong>: Unique numeric identifier for the template.</p>\n</li>\n<li><p><strong>uid</strong>: Unique string identifier (UUID) for the template.</p>\n</li>\n<li><p><strong>name</strong>: Name of the pass template.</p>\n</li>\n<li><p><strong>slug</strong>: URL-friendly identifier for the template.</p>\n</li>\n<li><p><strong>template_data</strong>: JSON string containing template configuration and fields.</p>\n</li>\n<li><p><strong>status</strong>: Status of the template (e.g., 1 = active).</p>\n</li>\n<li><p><strong>published_at</strong>: Date and time when the template was published.</p>\n</li>\n<li><p><strong>org_id</strong>: Organization ID associated with the template.</p>\n</li>\n<li><p><strong>description</strong>: Description of the template.</p>\n</li>\n<li><p><strong>pass_org_name</strong>: Name of the organization for the pass.</p>\n</li>\n<li><p><strong>pass_limit</strong>: Maximum number of passes allowed for this template.</p>\n</li>\n<li><p><strong>nfc</strong>: NFC configuration for enable and disable NFC feature.</p>\n</li>\n<li><p><strong>is_public</strong>: Indicates if the template is public (1 = yes, 0 = no).</p>\n</li>\n<li><p><strong>google_wallet_status</strong>: Google Wallet integration status.</p>\n</li>\n<li><p><strong>total_pass</strong>: Total number of passes created from this template.</p>\n</li>\n<li><p><strong>active</strong>: Number of active passes.</p>\n</li>\n<li><p><strong>in_active</strong>: Number of inactive passes.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>total</strong>: Object containing total count information.</p>\n<ul>\n<li><strong>total_templates</strong>: Total number of pass templates available.</li>\n</ul>\n</li>\n</ul>\n<hr />\n<h2 id=\"usage-notes\">Usage Notes</h2>\n<ul>\n<li><p>The <code>page</code> query parameter is required and must be a positive integer.</p>\n</li>\n<li><p>The endpoint returns paginated results. To retrieve additional pages, increment the <code>page</code> parameter.</p>\n</li>\n<li><p>The <code>template_data</code> field is a JSON string and may need to be parsed for further use.</p>\n</li>\n<li><p>Use this endpoint to list, search, or manage pass templates for your organization.</p>\n</li>\n<li><p>Authentication required ensure you are authenticated as required by the API (e.g., Bearer token/x-api-key).</p>\n</li>\n</ul>\n<hr />\n<p><strong>Example Request:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://api.epasscard.com/api/public/v1/get-pass-templates?page=1\n\n</code></pre><p><strong>Example Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"templates\": [\n    {\n      \"id\": 792,\n      \"uid\": \"9b1de8b2-f007-4ecb-a355-de7c01c9d5d4\",\n      \"name\": \"z\",\n      \"slug\": \"z\",\n      \"template_data\": \"{\\\"primarySettings\\\":{\\\"name\\\":\\\"Warrenty car...\",\n      \"status\": 1,\n      \"published_at\": \"2025-10-21T07:05:19.000Z\",\n      \"org_id\": 401,\n      \"description\": \"adasd\",\n      \"pass_org_name\": \"asd\",\n      \"pass_limit\": 3,\n      \"nfc\": null,\n      \"is_public\": 0,\n      \"google_wallet_status\": 0,\n      \"total_pass\": 0,\n      \"active\": 0,\n      \"in_active\": 0\n    }\n  ],\n  \"total\": {\n    \"total_templates\": 4\n  }\n}\n\n</code></pre>","urlObject":{"path":["public","v1","get-pass-templates"],"host":["https://api.epasscard.com/api"],"query":[{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"34ad1522-5522-4624-bdb5-5ca378f8dcdb","name":"401","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.epasscard.com/api/pass-template/all-templates?page=1","host":["https://api.epasscard.com/api"],"path":["pass-template","all-templates"],"query":[{"key":"page","value":"1"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Fri, 17 Oct 2025 09:20:52 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"40"},{"key":"ETag","value":"W/\"28-Vc3u2TanOtzm7UhcmjF51Q/OyoI\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 401,\n    \"message\": \"Access Denied\"\n}"},{"id":"88241a4f-4924-4d28-8755-35514b713581","name":"200","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.epasscard.com/api/public/v1/get-pass-templates?page=1","host":["https://api.epasscard.com/api"],"path":["public","v1","get-pass-templates"],"query":[{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Fri, 24 Oct 2025 11:14:29 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"99"},{"key":"X-RateLimit-Reset","value":"1761304529"},{"key":"X-RateLimit-Reset-Date","value":"2025-10-24T11:15:29.249Z"},{"key":"X-Request-Type","value":"general"},{"key":"X-Current-Time","value":"2025-10-24T11:14:29.251Z"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"10747"},{"key":"ETag","value":"W/\"29fb-AEJe9jJjKzj3PoAasF9iS2KVlgs\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"templates\": [\n        {\n            \"id\": 792,\n            \"uid\": \"9b1de8b2-f007-4ecb-a355-de7c01c9d5d4\",\n            \"name\": \"z\",\n            \"slug\": \"z\",\n            \"template_data\": \"{\\\"primarySettings\\\":{\\\"name\\\":\\\"Warrenty card\\\",\\\"cardType\\\":\\\"StoreCard\\\",\\\"organizationName\\\":\\\"\\\",\\\"description\\\":\\\"\\\",\\\"forgroundColor\\\":\\\"#ffffff\\\",\\\"backgroundColor\\\":\\\"#3a3740\\\",\\\"labelColor\\\":\\\"#ffffff\\\",\\\"stripColor\\\":\\\"\\\",\\\"expireType\\\":\\\"\\\",\\\"expireValue\\\":\\\"\\\",\\\"passTypeId\\\":\\\"pass.test.epasscard\\\",\\\"dateTimeFormat\\\":\\\"YYYY-MM-DD HH:mm:ss\\\",\\\"shareable\\\":false,\\\"googleWalletShareable\\\":\\\"STATUS_UNSPECIFIED\\\"},\\\"headerFields\\\":[{\\\"label\\\":\\\"Product name\\\",\\\"value\\\":\\\"{Product name}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Product name is updated to\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"backFields\\\":[{\\\"label\\\":\\\"Customer name\\\",\\\"value\\\":\\\"{Customer name}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer name is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"},{\\\"label\\\":\\\"Customer phone number\\\",\\\"value\\\":\\\"{Customer phone number}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer phone number is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"},{\\\"label\\\":\\\"Customer care\\\",\\\"value\\\":\\\"{Customer care}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer phone number is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"}],\\\"auxiliaryFields\\\":[],\\\"images\\\":{\\\"logo\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-logo.png\\\",\\\"icon\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-logo.png\\\",\\\"thumbnail\\\":\\\"\\\",\\\"strip\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-strip.png\\\",\\\"footer\\\":\\\"\\\"},\\\"primaryFields\\\":[{\\\"label\\\":\\\"\\\",\\\"value\\\":\\\"\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"barcode\\\":{\\\"format\\\":\\\"qrCode\\\",\\\"barcodeValueType\\\":\\\"\\\",\\\"value\\\":\\\"systemId\\\",\\\"altText\\\":\\\"\\\",\\\"showValue\\\":true},\\\"secondaryFields\\\":[{\\\"label\\\":\\\"Warrenty Till\\\",\\\"value\\\":\\\"{Warrenty till}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Warrenty period is updated to\\\",\\\"staticValueType\\\":\\\"text\\\"},{\\\"label\\\":\\\"Purchase date\\\",\\\"value\\\":\\\"{Purchase Date}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Purchase date is updated to\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"googlePassLayout\\\":\\\"Custom\\\",\\\"googleDefaultLayout\\\":{\\\"loyaltyBalance\\\":\\\"\\\",\\\"loyaltyBalanceLabel\\\":\\\"\\\",\\\"giftCardBalance\\\":\\\"\\\",\\\"giftCardCurrencyCode\\\":\\\"\\\"},\\\"emailSettings\\\":{\\\"subject\\\":\\\"\\\",\\\"emailTemplate\\\":\\\"\\\",\\\"recipientEmail\\\":\\\"\\\"},\\\"pushNotificationContent\\\":{\\\"bodyForUpdate\\\":\\\"\\\"},\\\"smsContent\\\":{\\\"receiver\\\":\\\"\\\",\\\"content\\\":\\\"\\\"},\\\"status\\\":false}\",\n            \"status\": 1,\n            \"published_at\": \"2025-10-21T07:05:19.000Z\",\n            \"org_id\": 401,\n            \"description\": \"adasd\",\n            \"pass_org_name\": \"asd\",\n            \"pass_limit\": 3,\n            \"nfc\": null,\n            \"is_public\": 0,\n            \"google_wallet_status\": 0,\n            \"total_pass\": 0,\n            \"active\": 0,\n            \"in_active\": 0\n        },\n        {\n            \"id\": 790,\n            \"uid\": \"ec1b35d2-bde6-426c-aed7-4f8b3d097c87\",\n            \"name\": \"xasdasd\",\n            \"slug\": \"xasdasd\",\n            \"template_data\": \"{\\\"primarySettings\\\":{\\\"name\\\":\\\"Warrenty card\\\",\\\"cardType\\\":\\\"StoreCard\\\",\\\"organizationName\\\":\\\"\\\",\\\"description\\\":\\\"\\\",\\\"forgroundColor\\\":\\\"#ffffff\\\",\\\"backgroundColor\\\":\\\"#3A3740\\\",\\\"labelColor\\\":\\\"#ffffff\\\",\\\"stripColor\\\":\\\"\\\",\\\"expireType\\\":\\\"\\\",\\\"expireValue\\\":\\\"\\\",\\\"passTypeId\\\":\\\"pass.test.epasscard\\\",\\\"dateTimeFormat\\\":\\\"YYYY-MM-DD HH:mm:ss\\\",\\\"shareable\\\":false,\\\"googleWalletShareable\\\":\\\"STATUS_UNSPECIFIED\\\"},\\\"headerFields\\\":[{\\\"label\\\":\\\"Product name\\\",\\\"value\\\":\\\"{Product name}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Product name is updated to\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"backFields\\\":[{\\\"label\\\":\\\"Customer name\\\",\\\"value\\\":\\\"{Customer name}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer name is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"},{\\\"label\\\":\\\"Customer phone number\\\",\\\"value\\\":\\\"{Customer phone number}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer phone number is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"},{\\\"label\\\":\\\"Customer care\\\",\\\"value\\\":\\\"{pass_link}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer phone number is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"}],\\\"auxiliaryFields\\\":[],\\\"images\\\":{\\\"logo\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-logo.png\\\",\\\"icon\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-logo.png\\\",\\\"thumbnail\\\":\\\"\\\",\\\"strip\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-strip.png\\\",\\\"footer\\\":\\\"\\\"},\\\"primaryFields\\\":[{\\\"label\\\":\\\"\\\",\\\"value\\\":\\\"\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"barcode\\\":{\\\"format\\\":\\\"qrCode\\\",\\\"barcodeValueType\\\":\\\"\\\",\\\"value\\\":\\\"systemId\\\",\\\"altText\\\":\\\"\\\",\\\"showValue\\\":true},\\\"secondaryFields\\\":[{\\\"label\\\":\\\"Warrenty Till\\\",\\\"value\\\":\\\"{Warrenty till}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Warrenty period is updated to\\\",\\\"staticValueType\\\":\\\"text\\\"},{\\\"label\\\":\\\"Purchase date\\\",\\\"value\\\":\\\"{Purchase Date}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Purchase date is updated to\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"googlePassLayout\\\":\\\"Custom\\\",\\\"googleDefaultLayout\\\":{\\\"loyaltyBalance\\\":\\\"\\\",\\\"loyaltyBalanceLabel\\\":\\\"\\\",\\\"giftCardBalance\\\":\\\"\\\",\\\"giftCardCurrencyCode\\\":\\\"\\\"},\\\"emailSettings\\\":{\\\"subject\\\":\\\"\\\",\\\"emailTemplate\\\":\\\"\\\",\\\"recipientEmail\\\":\\\"\\\"},\\\"pushNotificationContent\\\":{\\\"bodyForUpdate\\\":\\\"\\\"},\\\"smsContent\\\":{\\\"receiver\\\":\\\"\\\",\\\"content\\\":\\\"\\\"},\\\"status\\\":false}\",\n            \"status\": 1,\n            \"published_at\": \"2025-10-21T03:33:29.000Z\",\n            \"org_id\": 401,\n            \"description\": \"dasd\",\n            \"pass_org_name\": \"asd\",\n            \"pass_limit\": 4,\n            \"nfc\": null,\n            \"is_public\": 0,\n            \"google_wallet_status\": 0,\n            \"total_pass\": 3,\n            \"active\": 3,\n            \"in_active\": 0\n        },\n        {\n            \"id\": 788,\n            \"uid\": \"0ac2e74e-eb68-4c0e-8fe8-dc1bde9a2ede\",\n            \"name\": \"Sample card\",\n            \"slug\": \"sample-card\",\n            \"template_data\": \"{\\\"primarySettings\\\":{\\\"name\\\":\\\"Gift card\\\",\\\"cardType\\\":\\\"StoreCard\\\",\\\"organizationName\\\":\\\"\\\",\\\"description\\\":\\\"\\\",\\\"forgroundColor\\\":\\\"#ffffff\\\",\\\"backgroundColor\\\":\\\"#c8407e\\\",\\\"labelColor\\\":\\\"#ffffff\\\",\\\"stripColor\\\":\\\"\\\",\\\"expireType\\\":\\\"\\\",\\\"expireValue\\\":\\\"\\\",\\\"passTypeId\\\":\\\"\\\",\\\"dateTimeFormat\\\":\\\"DD MMMM YYYY\\\",\\\"shareable\\\":false,\\\"googleWalletShareable\\\":\\\"STATUS_UNSPECIFIED\\\"},\\\"headerFields\\\":[{\\\"label\\\":\\\"Balance\\\",\\\"value\\\":\\\"{Balance}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Balance is updated to\\\",\\\"staticValueType\\\":\\\"\\\"}],\\\"backFields\\\":[{\\\"label\\\":\\\"test\\\",\\\"value\\\":\\\"test\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"\\\",\\\"staticValueType\\\":\\\"textarea\\\"}],\\\"auxiliaryFields\\\":[],\\\"images\\\":{\\\"logo\\\":\\\"https://ecosmartcards.com//assets/img/predefined-templates/assets/gift-logo.png\\\",\\\"icon\\\":\\\"https://ecosmartcards.com//assets/img/predefined-templates/assets/gift-logo.png\\\",\\\"thumbnail\\\":\\\"https://ecosmartcards.com/\\\",\\\"strip\\\":\\\"https://ecosmartcards.com//assets/img/predefined-templates/assets/gift-strip.png\\\",\\\"footer\\\":\\\"\\\"},\\\"primaryFields\\\":[{\\\"label\\\":\\\"\\\",\\\"value\\\":\\\"\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"\\\",\\\"staticValueType\\\":\\\"\\\"}],\\\"barcode\\\":{\\\"format\\\":\\\"CODE_128\\\",\\\"barcodeValueType\\\":\\\"\\\",\\\"value\\\":\\\"systemId\\\",\\\"altText\\\":\\\"\\\",\\\"showValue\\\":true},\\\"secondaryFields\\\":[{\\\"label\\\":\\\"Full name\\\",\\\"value\\\":\\\"{Full name}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Name is updated\\\",\\\"staticValueType\\\":\\\"text\\\"},{\\\"label\\\":\\\"Giftcard no\\\",\\\"value\\\":\\\"{Giftcard no}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Giftcard number is updated\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"googlePassLayout\\\":\\\"Custom\\\",\\\"googleDefaultLayout\\\":{\\\"loyaltyBalance\\\":\\\"\\\",\\\"loyaltyBalanceLabel\\\":\\\"\\\",\\\"giftCardBalance\\\":\\\"\\\",\\\"giftCardCurrencyCode\\\":\\\"\\\"},\\\"emailSettings\\\":{\\\"subject\\\":\\\"\\\",\\\"emailTemplate\\\":\\\"\\\",\\\"recipientEmail\\\":\\\"\\\"},\\\"pushNotificationContent\\\":{\\\"bodyForUpdate\\\":\\\"\\\"},\\\"smsContent\\\":{\\\"receiver\\\":\\\"\\\",\\\"content\\\":\\\"\\\"},\\\"status\\\":false}\",\n            \"status\": 1,\n            \"published_at\": \"2025-10-20T06:05:26.000Z\",\n            \"org_id\": 401,\n            \"description\": \"Sample card\",\n            \"pass_org_name\": \"Sample card\",\n            \"pass_limit\": 4,\n            \"nfc\": null,\n            \"is_public\": 0,\n            \"google_wallet_status\": 0,\n            \"total_pass\": 0,\n            \"active\": 0,\n            \"in_active\": 0\n        },\n        {\n            \"id\": 786,\n            \"uid\": \"cb0fca47-97be-4a77-a7ef-67a4ab24702d\",\n            \"name\": \"Webcartisan\",\n            \"slug\": \"webcartisan\",\n            \"template_data\": \"{\\\"primarySettings\\\":{\\\"name\\\":\\\"Warrenty card\\\",\\\"cardType\\\":\\\"StoreCard\\\",\\\"organizationName\\\":\\\"\\\",\\\"description\\\":\\\"\\\",\\\"forgroundColor\\\":\\\"#ffffff\\\",\\\"backgroundColor\\\":\\\"#3a3740\\\",\\\"labelColor\\\":\\\"#ffffff\\\",\\\"stripColor\\\":\\\"\\\",\\\"expireType\\\":\\\"\\\",\\\"expireValue\\\":\\\"\\\",\\\"passTypeId\\\":\\\"pass.test.epasscard\\\",\\\"dateTimeFormat\\\":\\\"YYYY-MM-DD HH:mm:ss\\\",\\\"shareable\\\":false,\\\"googleWalletShareable\\\":\\\"STATUS_UNSPECIFIED\\\"},\\\"headerFields\\\":[{\\\"label\\\":\\\"Product name\\\",\\\"value\\\":\\\"{Product name}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Product name is updated to\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"backFields\\\":[{\\\"label\\\":\\\"Customer name\\\",\\\"value\\\":\\\"{Customer name}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer name is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"},{\\\"label\\\":\\\"Customer phone number\\\",\\\"value\\\":\\\"{Customer phone number}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer phone number is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"},{\\\"label\\\":\\\"Customer care\\\",\\\"value\\\":\\\"{Customer care}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer phone number is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"}],\\\"auxiliaryFields\\\":[],\\\"images\\\":{\\\"logo\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-logo.png\\\",\\\"icon\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-logo.png\\\",\\\"thumbnail\\\":\\\"\\\",\\\"strip\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-strip.png\\\",\\\"footer\\\":\\\"\\\"},\\\"primaryFields\\\":[{\\\"label\\\":\\\"\\\",\\\"value\\\":\\\"\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"barcode\\\":{\\\"format\\\":\\\"qrCode\\\",\\\"barcodeValueType\\\":\\\"\\\",\\\"value\\\":\\\"systemId\\\",\\\"altText\\\":\\\"\\\",\\\"showValue\\\":true},\\\"secondaryFields\\\":[{\\\"label\\\":\\\"Warrenty Till\\\",\\\"value\\\":\\\"{Warrenty till}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Warrenty period is updated to\\\",\\\"staticValueType\\\":\\\"text\\\"},{\\\"label\\\":\\\"Purchase date\\\",\\\"value\\\":\\\"{Purchase Date}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Purchase date is updated to\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"googlePassLayout\\\":\\\"Custom\\\",\\\"googleDefaultLayout\\\":{\\\"loyaltyBalance\\\":\\\"\\\",\\\"loyaltyBalanceLabel\\\":\\\"\\\",\\\"giftCardBalance\\\":\\\"\\\",\\\"giftCardCurrencyCode\\\":\\\"\\\"},\\\"emailSettings\\\":{\\\"subject\\\":\\\"\\\",\\\"emailTemplate\\\":\\\"\\\",\\\"recipientEmail\\\":\\\"\\\"},\\\"pushNotificationContent\\\":{\\\"bodyForUpdate\\\":\\\"\\\"},\\\"smsContent\\\":{\\\"receiver\\\":\\\"\\\",\\\"content\\\":\\\"\\\"},\\\"status\\\":false}\",\n            \"status\": 1,\n            \"published_at\": \"2025-10-15T23:44:32.000Z\",\n            \"org_id\": 401,\n            \"description\": \"Webcartisan\",\n            \"pass_org_name\": \"Webcartisan\",\n            \"pass_limit\": 5,\n            \"nfc\": null,\n            \"is_public\": 0,\n            \"google_wallet_status\": 0,\n            \"total_pass\": 1,\n            \"active\": 1,\n            \"in_active\": 0\n        }\n    ],\n    \"total\": {\n        \"total_templates\": 4\n    }\n}"}],"_postman_id":"14c9c98a-050e-4645-b45f-e6397d066b3e"},{"name":"create new template","id":"318c92e3-ecca-4a6d-b513-277053efdd74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"passSettings\": {\n        \"primarySettings\": {\n            \"name\": \"Gift card\",\n            \"cardType\": \"StoreCard\",\n            \"forgroundColor\": \"#ffffff\",\n            \"backgroundColor\": \"#c8407e\",\n            \"labelColor\": \"#ffffff\",\n            \"stripColor\": \"\",\n            \"expireType\": \"\",\n            \"expireValue\": \"\",\n            \"dateTimeFormat\": \"DD MMMM YYYY\",\n            \"shareable\": false,\n            \"googleWalletShareable\": \"STATUS_UNSPECIFIED\"\n        },\n        \"headerFields\": [\n            {\n                \"label\": \"test\",\n                \"value\": \"test\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"\",\n                \"staticValueType\": \"textarea\"\n            }\n        ],\n        \n        \"backFields\": [\n            {\n                \"label\": \"adad\",\n                \"value\": \"test\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"\",\n                \"staticValueType\": \"textarea\"\n            }\n        ],\n        \"auxiliaryFields\": [],\n        \"images\": {\n            \"logo\": \"https://api.epasscard.com/assets/img/predefined-templates/assets/gift-logo.png\",\n            \"icon\": \"https://api.epasscard.com//assets/img/predefined-templates/assets/gift-logo.png\",\n            \"thumbnail\": \"https://api.epasscard.com/\",\n            \"strip\": \"https://api.epasscard.com/assets/img/predefined-templates/assets/gift-strip.png\",\n            \"footer\": \"\"\n        },\n        \"primaryFields\": [\n            {\n                \"label\": \"\",\n                \"value\": \"\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"\",\n                \"staticValueType\": \"\"\n            }\n        ],\n        \"barcode\": {\n            \"format\": \"CODE_128\",\n            \"value\": \"systemId\",\n            \"altText\": \"\",\n            \"showValue\": true\n        },\n        \"secondaryFields\": [\n            {\n                \"label\": \"Full name\",\n                \"value\": \"{Full name}\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"Name is updated\",\n                \"staticValueType\": \"text\"\n            },\n            {\n                \"label\": \"Giftcard no\",\n                \"value\": \"{Giftcard no}\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"Giftcard number is updated\",\n                \"staticValueType\": \"text\"\n            }\n        ],\n        \"googlePassLayout\": \"Custom\",\n        \"googleDefaultLayout\": {\n            \"loyaltyBalance\": \"\",\n            \"loyaltyBalanceLabel\": \"\",\n            \"giftCardBalance\": \"\",\n            \"giftCardCurrencyCode\": \"\"\n        },\n        \"emailSettings\": {\n            \"subject\": \"\",\n            \"emailTemplate\": \"\",\n            \"recipientEmail\": \"\"\n        },\n        \"pushNotificationContent\": {\n            \"bodyForUpdate\": \"\"\n        },\n        \"smsContent\": {\n            \"receiver\": \"\",\n            \"content\": \"\"\n        },\n        \"status\": false\n    },\n    \"templateInfo\": {\n        \"name\": \"Sample card\",\n        \"description\": \"Sample card\",\n        \"organization\": \"Sample card\",\n        \"numOfPass\": 100,\n        \"passTypeId\": \"pass.test.epasscard\"\n       \n    },\n    \"locations\": {\n        \"locationStatus\": false,\n        \"locations\": [\n            \n             \n        ],\n        \"initialMsg\": \"\",\n        \"locationRadius\": 100\n    },\n    \"additionalFields\": [\n        {\n            \"name\": \"Balance\",\n            \"type\": \"text\",\n            \"isRequired\": true,\n            \"isProtected\": false,\n            \"protectedBy\": \"\"\n        },\n        {\n            \"name\": \"Full name\",\n            \"type\": \"text\",\n            \"isRequired\": true,\n            \"isProtected\": false,\n            \"protectedBy\": \"\"\n        },\n        {\n            \"name\": \"Giftcard no\",\n            \"type\": \"text\",\n            \"isRequired\": true,\n            \"isProtected\": false,\n            \"protectedBy\": \"\"\n        }\n    ],\n    \"advancedSettings\": {\n        \"isExpire\": true,\n        \"expireType\": \"date\",\n        \"expireValueType\": \"fixed\",\n        \"expireValue\": \"2025-07-31T19:54\",\n        \"auditLog\": true,\n        \"isRechargeable\": false,\n        \"transectionLog\": true,\n        \"isRedeemAble\": false,\n        \"redeemField\": \"{}\",\n        \"rechargeField\": [\n            {\n                \"name\": \"Balance\",\n                \"value\": \"Balance\",\n                \"action\": \"add_deduct\"\n            },\n            {\n                \"name\": \"Full name\",\n                \"value\": \"Full name\",\n                \"action\": \"replace\"\n            }\n        ],\n        \"recipentEmail\": \"{}\",\n        \"uniqueCodeLength\": 15,\n        \"uniqueCodePrefix\": \"\",\n        \"uniqueCodeSuffix\": \"\",\n        \"uniqueCodeFormat\": \"\",\n        \"transectionActions\": [\n            {\n                \"field\": \"Balance\",\n                \"action\": \"add_deduct\"\n            },\n            {\n                \"field\": \"Full name\",\n                \"action\": \"replace\"\n            }\n        ]\n    }\n   \n}","options":{"raw":{"language":"json"}}},"url":"https://api.epasscard.com/api/public/v1/create-template","description":"<h1 id=\"create-pass-template\">Create Pass Template</h1>\n<p><strong>Endpoint:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST https://api.epasscard.com/api/public/v1/create-template\n\n</code></pre><h2 id=\"purpose\">Purpose</h2>\n<p>This endpoint creates a new pass template for EpassCard (such as gift cards, store cards, loyalty cards, or coupons). A pass template defines the appearance, structure, and behavior of digital passes that can later be issued to users. Templates ensure consistency in branding, layout, and logic for all passes generated from them.</p>\n<hr />\n<h2 id=\"request-body-structure\">Request Body Structure</h2>\n<p>The request body is a JSON object with the following main fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>passSettings</td>\n<td>object</td>\n<td>Main configuration for the pass appearance, fields, images, barcode, and behaviors.</td>\n</tr>\n<tr>\n<td>templateInfo</td>\n<td>object</td>\n<td>Metadata about the template (name, description, organization, etc.).</td>\n</tr>\n<tr>\n<td>locations</td>\n<td>object</td>\n<td>Location-based notification settings for the pass (optional).</td>\n</tr>\n<tr>\n<td>additionalFields</td>\n<td>array</td>\n<td>Custom fields required for the pass (required).It requires for create pass.</td>\n</tr>\n<tr>\n<td>advancedSettings</td>\n<td>object</td>\n<td>Advanced behaviors and controls for the pass(eg. Expire,share,transection)(optional).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"passsettings-object\">passSettings Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>primarySettings</td>\n<td>object</td>\n<td>Core card settings (name, cardType, colors, expiration, sharing options, etc.).</td>\n</tr>\n<tr>\n<td>headerFields</td>\n<td>array</td>\n<td>Fields displayed in the header area of the pass.</td>\n</tr>\n<tr>\n<td>backFields</td>\n<td>array</td>\n<td>Fields displayed on the back of the pass.</td>\n</tr>\n<tr>\n<td>auxiliaryFields</td>\n<td>array</td>\n<td>Additional fields for the pass (optional).</td>\n</tr>\n<tr>\n<td>images</td>\n<td>object</td>\n<td>URLs for branding images (logo, icon, thumbnail, strip, footer).</td>\n</tr>\n<tr>\n<td>primaryFields</td>\n<td>array</td>\n<td>Main fields displayed prominently on the pass.Shows on Strip image.</td>\n</tr>\n<tr>\n<td>barcode</td>\n<td>object</td>\n<td>Barcode configuration (format, value, alt text, showValue).</td>\n</tr>\n<tr>\n<td>secondaryFields</td>\n<td>array</td>\n<td>Secondary fields displayed on the pass.</td>\n</tr>\n<tr>\n<td>googlePassLayout</td>\n<td>string</td>\n<td>Google Wallet-specific layout option (e.g., \"Custom\").</td>\n</tr>\n<tr>\n<td>googleDefaultLayout</td>\n<td>object</td>\n<td>Google Wallet default layout settings.</td>\n</tr>\n<tr>\n<td>emailSettings</td>\n<td>object</td>\n<td>Email delivery settings (subject, template, recipient).</td>\n</tr>\n<tr>\n<td>pushNotificationContent</td>\n<td>object</td>\n<td>Content for push notifications.</td>\n</tr>\n<tr>\n<td>smsContent</td>\n<td>object</td>\n<td>SMS delivery settings (receiver, content).</td>\n</tr>\n<tr>\n<td>status</td>\n<td>boolean</td>\n<td>Whether the template is active.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"primarysettings-object\">primarySettings Object</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Pass template name (required).</td>\n</tr>\n<tr>\n<td>cardType</td>\n<td>string</td>\n<td>Card type(required).Available card types are StoreCard,Coupon,Event,Generic</td>\n</tr>\n<tr>\n<td>forgroundColor</td>\n<td>string</td>\n<td>HEX color code for text/foreground (default: #FFFFFF).</td>\n</tr>\n<tr>\n<td>backgroundColor</td>\n<td>string</td>\n<td>HEX color code for background (default: #000000).</td>\n</tr>\n<tr>\n<td>labelColor</td>\n<td>string</td>\n<td>HEX color code for labels (default: #FFFFFF).</td>\n</tr>\n<tr>\n<td>stripColor</td>\n<td>string</td>\n<td>HEX color code for stripe (optional).</td>\n</tr>\n<tr>\n<td>expireType</td>\n<td>string</td>\n<td>Expiration type (e.g., fixed, individual).</td>\n</tr>\n<tr>\n<td>expireValue</td>\n<td>string</td>\n<td>Expiration value (date/time or other, depending on expireType).</td>\n</tr>\n<tr>\n<td>dateTimeFormat</td>\n<td>string</td>\n<td>Format for displaying date/time (e.g., DD MMMM YYYY).</td>\n</tr>\n<tr>\n<td>shareable</td>\n<td>boolean</td>\n<td>Whether the pass can be shared (Apple Wallet).</td>\n</tr>\n<tr>\n<td>googleWalletShareable</td>\n<td>string</td>\n<td>Sharing status for Google Wallet (e.g., STATUS_UNSPECIFIED).</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"headerfields-backfields-auxiliaryfields-primaryfields-secondaryfields-arrays\">headerFields, backFields, auxiliaryFields, primaryFields, secondaryFields Arrays</h4>\n<p>Each array contains objects with:  </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label</td>\n<td>string</td>\n<td>Field label.</td>\n</tr>\n<tr>\n<td>value</td>\n<td>string</td>\n<td>Field value (can use placeholders like {Balance}).</td>\n</tr>\n<tr>\n<td>valueType</td>\n<td>string</td>\n<td>Value type (e.g., fixed, dynamic).</td>\n</tr>\n<tr>\n<td>changeMsg</td>\n<td>string</td>\n<td>Message shown when value changes.</td>\n</tr>\n<tr>\n<td>staticValueType</td>\n<td>string</td>\n<td>Type for static value (e.g., text, textarea).</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"images-object\">images Object</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>logo</td>\n<td>string</td>\n<td>URL for logo image.</td>\n</tr>\n<tr>\n<td>icon</td>\n<td>string</td>\n<td>URL for icon image.</td>\n</tr>\n<tr>\n<td>thumbnail</td>\n<td>string</td>\n<td>URL for thumbnail image.</td>\n</tr>\n<tr>\n<td>strip</td>\n<td>string</td>\n<td>URL for strip image.</td>\n</tr>\n<tr>\n<td>footer</td>\n<td>string</td>\n<td>URL for footer image.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"barcode-object\">barcode Object</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>format</td>\n<td>string</td>\n<td>Barcode format (e.g., CODE_128).</td>\n</tr>\n<tr>\n<td>value</td>\n<td>string</td>\n<td>Value encoded in the barcode.</td>\n</tr>\n<tr>\n<td>altText</td>\n<td>string</td>\n<td>Alternate text for barcode.</td>\n</tr>\n<tr>\n<td>showValue</td>\n<td>boolean</td>\n<td>Whether to display the value.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"googledefaultlayout-object\">googleDefaultLayout Object</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>loyaltyBalance</td>\n<td>string</td>\n<td>Loyalty balance (Google Wallet).</td>\n</tr>\n<tr>\n<td>loyaltyBalanceLabel</td>\n<td>string</td>\n<td>Label for loyalty balance.</td>\n</tr>\n<tr>\n<td>giftCardBalance</td>\n<td>string</td>\n<td>Gift card balance.</td>\n</tr>\n<tr>\n<td>giftCardCurrencyCode</td>\n<td>string</td>\n<td>Currency code for gift card.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"emailsettings-object\">emailSettings Object</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>subject</td>\n<td>string</td>\n<td>Email subject.</td>\n</tr>\n<tr>\n<td>emailTemplate</td>\n<td>string</td>\n<td>Email template content.</td>\n</tr>\n<tr>\n<td>recipientEmail</td>\n<td>string</td>\n<td>Recipient email address.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"pushnotificationcontent-object\">pushNotificationContent Object</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bodyForUpdate</td>\n<td>string</td>\n<td>Notification body for updates.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"smscontent-object\">smsContent Object</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>receiver</td>\n<td>string</td>\n<td>SMS recipient.</td>\n</tr>\n<tr>\n<td>content</td>\n<td>string</td>\n<td>SMS content.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"templateinfo-object\">templateInfo Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Template name (required).</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td>Template description.</td>\n</tr>\n<tr>\n<td>organization</td>\n<td>string</td>\n<td>Organization name or ID.</td>\n</tr>\n<tr>\n<td>numOfPass</td>\n<td>number</td>\n<td>Number of passes to issue (if applicable).</td>\n</tr>\n<tr>\n<td>passTypeId</td>\n<td>string</td>\n<td>Pass type identifier (for Apple Wallet, etc.).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"locations-object\">locations Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>locationStatus</td>\n<td>boolean</td>\n<td>Enable/disable location features.</td>\n</tr>\n<tr>\n<td>locations</td>\n<td>array</td>\n<td>Array of location objects (see below).</td>\n</tr>\n<tr>\n<td>initialMsg</td>\n<td>string</td>\n<td>Initial message for location notifications.</td>\n</tr>\n<tr>\n<td>locationRadius</td>\n<td>number</td>\n<td>Radius for location events (meters).</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"locations-array-inside-locations\">locations Array (inside locations)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Location name.</td>\n</tr>\n<tr>\n<td>latitude</td>\n<td>string</td>\n<td>Latitude coordinate.</td>\n</tr>\n<tr>\n<td>longitude</td>\n<td>string</td>\n<td>Longitude coordinate.</td>\n</tr>\n<tr>\n<td>altitude</td>\n<td>string</td>\n<td>Altitude (optional).</td>\n</tr>\n<tr>\n<td>releventText</td>\n<td>string</td>\n<td>Relevant text for the location.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"additionalfields-array\">additionalFields Array</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Field name.</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>Field type (e.g., text).</td>\n</tr>\n<tr>\n<td>isRequired</td>\n<td>boolean</td>\n<td>Whether the field is required.</td>\n</tr>\n<tr>\n<td>isProtected</td>\n<td>boolean</td>\n<td>Whether the field is protected.</td>\n</tr>\n<tr>\n<td>protectedBy</td>\n<td>string</td>\n<td>Protection mechanism (if any).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"advancedsettings-object\">advancedSettings Object</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>isExpire</td>\n<td>boolean</td>\n<td>Whether passes expire.</td>\n</tr>\n<tr>\n<td>expireType</td>\n<td>string</td>\n<td>Expiration type (e.g., date, individual).</td>\n</tr>\n<tr>\n<td>expireValueType</td>\n<td>string</td>\n<td>How expiration value is set (e.g., fixed).</td>\n</tr>\n<tr>\n<td>expireValue</td>\n<td>string</td>\n<td>Expiration date/time (ISO 8601 format).</td>\n</tr>\n<tr>\n<td>auditLog</td>\n<td>boolean</td>\n<td>Enable/disable audit logging.</td>\n</tr>\n<tr>\n<td>isRechargeable</td>\n<td>boolean</td>\n<td>Whether pass can be recharged.</td>\n</tr>\n<tr>\n<td>transectionLog</td>\n<td>boolean</td>\n<td>Enable/disable transaction logging.</td>\n</tr>\n<tr>\n<td>isRedeemAble</td>\n<td>boolean</td>\n<td>Whether pass can be redeemed.</td>\n</tr>\n<tr>\n<td>redeemField</td>\n<td>object</td>\n<td>Fields used for redeem actions.</td>\n</tr>\n<tr>\n<td>rechargeField</td>\n<td>array</td>\n<td>Fields used for recharge actions.</td>\n</tr>\n<tr>\n<td>recipentEmail</td>\n<td>object</td>\n<td>Recipient email settings.</td>\n</tr>\n<tr>\n<td>uniqueCodeLength</td>\n<td>number</td>\n<td>Length of unique code generated for pass.(15 is default)</td>\n</tr>\n<tr>\n<td>uniqueCodePrefix</td>\n<td>string</td>\n<td>Prefix for unique code.</td>\n</tr>\n<tr>\n<td>uniqueCodeSuffix</td>\n<td>string</td>\n<td>Suffix for unique code.</td>\n</tr>\n<tr>\n<td>uniqueCodeFormat</td>\n<td>string</td>\n<td>Format for unique code.</td>\n</tr>\n<tr>\n<td>transectionActions</td>\n<td>array</td>\n<td>Actions to perform on transactions (field, action).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"example-request-body\">Example Request Body</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"passSettings\": { ... },\n  \"templateInfo\": { ... },\n  \"locations\": { ... },\n  \"additionalFields\": [ ... ],\n  \"advancedSettings\": { ... }\n}\n\n</code></pre>\n<hr />\n<h2 id=\"important-notes\">Important Notes</h2>\n<ul>\n<li><p>All required fields must be provided; missing required fields will result in an error.</p>\n</li>\n<li><p>Use valid HEX color codes for color fields.</p>\n</li>\n<li><p>For barcode, supported formats include CODE_128, QR, etc.</p>\n</li>\n<li><p>The template can be used to issue multiple passes with consistent structure and branding.</p>\n</li>\n<li><p>Advanced settings allow for fine-grained control over pass lifecycle, security, and user interactions.</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"response\">Response</h2>\n<p>A successful request returns details of the created template, including its unique identifier and configuration summary.</p>\n<hr />\n<h2 id=\"see-also\">See Also</h2>\n<ul>\n<li><a href=\"https://collection/47181495-05d0d544-19a3-444d-8189-a0020a0f5c57\">Collection: Pass Template API</a></li>\n</ul>\n","urlObject":{"path":["public","v1","create-template"],"host":["https://api.epasscard.com/api"],"query":[],"variable":[]}},"response":[{"id":"bfd9c9dc-6def-4a99-af9a-8cb2139488de","name":"200","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"passSettings\": {\n        \"primarySettings\": {\n            \"name\": \"Gift card\",\n            \"cardType\": \"StoreCard\",\n            \"organizationName\": \"\",\n            \"description\": \"\",\n            \"forgroundColor\": \"#ffffff\",\n            \"backgroundColor\": \"#c8407e\",\n            \"labelColor\": \"#ffffff\",\n            \"stripColor\": \"\",\n            \"expireType\": \"\",\n            \"expireValue\": \"\",\n            \"passTypeId\": \"\",\n            \"dateTimeFormat\": \"DD MMMM YYYY\",\n            \"shareable\": false,\n            \"googleWalletShareable\": \"STATUS_UNSPECIFIED\"\n        },\n        \"headerFields\": [\n            {\n                \"label\": \"Balance\",\n                \"value\": \"{Balance}\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"Balance is updated to\",\n                \"staticValueType\": \"\"\n            }\n        ],\n        \"backFields\": [\n            {\n                \"label\": \"test\",\n                \"value\": \"test\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"\",\n                \"staticValueType\": \"textarea\"\n            }\n        ],\n        \"auxiliaryFields\": [],\n        \"images\": {\n            \"logo\": \"https://ecosmartcards.com//assets/img/predefined-templates/assets/gift-logo.png\",\n            \"icon\": \"https://ecosmartcards.com//assets/img/predefined-templates/assets/gift-logo.png\",\n            \"thumbnail\": \"https://ecosmartcards.com/\",\n            \"strip\": \"https://ecosmartcards.com//assets/img/predefined-templates/assets/gift-strip.png\",\n            \"footer\": \"\"\n        },\n        \"primaryFields\": [\n            {\n                \"label\": \"\",\n                \"value\": \"\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"\",\n                \"staticValueType\": \"\"\n            }\n        ],\n        \"barcode\": {\n            \"format\": \"CODE_128\",\n            \"barcodeValueType\": \"\",\n            \"value\": \"systemId\",\n            \"altText\": \"\",\n            \"showValue\": true\n        },\n        \"secondaryFields\": [\n            {\n                \"label\": \"Full name\",\n                \"value\": \"{Full name}\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"Name is updated\",\n                \"staticValueType\": \"text\"\n            },\n            {\n                \"label\": \"Giftcard no\",\n                \"value\": \"{Giftcard no}\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"Giftcard number is updated\",\n                \"staticValueType\": \"text\"\n            }\n        ],\n        \"googlePassLayout\": \"Custom\",\n        \"googleDefaultLayout\": {\n            \"loyaltyBalance\": \"\",\n            \"loyaltyBalanceLabel\": \"\",\n            \"giftCardBalance\": \"\",\n            \"giftCardCurrencyCode\": \"\"\n        },\n        \"emailSettings\": {\n            \"subject\": \"\",\n            \"emailTemplate\": \"\",\n            \"recipientEmail\": \"\"\n        },\n        \"pushNotificationContent\": {\n            \"bodyForUpdate\": \"\"\n        },\n        \"smsContent\": {\n            \"receiver\": \"\",\n            \"content\": \"\"\n        },\n        \"status\": false\n    },\n    \"templateInfo\": {\n        \"name\": \"Sample card\",\n        \"description\": \"Sample card\",\n        \"organization\": \"Sample card\",\n        \"numOfPass\": 4,\n        \"passTypeId\": \"pass.test.epasscard\"\n       \n    },\n    \"locations\": {\n        \"locationStatus\": false,\n        \"locations\": [\n            {\n                \"name\": \"\",\n                \"latitude\": \"\",\n                \"longitude\": \"\",\n                \"altitude\": \"\",\n                \"releventText\": \"\"\n            }\n        ],\n        \"initialMsg\": \"\",\n        \"locationRadius\": 100\n    },\n    \"additionalFields\": [\n        {\n            \"name\": \"Balance\",\n            \"type\": \"text\",\n            \"isRequired\": true,\n            \"isProtected\": false,\n            \"protectedBy\": \"\"\n        },\n        {\n            \"name\": \"Full name\",\n            \"type\": \"text\",\n            \"isRequired\": true,\n            \"isProtected\": false,\n            \"protectedBy\": \"\"\n        },\n        {\n            \"name\": \"Giftcard no\",\n            \"type\": \"text\",\n            \"isRequired\": true,\n            \"isProtected\": false,\n            \"protectedBy\": \"\"\n        }\n    ],\n    \"advancedSettings\": {\n        \"isExpire\": true,\n        \"expireType\": \"date\",\n        \"expireValueType\": \"fixed\",\n        \"expireValue\": \"2025-07-31T19:54\",\n        \"auditLog\": true,\n        \"isRechargeable\": true,\n        \"transectionLog\": true,\n        \"isRedeemAble\": false,\n        \"redeemField\": \"{}\",\n        \"rechargeField\": [\n            {\n                \"name\": \"Balance\",\n                \"value\": \"Balance\",\n                \"action\": \"add_deduct\"\n            },\n            {\n                \"name\": \"Full name\",\n                \"value\": \"Full name\",\n                \"action\": \"replace\"\n            }\n        ],\n        \"recipentEmail\": \"{}\",\n        \"uniqueCodeLength\": 15,\n        \"uniqueCodePrefix\": \"\",\n        \"uniqueCodeSuffix\": \"\",\n        \"uniqueCodeFormat\": \"\",\n        \"transectionActions\": [\n            {\n                \"field\": \"Balance\",\n                \"action\": \"add_deduct\"\n            },\n            {\n                \"field\": \"Full name\",\n                \"action\": \"replace\"\n            }\n        ]\n    }\n   \n}","options":{"raw":{"language":"json"}}},"url":"https://api.epasscard.com/api/pass-template/create"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Mon, 20 Oct 2025 06:05:26 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"56"},{"key":"ETag","value":"W/\"38-2MC+VoBIRFG8ql9AfRVIB2fM+Bk\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Template Created successfully\"\n}"}],"_postman_id":"318c92e3-ecca-4a6d-b513-277053efdd74"},{"name":"Update pass templates","id":"ae44cbe4-78f2-460b-b35b-e59f0ed7016b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"template\": {\n    \"template_id\": 814,\n    \"template_uid\": \"015ced42-80d0-4028-a359-627b27b2b25a\",\n    \"template_name\": \"Amber IT\",\n    \"locations\": {\n      \"settings\": {\n        \"id\": 267,\n        \"is_active\": 1,\n        \"initial_message\": \"\",\n        \"notification_radius\": 100\n      },\n      \"locations\": [\n        {\n          \"uid\": \"\",\n          \"title\": \"Webcartisan LLC\",\n          \"latitude\": \"23.86637341730371\",\n          \"longitude\": \"90.3990027288355\",\n          \"altitude\": \"\"\n        },\n        {\n          \"uid\": \"\",\n          \"title\": \"Webcartisan LLC\",\n          \"latitude\": \"23.86637341730371\",\n          \"longitude\": \"90.3990027288355\",\n          \"altitude\": \"\"\n        }\n      ]\n    },\n    \"beacons\": {},\n    \"template_slug\": \"amber-it\",\n    \"templateInformation\": {\n      \"id\": 814,\n      \"uid\": \"b7290ec7-4ef7-482f-94d0-5ad14df396fe\",\n      \"name\": \"Amber IT\",\n      \"slug\": \"amber-it\",\n      \"template_data\": \"{\\\"primarySettings\\\":{\\\"name\\\":\\\"Internet provider\\\",\\\"cardType\\\":\\\"StoreCard\\\",\\\"organizationName\\\":\\\"\\\",\\\"description\\\":\\\"\\\",\\\"forgroundColor\\\":\\\"#ffffff\\\",\\\"backgroundColor\\\":\\\"#003d69\\\",\\\"labelColor\\\":\\\"#ffffff\\\",\\\"stripColor\\\":\\\"\\\",\\\"expireType\\\":\\\"\\\",\\\"expireValue\\\":\\\"\\\",\\\"passTypeId\\\":\\\"pass.test.epasscard\\\",\\\"dateTimeFormat\\\":\\\"YYYY-MM-DD HH:mm:ss\\\",\\\"shareable\\\":false,\\\"googleWalletShareable\\\":\\\"STATUS_UNSPECIFIED\\\"},\\\"headerFields\\\":[{\\\"label\\\":\\\"Package\\\",\\\"value\\\":\\\"{package}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"package is updated to\\\",\\\"staticValueType\\\":\\\"\\\"}],\\\"backFields\\\":[{\\\"label\\\":\\\"Connection status\\\",\\\"value\\\":\\\"{Connection Status}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Connection status is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"},{\\\"label\\\":\\\"Billing date\\\",\\\"value\\\":\\\"{Billing date}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Billing date is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"},{\\\"label\\\":\\\"Customer care\\\",\\\"value\\\":\\\"{Customer care}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer care is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"}],\\\"auxiliaryFields\\\":[],\\\"images\\\":{\\\"logo\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-logo.png\\\",\\\"icon\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-logo.png\\\",\\\"thumbnail\\\":\\\"https://app.epasscard.com/\\\",\\\"strip\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-strip.png\\\",\\\"footer\\\":\\\"\\\"},\\\"primaryFields\\\":[{\\\"label\\\":\\\"\\\",\\\"value\\\":\\\"\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"\\\",\\\"staticValueType\\\":\\\"\\\"}],\\\"barcode\\\":{\\\"format\\\":\\\"CODE_128\\\",\\\"barcodeValueType\\\":\\\"\\\",\\\"value\\\":\\\"systemId\\\",\\\"altText\\\":\\\"\\\",\\\"showValue\\\":true},\\\"secondaryFields\\\":[{\\\"label\\\":\\\"Name\\\",\\\"value\\\":\\\"{Name}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Name is updated\\\",\\\"staticValueType\\\":\\\"text\\\"},{\\\"label\\\":\\\"Customer ID\\\",\\\"value\\\":\\\"{Customer id}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Purchase date is updated\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"googlePassLayout\\\":\\\"Custom\\\",\\\"googleDefaultLayout\\\":{\\\"loyaltyBalance\\\":\\\"\\\",\\\"loyaltyBalanceLabel\\\":\\\"\\\",\\\"giftCardBalance\\\":\\\"\\\",\\\"giftCardCurrencyCode\\\":\\\"\\\"},\\\"emailSettings\\\":{\\\"subject\\\":\\\"\\\",\\\"emailTemplate\\\":\\\"\\\",\\\"recipientEmail\\\":\\\"\\\"},\\\"pushNotificationContent\\\":{\\\"bodyForUpdate\\\":\\\"\\\"},\\\"smsContent\\\":{\\\"receiver\\\":\\\"\\\",\\\"content\\\":\\\"\\\"},\\\"status\\\":false}\",\n      \"status\": 1,\n      \"org_id\": 401,\n      \"description\": \"Amber IT\",\n      \"pass_org_name\": \"Amber IT\",\n      \"pass_limit\": 5,\n      \"nfc\": null,\n      \"google_wallet_status\": 1\n    },\n    \"template_design\": {\n      \"primarySettings\": {\n        \"name\": \"Internet provider\",\n        \"cardType\": \"StoreCard\",\n        \"organizationName\": \"\",\n        \"description\": \"\",\n        \"forgroundColor\": \"#ffffff\",\n        \"backgroundColor\": \"#003d69\",\n        \"labelColor\": \"#ffffff\",\n        \"stripColor\": \"\",\n        \"expireType\": \"\",\n        \"expireValue\": \"\",\n        \"passTypeId\": \"pass.test.epasscard\",\n        \"dateTimeFormat\": \"YYYY-MM-DD HH:mm:ss\",\n        \"shareable\": false,\n        \"googleWalletShareable\": \"STATUS_UNSPECIFIED\"\n      },\n      \"headerFields\": [\n        {\n          \"label\": \"Package\",\n          \"value\": \"{package}\",\n          \"valueType\": \"fixed\",\n          \"changeMsg\": \"package is updated to\",\n          \"staticValueType\": \"\"\n        }\n      ],\n      \"backFields\": [\n        {\n          \"label\": \"Connection status\",\n          \"value\": \"{Connection Status}\",\n          \"valueType\": \"fixed\",\n          \"changeMsg\": \"Connection status is updated to\",\n          \"staticValueType\": \"textarea\"\n        },\n        {\n          \"label\": \"Billing date\",\n          \"value\": \"{Billing date}\",\n          \"valueType\": \"fixed\",\n          \"changeMsg\": \"Billing date is updated to\",\n          \"staticValueType\": \"textarea\"\n        },\n        {\n          \"label\": \"Customer care\",\n          \"value\": \"{Customer care}\",\n          \"valueType\": \"fixed\",\n          \"changeMsg\": \"Customer care is updated to\",\n          \"staticValueType\": \"textarea\"\n        }\n      ],\n      \"auxiliaryFields\": [],\n      \"images\": {\n        \"logo\": \"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-logo.png\",\n        \"icon\": \"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-logo.png\",\n        \"thumbnail\": \"https://app.epasscard.com/\",\n        \"strip\": \"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-strip.png\",\n        \"footer\": \"\"\n      },\n      \"primaryFields\": [\n        {\n          \"label\": \"\",\n          \"value\": \"\",\n          \"valueType\": \"fixed\",\n          \"changeMsg\": \"\",\n          \"staticValueType\": \"\"\n        }\n      ],\n      \"barcode\": {\n        \"format\": \"CODE_128\",\n        \"barcodeValueType\": \"\",\n        \"value\": \"systemId\",\n        \"altText\": \"\",\n        \"showValue\": true\n      },\n      \"secondaryFields\": [\n        {\n          \"label\": \"Name\",\n          \"value\": \"{Name}\",\n          \"valueType\": \"fixed\",\n          \"changeMsg\": \"Name is updated\",\n          \"staticValueType\": \"text\"\n        },\n        {\n          \"label\": \"Customer ID\",\n          \"value\": \"{Customer id}\",\n          \"valueType\": \"fixed\",\n          \"changeMsg\": \"Purchase date is updated\",\n          \"staticValueType\": \"text\"\n        }\n      ],\n      \"googlePassLayout\": \"Custom\",\n      \"googleDefaultLayout\": {\n        \"loyaltyBalance\": \"\",\n        \"loyaltyBalanceLabel\": \"\",\n        \"giftCardBalance\": \"\",\n        \"giftCardCurrencyCode\": \"\"\n      },\n      \"emailSettings\": {\n        \"subject\": \"\",\n        \"emailTemplate\": \"\",\n        \"recipientEmail\": \"\"\n      },\n      \"pushNotificationContent\": {\n        \"bodyForUpdate\": \"\"\n      },\n      \"smsContent\": {\n        \"receiver\": \"\",\n        \"content\": \"\"\n      },\n      \"status\": false\n    },\n    \"additionFields\": [\n      {\n        \"id\": 2319,\n        \"pass_id\": 814,\n        \"uid\": \"606738bd-d011-4950-a779-ce992157f738\",\n        \"field_name\": \"package\",\n        \"field_type\": \"text\",\n        \"required\": 1,\n        \"org_id\": 401\n      },\n      {\n        \"id\": 2320,\n        \"pass_id\": 814,\n        \"uid\": \"6fd5c7e9-4338-4368-93a3-45cb9f763552\",\n        \"field_name\": \"Name\",\n        \"field_type\": \"text\",\n        \"required\": 1,\n        \"org_id\": 401\n      },\n      {\n        \"id\": 2321,\n        \"pass_id\": 814,\n        \"uid\": \"bc374af8-8ebf-438f-98d9-2015d8794aba\",\n        \"field_name\": \"Customer id\",\n        \"field_type\": \"text\",\n        \"required\": 1,\n        \"org_id\": 401\n      },\n      {\n        \"id\": 2322,\n        \"pass_id\": 814,\n        \"uid\": \"45a8458b-e837-429c-9dd2-91d520b9bdf2\",\n        \"field_name\": \"Customer care\",\n        \"field_type\": \"text\",\n        \"required\": 0,\n        \"org_id\": 401\n      },\n      {\n        \"id\": 2323,\n        \"pass_id\": 814,\n        \"uid\": \"08bb6363-ca6c-471f-8596-a2b89d69d8a6\",\n        \"field_name\": \"Connection Status\",\n        \"field_type\": \"text\",\n        \"required\": 0,\n        \"org_id\": 401\n      },\n      {\n        \"id\": 2324,\n        \"pass_id\": 814,\n        \"uid\": \"dfb1967d-07c0-435a-baad-19d9a179eda7\",\n        \"field_name\": \"Billing date\",\n        \"field_type\": \"text\",\n        \"required\": 0,\n        \"org_id\": 401\n      }\n    ],\n    \"settings\": {\n      \"id\": 647,\n      \"template_id\": 814,\n      \"expire_type\": \"date\",\n      \"expire_data_type\": \"\",\n      \"expire_value\": \"2124-10-27 06:55:16\",\n      \"audit_log\": \"0\",\n      \"rechargeable\": \"0\",\n      \"transaction_log\": \"0\",\n      \"redeemable\": \"0\",\n      \"reedem_field\": \"{}\",\n      \"org_id\": 401,\n      \"expire_settings\": \"0\",\n      \"recharge_field\": \"\",\n      \"card_type\": null,\n      \"reciver_email\": \"{}\",\n      \"batch_size\": null,\n      \"serial_number_length\": 15,\n      \"serial_number_prefix\": null,\n      \"unique_code_length\": 15,\n      \"unique_code_format\": \"\",\n      \"unique_code_prefix\": \"\",\n      \"unique_code_suffix\": \"\",\n      \"transection_action\": null\n    },\n    \"cardType\": \"loyalty\",\n    \"google_wallet_status\": 1,\n    \"total_pass\": 1\n  },\n  \"design\": {\n    \"primarySettings\": {\n      \"name\": \"Internet provider\",\n      \"cardType\": \"StoreCard\",\n      \"organizationName\": \"\",\n      \"description\": \"\",\n      \"forgroundColor\": \"#ffffff\",\n      \"backgroundColor\": \"#003d69\",\n      \"labelColor\": \"#ffffff\",\n      \"stripColor\": \"\",\n      \"expireType\": \"\",\n      \"expireValue\": \"\",\n      \"passTypeId\": \"pass.test.epasscard\",\n      \"dateTimeFormat\": \"YYYY-MM-DD HH:mm:ss\",\n      \"shareable\": false,\n      \"googleWalletShareable\": \"STATUS_UNSPECIFIED\"\n    },\n    \"headerFields\": [\n      {\n        \"label\": \"Package\",\n        \"value\": \"{package}\",\n        \"valueType\": \"fixed\",\n        \"changeMsg\": \"package is updated to\",\n        \"staticValueType\": \"\"\n      }\n    ],\n    \"backFields\": [\n      {\n        \"label\": \"Connection status\",\n        \"value\": \"{Connection Status}\",\n        \"valueType\": \"fixed\",\n        \"changeMsg\": \"Connection status is updated to\",\n        \"staticValueType\": \"textarea\"\n      },\n      {\n        \"label\": \"Billing date\",\n        \"value\": \"{Billing date}\",\n        \"valueType\": \"fixed\",\n        \"changeMsg\": \"Billing date is updated to\",\n        \"staticValueType\": \"textarea\"\n      },\n      {\n        \"label\": \"Customer care\",\n        \"value\": \"{Customer care}\",\n        \"valueType\": \"fixed\",\n        \"changeMsg\": \"Customer care is updated to\",\n        \"staticValueType\": \"textarea\"\n      }\n    ],\n    \"auxiliaryFields\": [],\n    \"images\": {\n      \"logo\": \"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-logo.png\",\n      \"icon\": \"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-logo.png\",\n      \"thumbnail\": \"https://app.epasscard.com/\",\n      \"strip\": \"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-strip.png\",\n      \"footer\": \"\"\n    },\n    \"primaryFields\": [\n      {\n        \"label\": \"\",\n        \"value\": \"\",\n        \"valueType\": \"fixed\",\n        \"changeMsg\": \"\",\n        \"staticValueType\": \"\"\n      }\n    ],\n    \"barcode\": {\n      \"format\": \"CODE_128\",\n      \"barcodeValueType\": \"\",\n      \"value\": \"systemId\",\n      \"altText\": \"\",\n      \"showValue\": true\n    },\n    \"secondaryFields\": [\n      {\n        \"label\": \"Name\",\n        \"value\": \"{Name}\",\n        \"valueType\": \"fixed\",\n        \"changeMsg\": \"Name is updated\",\n        \"staticValueType\": \"text\"\n      },\n      {\n        \"label\": \"Customer ID\",\n        \"value\": \"{Customer id}\",\n        \"valueType\": \"fixed\",\n        \"changeMsg\": \"Purchase date is updated\",\n        \"staticValueType\": \"text\"\n      }\n    ],\n    \"googlePassLayout\": \"Custom\",\n    \"googleDefaultLayout\": {\n      \"loyaltyBalance\": \"\",\n      \"loyaltyBalanceLabel\": \"\",\n      \"giftCardBalance\": \"\",\n      \"giftCardCurrencyCode\": \"\"\n    },\n    \"emailSettings\": {\n      \"subject\": \"\",\n      \"emailTemplate\": \"\",\n      \"recipientEmail\": \"\"\n    },\n    \"pushNotificationContent\": {\n      \"bodyForUpdate\": \"\"\n    },\n    \"smsContent\": {\n      \"receiver\": \"\",\n      \"content\": \"\"\n    },\n    \"status\": false\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.epasscard.com/api/public/v1/update-pass-template/{template_uid}","description":"<h1 id=\"update-pass-template\">Update Pass Template</h1>\n<p><strong>Purpose:</strong><br />This endpoint allows you to update an existing pass template. It is typically used by administrators or systems to modify the core information, design, locations, additional fields, and settings of a digital pass template (such as for loyalty, membership, or similar programs).</p>\n<hr />\n<p><strong>HTTP Method:</strong></p>\n<ul>\n<li><code>PUT</code></li>\n</ul>\n<p><strong>Endpoint URL:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://api.epasscard.com/api/public/v1/update-pass-template/{template_uid}\n\n</code></pre><ul>\n<li><p>Replace <code>{template_uid}</code> with the unique identifier (UID) of the template you want to update.</p>\n</li>\n<li><p>template_uid should be like this b7290ec7-4ef7-482f-94d0-5ad14df396fe</p>\n</li>\n</ul>\n<p><strong>Path Parameters:</strong></p>\n<ul>\n<li><code>template_uid</code> (string, required): The unique identifier of the pass template to update.</li>\n</ul>\n<hr />\n<p><strong>Authentication:</strong></p>\n<ul>\n<li><p>This endpoint requires authentication (e.g., Bearer token/Api key).</p>\n</li>\n<li><p>Ensure you have the necessary permissions to update templates.</p>\n</li>\n</ul>\n<hr />\n<p><strong>Request Body:</strong></p>\n<ul>\n<li><p>Content-Type: <code>application/json</code></p>\n</li>\n<li><p>The body must include a <code>template</code> object with the updated details.</p>\n</li>\n</ul>\n<p><strong>Request Body Structure:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"template\": {\n    \"template_id\": &lt;integer&gt;,\n    \"template_uid\": &lt;string&gt;,\n    \"template_name\": &lt;string&gt;,\n    \"locations\": { ... },\n    \"beacons\": { ... },\n    \"template_slug\": &lt;string&gt;,\n    \"templateInformation\": { ... },\n    \"template_design\": { ... },\n    \"additionFields\": [ ... ],\n    \"settings\": { ... },\n    \"cardType\": &lt;string&gt;,\n    \"google_wallet_status\": &lt;integer&gt;,\n    \"total_pass\": &lt;integer&gt;\n  }\n}\n\n</code></pre>\n<hr />\n<p><strong>Request Body Fields:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>template_id</code></td>\n<td>integer</td>\n<td>Numeric ID of the template.</td>\n</tr>\n<tr>\n<td><code>template_uid</code></td>\n<td>string</td>\n<td>Unique identifier for the template.</td>\n</tr>\n<tr>\n<td><code>template_name</code></td>\n<td>string</td>\n<td>Name of the template.</td>\n</tr>\n<tr>\n<td><code>locations</code></td>\n<td>object</td>\n<td>Contains location settings and an array of location objects.</td>\n</tr>\n<tr>\n<td><code>beacons</code></td>\n<td>object</td>\n<td>(Optional) Beacon configuration for proximity-based features.</td>\n</tr>\n<tr>\n<td><code>template_slug</code></td>\n<td>string</td>\n<td>URL-friendly identifier for the template.</td>\n</tr>\n<tr>\n<td><code>templateInformation</code></td>\n<td>object</td>\n<td>Detailed info (status, org, description, pass limits, etc.).</td>\n</tr>\n<tr>\n<td><code>template_design</code></td>\n<td>object</td>\n<td>Visual design, fields, images, barcode, etc.</td>\n</tr>\n<tr>\n<td><code>additionFields</code></td>\n<td>array</td>\n<td>Custom fields for the pass template.</td>\n</tr>\n<tr>\n<td><code>settings</code></td>\n<td>object</td>\n<td>Template-level settings (expiration, audit log, etc.).</td>\n</tr>\n<tr>\n<td><code>cardType</code></td>\n<td>string</td>\n<td>Type of card (e.g., loyalty, membership).</td>\n</tr>\n<tr>\n<td><code>google_wallet_status</code></td>\n<td>integer</td>\n<td>Google Wallet integration status.</td>\n</tr>\n<tr>\n<td><code>total_pass</code></td>\n<td>integer</td>\n<td>Total number of passes allowed or managed by this template.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Nested Object Details:</strong></p>\n<ul>\n<li><p><code>locations.settings</code>: Object with location-specific settings (e.g., notification radius, initial message).</p>\n</li>\n<li><p><code>locations.locations</code>: Array of location objects, each with <code>uid</code>, <code>title</code>, <code>latitude</code>, <code>longitude</code>, and <code>altitude</code>.</p>\n</li>\n<li><p><code>templateInformation</code>: Contains fields like <code>id</code>, <code>uid</code>, <code>name</code>, <code>slug</code>, <code>template_data</code>, <code>status</code>, <code>org_id</code>, <code>description</code>, <code>pass_org_name</code>, <code>pass_limit</code>, <code>nfc</code>, <code>google_wallet_status</code>.</p>\n</li>\n<li><p><code>template_design</code>: Contains design settings, fields for display, images, barcode configuration, and more.</p>\n</li>\n<li><p><code>additionFields</code>: Array of objects, each defining a custom field (e.g., <code>field_name</code>, <code>field_type</code>, <code>required</code>).</p>\n</li>\n<li><p><code>settings</code>: Contains template-level settings such as expiration, audit log, rechargeable, transaction log, etc.</p>\n</li>\n</ul>\n<hr />\n<p><strong>Example Request Body:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"template\": {\n    \"template_id\": 814,\n    \"template_uid\": \"b7290ec7-4ef7-482f-94d0-5ad14df396fe\",\n    \"template_name\": \"Amber IT\",\n    \"locations\": {\n      \"settings\": {\n        \"id\": 267,\n        \"is_active\": 1,\n        \"initial_message\": \"\",\n        \"notification_radius\": 100\n      },\n      \"locations\": [\n        {\n          \"uid\": \"27d387db-8e69-4f9e-95e5-6b99ab6284a5\",\n          \"title\": \"Webcartisan LLC\",\n          \"latitude\": \"23.86637341730371\",\n          \"longitude\": \"90.3990027288355\",\n          \"altitude\": \"\"\n        }\n      ]\n    },\n    \"beacons\": {},\n    \"template_slug\": \"amber-it\",\n    \"templateInformation\": { ... },\n    \"template_design\": { ... },\n    \"additionFields\": [ ... ],\n    \"settings\": { ... },\n    \"cardType\": \"loyalty\",\n    \"google_wallet_status\": 1,\n    \"total_pass\": 1\n  }\n}\n\n</code></pre>\n<hr />\n<p><strong>Important Notes:</strong></p>\n<ul>\n<li><p>All required fields must be provided; missing or invalid fields may result in errors.</p>\n</li>\n<li><p>Only users with appropriate permissions can update templates.</p>\n</li>\n<li><p>The structure of nested objects (like <code>templateInformation</code>, <code>template_design</code>, <code>additionFields</code>, and <code>settings</code>) should match the expected schema for your system.</p>\n</li>\n<li><p>Use the correct <code>template_uid</code> in the URL to avoid updating the wrong template.</p>\n</li>\n<li><p>The endpoint returns a status and message indicating the result of the update operation.</p>\n</li>\n</ul>\n<hr />\n<p><strong>Successful Response Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 200,\n  \"message\": \"Templated updated successfully\"\n}\n\n</code></pre>\n<hr />\n<p><strong>See Also:</strong></p>\n<ul>\n<li><p><a href=\"https://request/47181495-14c9c98a-050e-4645-b45f-e6397d066b3e\">Get pass templates</a></p>\n</li>\n<li><p><a href=\"https://request/47181495-318c92e3-ecca-4a6d-b513-277053efdd74\">Create new template</a></p>\n</li>\n</ul>\n","urlObject":{"path":["public","v1","update-pass-template","{template_uid}"],"host":["https://api.epasscard.com/api"],"query":[],"variable":[]}},"response":[{"id":"f9709f96-0656-4b87-b769-f5f313471328","name":"200","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"template\": {\n    \"template_id\": 814,\n    \"template_uid\": \"b7290ec7-4ef7-482f-94d0-5ad14df396fe\",\n    \"template_name\": \"Amber IT\",\n    \"locations\": {\n      \"settings\": {\n        \"id\": 267,\n        \"is_active\": 1,\n        \"initial_message\": \"\",\n        \"notification_radius\": 100\n      },\n      \"locations\": [\n        {\n          \"uid\": \"27d387db-8e69-4f9e-95e5-6b99ab6284a5\",\n          \"title\": \"Webcartisan LLC\",\n          \"latitude\": \"23.86637341730371\",\n          \"longitude\": \"90.3990027288355\",\n          \"altitude\": \"\"\n        }\n      ]\n    },\n    \"beacons\": {},\n    \"template_slug\": \"amber-it\",\n    \"templateInformation\": {\n      \"id\": 814,\n      \"uid\": \"b7290ec7-4ef7-482f-94d0-5ad14df396fe\",\n      \"name\": \"Amber IT\",\n      \"slug\": \"amber-it\",\n      \"template_data\": \"{\\\"primarySettings\\\":{\\\"name\\\":\\\"Internet provider\\\",\\\"cardType\\\":\\\"StoreCard\\\",\\\"organizationName\\\":\\\"\\\",\\\"description\\\":\\\"\\\",\\\"forgroundColor\\\":\\\"#ffffff\\\",\\\"backgroundColor\\\":\\\"#003d69\\\",\\\"labelColor\\\":\\\"#ffffff\\\",\\\"stripColor\\\":\\\"\\\",\\\"expireType\\\":\\\"\\\",\\\"expireValue\\\":\\\"\\\",\\\"passTypeId\\\":\\\"pass.test.epasscard\\\",\\\"dateTimeFormat\\\":\\\"YYYY-MM-DD HH:mm:ss\\\",\\\"shareable\\\":false,\\\"googleWalletShareable\\\":\\\"STATUS_UNSPECIFIED\\\"},\\\"headerFields\\\":[{\\\"label\\\":\\\"Package\\\",\\\"value\\\":\\\"{package}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"package is updated to\\\",\\\"staticValueType\\\":\\\"\\\"}],\\\"backFields\\\":[{\\\"label\\\":\\\"Connection status\\\",\\\"value\\\":\\\"{Connection Status}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Connection status is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"},{\\\"label\\\":\\\"Billing date\\\",\\\"value\\\":\\\"{Billing date}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Billing date is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"},{\\\"label\\\":\\\"Customer care\\\",\\\"value\\\":\\\"{Customer care}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer care is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"}],\\\"auxiliaryFields\\\":[],\\\"images\\\":{\\\"logo\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-logo.png\\\",\\\"icon\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-logo.png\\\",\\\"thumbnail\\\":\\\"https://app.epasscard.com/\\\",\\\"strip\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-strip.png\\\",\\\"footer\\\":\\\"\\\"},\\\"primaryFields\\\":[{\\\"label\\\":\\\"\\\",\\\"value\\\":\\\"\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"\\\",\\\"staticValueType\\\":\\\"\\\"}],\\\"barcode\\\":{\\\"format\\\":\\\"CODE_128\\\",\\\"barcodeValueType\\\":\\\"\\\",\\\"value\\\":\\\"systemId\\\",\\\"altText\\\":\\\"\\\",\\\"showValue\\\":true},\\\"secondaryFields\\\":[{\\\"label\\\":\\\"Name\\\",\\\"value\\\":\\\"{Name}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Name is updated\\\",\\\"staticValueType\\\":\\\"text\\\"},{\\\"label\\\":\\\"Customer ID\\\",\\\"value\\\":\\\"{Customer id}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Purchase date is updated\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"googlePassLayout\\\":\\\"Custom\\\",\\\"googleDefaultLayout\\\":{\\\"loyaltyBalance\\\":\\\"\\\",\\\"loyaltyBalanceLabel\\\":\\\"\\\",\\\"giftCardBalance\\\":\\\"\\\",\\\"giftCardCurrencyCode\\\":\\\"\\\"},\\\"emailSettings\\\":{\\\"subject\\\":\\\"\\\",\\\"emailTemplate\\\":\\\"\\\",\\\"recipientEmail\\\":\\\"\\\"},\\\"pushNotificationContent\\\":{\\\"bodyForUpdate\\\":\\\"\\\"},\\\"smsContent\\\":{\\\"receiver\\\":\\\"\\\",\\\"content\\\":\\\"\\\"},\\\"status\\\":false}\",\n      \"status\": 1,\n      \"org_id\": 401,\n      \"description\": \"Amber IT\",\n      \"pass_org_name\": \"Amber IT\",\n      \"pass_limit\": 5,\n      \"nfc\": null,\n      \"google_wallet_status\": 1\n    },\n    \"template_design\": {\n      \"primarySettings\": {\n        \"name\": \"Internet provider\",\n        \"cardType\": \"StoreCard\",\n        \"organizationName\": \"\",\n        \"description\": \"\",\n        \"forgroundColor\": \"#ffffff\",\n        \"backgroundColor\": \"#003d69\",\n        \"labelColor\": \"#ffffff\",\n        \"stripColor\": \"\",\n        \"expireType\": \"\",\n        \"expireValue\": \"\",\n        \"passTypeId\": \"pass.test.epasscard\",\n        \"dateTimeFormat\": \"YYYY-MM-DD HH:mm:ss\",\n        \"shareable\": false,\n        \"googleWalletShareable\": \"STATUS_UNSPECIFIED\"\n      },\n      \"headerFields\": [\n        {\n          \"label\": \"Package\",\n          \"value\": \"{package}\",\n          \"valueType\": \"fixed\",\n          \"changeMsg\": \"package is updated to\",\n          \"staticValueType\": \"\"\n        }\n      ],\n      \"backFields\": [\n        {\n          \"label\": \"Connection status\",\n          \"value\": \"{Connection Status}\",\n          \"valueType\": \"fixed\",\n          \"changeMsg\": \"Connection status is updated to\",\n          \"staticValueType\": \"textarea\"\n        },\n        {\n          \"label\": \"Billing date\",\n          \"value\": \"{Billing date}\",\n          \"valueType\": \"fixed\",\n          \"changeMsg\": \"Billing date is updated to\",\n          \"staticValueType\": \"textarea\"\n        },\n        {\n          \"label\": \"Customer care\",\n          \"value\": \"{Customer care}\",\n          \"valueType\": \"fixed\",\n          \"changeMsg\": \"Customer care is updated to\",\n          \"staticValueType\": \"textarea\"\n        }\n      ],\n      \"auxiliaryFields\": [],\n      \"images\": {\n        \"logo\": \"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-logo.png\",\n        \"icon\": \"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-logo.png\",\n        \"thumbnail\": \"https://app.epasscard.com/\",\n        \"strip\": \"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-strip.png\",\n        \"footer\": \"\"\n      },\n      \"primaryFields\": [\n        {\n          \"label\": \"\",\n          \"value\": \"\",\n          \"valueType\": \"fixed\",\n          \"changeMsg\": \"\",\n          \"staticValueType\": \"\"\n        }\n      ],\n      \"barcode\": {\n        \"format\": \"CODE_128\",\n        \"barcodeValueType\": \"\",\n        \"value\": \"systemId\",\n        \"altText\": \"\",\n        \"showValue\": true\n      },\n      \"secondaryFields\": [\n        {\n          \"label\": \"Name\",\n          \"value\": \"{Name}\",\n          \"valueType\": \"fixed\",\n          \"changeMsg\": \"Name is updated\",\n          \"staticValueType\": \"text\"\n        },\n        {\n          \"label\": \"Customer ID\",\n          \"value\": \"{Customer id}\",\n          \"valueType\": \"fixed\",\n          \"changeMsg\": \"Purchase date is updated\",\n          \"staticValueType\": \"text\"\n        }\n      ],\n      \"googlePassLayout\": \"Custom\",\n      \"googleDefaultLayout\": {\n        \"loyaltyBalance\": \"\",\n        \"loyaltyBalanceLabel\": \"\",\n        \"giftCardBalance\": \"\",\n        \"giftCardCurrencyCode\": \"\"\n      },\n      \"emailSettings\": {\n        \"subject\": \"\",\n        \"emailTemplate\": \"\",\n        \"recipientEmail\": \"\"\n      },\n      \"pushNotificationContent\": {\n        \"bodyForUpdate\": \"\"\n      },\n      \"smsContent\": {\n        \"receiver\": \"\",\n        \"content\": \"\"\n      },\n      \"status\": false\n    },\n    \"additionFields\": [\n      {\n        \"id\": 2319,\n        \"pass_id\": 814,\n        \"uid\": \"606738bd-d011-4950-a779-ce992157f738\",\n        \"field_name\": \"package\",\n        \"field_type\": \"text\",\n        \"required\": 1,\n        \"org_id\": 401\n      },\n      {\n        \"id\": 2320,\n        \"pass_id\": 814,\n        \"uid\": \"6fd5c7e9-4338-4368-93a3-45cb9f763552\",\n        \"field_name\": \"Name\",\n        \"field_type\": \"text\",\n        \"required\": 1,\n        \"org_id\": 401\n      },\n      {\n        \"id\": 2321,\n        \"pass_id\": 814,\n        \"uid\": \"bc374af8-8ebf-438f-98d9-2015d8794aba\",\n        \"field_name\": \"Customer id\",\n        \"field_type\": \"text\",\n        \"required\": 1,\n        \"org_id\": 401\n      },\n      {\n        \"id\": 2322,\n        \"pass_id\": 814,\n        \"uid\": \"45a8458b-e837-429c-9dd2-91d520b9bdf2\",\n        \"field_name\": \"Customer care\",\n        \"field_type\": \"text\",\n        \"required\": 0,\n        \"org_id\": 401\n      },\n      {\n        \"id\": 2323,\n        \"pass_id\": 814,\n        \"uid\": \"08bb6363-ca6c-471f-8596-a2b89d69d8a6\",\n        \"field_name\": \"Connection Status\",\n        \"field_type\": \"text\",\n        \"required\": 0,\n        \"org_id\": 401\n      },\n      {\n        \"id\": 2324,\n        \"pass_id\": 814,\n        \"uid\": \"dfb1967d-07c0-435a-baad-19d9a179eda7\",\n        \"field_name\": \"Billing date\",\n        \"field_type\": \"text\",\n        \"required\": 0,\n        \"org_id\": 401\n      }\n    ],\n    \"settings\": {\n      \"id\": 647,\n      \"template_id\": 814,\n      \"expire_type\": \"date\",\n      \"expire_data_type\": \"\",\n      \"expire_value\": \"2124-10-27 06:55:16\",\n      \"audit_log\": \"0\",\n      \"rechargeable\": \"0\",\n      \"transaction_log\": \"0\",\n      \"redeemable\": \"0\",\n      \"reedem_field\": \"{}\",\n      \"org_id\": 401,\n      \"expire_settings\": \"0\",\n      \"recharge_field\": \"\",\n      \"card_type\": null,\n      \"reciver_email\": \"{}\",\n      \"batch_size\": null,\n      \"serial_number_length\": 15,\n      \"serial_number_prefix\": null,\n      \"unique_code_length\": 15,\n      \"unique_code_format\": \"\",\n      \"unique_code_prefix\": \"\",\n      \"unique_code_suffix\": \"\",\n      \"transection_action\": null\n    },\n    \"cardType\": \"loyalty\",\n    \"google_wallet_status\": 1,\n    \"total_pass\": 1\n  },\n  \"design\": {\n    \"primarySettings\": {\n      \"name\": \"Internet provider\",\n      \"cardType\": \"StoreCard\",\n      \"organizationName\": \"\",\n      \"description\": \"\",\n      \"forgroundColor\": \"#ffffff\",\n      \"backgroundColor\": \"#003d69\",\n      \"labelColor\": \"#ffffff\",\n      \"stripColor\": \"\",\n      \"expireType\": \"\",\n      \"expireValue\": \"\",\n      \"passTypeId\": \"pass.test.epasscard\",\n      \"dateTimeFormat\": \"YYYY-MM-DD HH:mm:ss\",\n      \"shareable\": false,\n      \"googleWalletShareable\": \"STATUS_UNSPECIFIED\"\n    },\n    \"headerFields\": [\n      {\n        \"label\": \"Package\",\n        \"value\": \"{package}\",\n        \"valueType\": \"fixed\",\n        \"changeMsg\": \"package is updated to\",\n        \"staticValueType\": \"\"\n      }\n    ],\n    \"backFields\": [\n      {\n        \"label\": \"Connection status\",\n        \"value\": \"{Connection Status}\",\n        \"valueType\": \"fixed\",\n        \"changeMsg\": \"Connection status is updated to\",\n        \"staticValueType\": \"textarea\"\n      },\n      {\n        \"label\": \"Billing date\",\n        \"value\": \"{Billing date}\",\n        \"valueType\": \"fixed\",\n        \"changeMsg\": \"Billing date is updated to\",\n        \"staticValueType\": \"textarea\"\n      },\n      {\n        \"label\": \"Customer care\",\n        \"value\": \"{Customer care}\",\n        \"valueType\": \"fixed\",\n        \"changeMsg\": \"Customer care is updated to\",\n        \"staticValueType\": \"textarea\"\n      }\n    ],\n    \"auxiliaryFields\": [],\n    \"images\": {\n      \"logo\": \"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-logo.png\",\n      \"icon\": \"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-logo.png\",\n      \"thumbnail\": \"https://app.epasscard.com/\",\n      \"strip\": \"https://app.epasscard.com//assets/img/predefined-templates/assets/isp-strip.png\",\n      \"footer\": \"\"\n    },\n    \"primaryFields\": [\n      {\n        \"label\": \"\",\n        \"value\": \"\",\n        \"valueType\": \"fixed\",\n        \"changeMsg\": \"\",\n        \"staticValueType\": \"\"\n      }\n    ],\n    \"barcode\": {\n      \"format\": \"CODE_128\",\n      \"barcodeValueType\": \"\",\n      \"value\": \"systemId\",\n      \"altText\": \"\",\n      \"showValue\": true\n    },\n    \"secondaryFields\": [\n      {\n        \"label\": \"Name\",\n        \"value\": \"{Name}\",\n        \"valueType\": \"fixed\",\n        \"changeMsg\": \"Name is updated\",\n        \"staticValueType\": \"text\"\n      },\n      {\n        \"label\": \"Customer ID\",\n        \"value\": \"{Customer id}\",\n        \"valueType\": \"fixed\",\n        \"changeMsg\": \"Purchase date is updated\",\n        \"staticValueType\": \"text\"\n      }\n    ],\n    \"googlePassLayout\": \"Custom\",\n    \"googleDefaultLayout\": {\n      \"loyaltyBalance\": \"\",\n      \"loyaltyBalanceLabel\": \"\",\n      \"giftCardBalance\": \"\",\n      \"giftCardCurrencyCode\": \"\"\n    },\n    \"emailSettings\": {\n      \"subject\": \"\",\n      \"emailTemplate\": \"\",\n      \"recipientEmail\": \"\"\n    },\n    \"pushNotificationContent\": {\n      \"bodyForUpdate\": \"\"\n    },\n    \"smsContent\": {\n      \"receiver\": \"\",\n      \"content\": \"\"\n    },\n    \"status\": false\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.epasscard.com/api/pass-template/update-template/b7290ec7-4ef7-482f-94d0-5ad14df396fe"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 28 Oct 2025 03:45:00 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"99"},{"key":"X-RateLimit-Reset","value":"1761623160"},{"key":"X-RateLimit-Reset-Date","value":"2025-10-28T03:46:00.479Z"},{"key":"X-Request-Type","value":"general"},{"key":"X-Current-Time","value":"2025-10-28T03:45:00.480Z"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"ETag","value":"W/\"39-+WwIqZ/kloGwmy34Ytl5hjS6VBQ\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Templated updated successfully\"\n}"}],"_postman_id":"ae44cbe4-78f2-460b-b35b-e59f0ed7016b"},{"name":"Delete pass template","id":"62f5b47c-7f71-491d-b062-18388e0e07cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.epasscard.com/api/public/v1/delete-pass-template/{template_id}","description":"<h2 id=\"delete-pass-template-by-id\">Delete Pass Template by ID</h2>\n<p>This endpoint allows you to permanently delete a pass template from the system using its unique template ID. It is typically used by administrators or authorized users to remove templates that are no longer needed or were created in error.</p>\n<h3 id=\"purpose\">Purpose</h3>\n<p>Use this endpoint to:</p>\n<ul>\n<li><p>Remove a specific pass template from your account or organization.</p>\n</li>\n<li><p>Ensure that deleted templates cannot be used to issue new passes.</p>\n</li>\n<li><p>Maintain a clean and organized set of available templates.</p>\n</li>\n</ul>\n<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><strong>Method:</strong> DELETE</p>\n</li>\n<li><p><strong>URL:</strong> <code>https://api.epasscard.com/api/public/v1/delete-pass-template/{templateId}</code></p>\n<ul>\n<li>Replace <code>{templateId}</code> with the unique identifier of the pass template you wish to delete.</li>\n</ul>\n</li>\n<li><p><strong>Authentication:</strong> Required (ensure you provide a valid bearer token or other required authentication method).</p>\n</li>\n<li><p><strong>Request Body:</strong> None</p>\n</li>\n</ul>\n<h3 id=\"expected-behavior\">Expected Behavior</h3>\n<ul>\n<li><p>If the template exists and is successfully deleted, the API will return a success response (typically HTTP 200 or 204).</p>\n</li>\n<li><p>If the template does not exist, the API will return a 404 Not Found error with a message indicating that the template was not found.</p>\n</li>\n<li><p>If the user is not authorized or authenticated, the API may return a 401 Unauthorized or 403 Forbidden error.</p>\n</li>\n</ul>\n<h3 id=\"possible-response-codes\">Possible Response Codes</h3>\n<ul>\n<li><p><strong>200 OK</strong> or <strong>204 No Content</strong>: The template was found and successfully deleted.</p>\n</li>\n<li><p><strong>404 Not Found</strong>: The specified template ID does not exist. Example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 404,\n  \"message\": \"Template not found\"\n}\n\n</code></pre>\n</li>\n<li><p><strong>401 Unauthorized</strong>: Authentication is missing or invalid.</p>\n</li>\n<li><p><strong>403 Forbidden</strong>: The user does not have permission to delete the template.</p>\n</li>\n<li><p><strong>500 Internal Server Error</strong>: An unexpected error occurred on the server.</p>\n</li>\n</ul>\n<h3 id=\"example\">Example</h3>\n<p><strong>Request:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>DELETE https://api.epasscard.com/api/public/v1/delete-pass-template/{template_id}\n\n</code></pre><p><strong>Response (404 Not Found):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 404,\n  \"message\": \"Template not found\"\n}\n\n</code></pre>\n<hr />\n<p><strong>Note:</strong> Deleting a template is irreversible. Ensure you have selected the correct template ID before proceeding.</p>\n","urlObject":{"path":["public","v1","delete-pass-template","{template_id}"],"host":["https://api.epasscard.com/api"],"query":[],"variable":[]}},"response":[{"id":"4729e5d6-4fd6-4f07-bcc6-d9d2af8a679e","name":"400","originalRequest":{"method":"DELETE","header":[],"url":"https://api.epasscard.com/api/public/v1/delete-pass-template/815"},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 28 Oct 2025 06:17:59 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"91"},{"key":"X-RateLimit-Reset","value":"1761632339"},{"key":"X-RateLimit-Reset-Date","value":"2025-10-28T06:18:59.500Z"},{"key":"X-Request-Type","value":"general"},{"key":"X-Current-Time","value":"2025-10-28T06:17:59.500Z"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"45"},{"key":"ETag","value":"W/\"2d-c8wnUmwijfwo3rOAFGN3gDDmEAs\""},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"Template not found\"\n}"},{"id":"0f125ed5-8d2a-4827-89ae-2f61f9c1be99","name":"200","originalRequest":{"method":"DELETE","header":[],"url":"https://api.epasscard.com/api/public/v1/delete-pass-template/815"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 28 Oct 2025 06:20:20 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"99"},{"key":"X-RateLimit-Reset","value":"1761632480"},{"key":"X-RateLimit-Reset-Date","value":"2025-10-28T06:21:20.212Z"},{"key":"X-Request-Type","value":"general"},{"key":"X-Current-Time","value":"2025-10-28T06:20:20.212Z"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"56"},{"key":"ETag","value":"W/\"38-QfCvrQgFIXg7bhaxJBrsiqinwk4\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Template deleted successfully\"\n}"}],"_postman_id":"62f5b47c-7f71-491d-b062-18388e0e07cd"},{"name":"Template details","id":"3a442aa2-eabb-4af5-988a-c6c3298316b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.epasscard.com/api/public/v1/template-details/{template_uid}","description":"<h1 id=\"get-template-details-by-template-uid\">Get Template Details by template UID</h1>\n<h2 id=\"overview\">Overview</h2>\n<p>This endpoint retrieves the details of a specific template using its unique identifier (<code>template_uid</code>). Use this to fetch metadata and configuration for a template in your system.</p>\n<hr />\n<h2 id=\"method-and-url\">Method and URL</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://api.epasscard.com/api/public/v1/template-details/:template_uid\n\n</code></pre><ul>\n<li><p><code>https://api.epasscard.com/api</code> is an environment variable for your API base URL.</p>\n</li>\n<li><p>Replace <code>:template_uid</code> with the UUID of the template you want to retrieve.</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"path-parameters\">Path Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>In</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>template_uid</td>\n<td>path</td>\n<td>string</td>\n<td>Yes</td>\n<td>Unique identifier (UUID) of the template.(eg: d0f0d035-196c-4055-983b-f3d2618bfc71)</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"query-parameters\">Query Parameters</h2>\n<p>This endpoint does <strong>not</strong> accept any query parameters.</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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>—</td>\n<td>—</td>\n<td>—</td>\n<td>—</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"headers\">Headers</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Header</th>\n<th>Value</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Accept</td>\n<td>application/json</td>\n<td>Yes</td>\n<td>Response format</td>\n</tr>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n<td>No</td>\n<td>Not required for GET</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"authentication\">Authentication</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Type</th>\n<th>Value</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Bearer Token or Api key</td>\n<td>{{bearer_token}} or x-api-key</td>\n<td>Yes</td>\n<td>API key or bearer token needed for authentication</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"request-body\">Request Body</h2>\n<p>This is a GET request and does <strong>not</strong> require a request body.</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>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>—</td>\n<td>—</td>\n<td>—</td>\n<td>—</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"sample-responses\">Sample Responses</h2>\n<h3 id=\"200-ok--success\">200 OK — Success</h3>\n<p>Returns template details in JSON format.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"d0f0d035-196c-4055-983b-f3d2618bfc71\",\n  \"name\": \"Sample Template\",\n  \"description\": \"A sample template description.\",\n  \"createdAt\": \"2023-01-01T00:00:00Z\",\n  \"updatedAt\": \"2023-01-02T00:00:00Z\"\n  // ... other fields\n}\n\n</code></pre>\n<p><em>See the saved \"200\" example for the full schema.</em></p>\n<h3 id=\"404-not-found--error\">404 Not Found — Error</h3>\n<p>Returned if the template does not exist.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 404,\n  \"message\": \"Template not found\"\n}\n\n</code></pre>\n<hr />\n<h2 id=\"testing-notes\">Testing Notes</h2>\n<ul>\n<li><p>There are currently no tests for this request.</p>\n</li>\n<li><p><strong>Suggested checks:</strong></p>\n<ul>\n<li><p>Status code is 200 for a valid <code>template_uid</code>; 404 for a non-existent <code>template_uid</code>.</p>\n</li>\n<li><p>For 200 responses, assert key fields based on the saved 200 example.</p>\n</li>\n</ul>\n</li>\n</ul>\n<hr />\n<h2 id=\"usage-tips\">Usage Tips</h2>\n<ul>\n<li><p>Ensure <code>https://api.epasscard.com/api</code> is set in the active environment.</p>\n</li>\n<li><p>Replace <code>:template_uid</code> with the template UUID you want to query.</p>\n</li>\n<li><p>Use the saved examples to understand the expected response structure.</p>\n</li>\n<li><p>If you receive a 404, verify that the <code>template_uid</code> is correct and exists in the system.</p>\n</li>\n</ul>\n<hr />\n<p><strong>Related Entities:</strong></p>\n<ul>\n<li><p><a href=\"https://collection/47181495-05d0d544-19a3-444d-8189-a0020a0f5c57\">Collection: Pass Templates</a></p>\n</li>\n<li><p><a href=\"https://folder/47181495-9df2de32-b82f-47df-9adb-af8f108d05d5\">Folder: Pass Templates</a></p>\n</li>\n</ul>\n<p><em>This documentation is intended to help API consumers integrate and troubleshoot the template details endpoint effectively.</em></p>\n","urlObject":{"path":["public","v1","template-details","{template_uid}"],"host":["https://api.epasscard.com/api"],"query":[],"variable":[]}},"response":[{"id":"e6b11459-705d-4476-8423-9a2292a532a3","name":"200","originalRequest":{"method":"GET","header":[],"url":"https://api.epasscard.com/api/public/v1/template-details/d0f0d035-196c-4055-983b-f3d2618bfc71"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 28 Oct 2025 07:27:59 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"99"},{"key":"X-RateLimit-Reset","value":"1761636539"},{"key":"X-RateLimit-Reset-Date","value":"2025-10-28T07:28:59.082Z"},{"key":"X-Request-Type","value":"general"},{"key":"X-Current-Time","value":"2025-10-28T07:27:59.082Z"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"6501"},{"key":"ETag","value":"W/\"1965-S3OnhO24AsLdb4ChSIvd1Z2qv2c\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"template_id\": 816,\n    \"template_uid\": \"d0f0d035-196c-4055-983b-f3d2618bfc71\",\n    \"template_name\": \"aasd\",\n    \"locations\": {},\n    \"beacons\": {},\n    \"template_slug\": \"aasd\",\n    \"templateInformation\": {\n        \"id\": 816,\n        \"uid\": \"d0f0d035-196c-4055-983b-f3d2618bfc71\",\n        \"name\": \"aasd\",\n        \"slug\": \"aasd\",\n        \"template_data\": \"{\\\"primarySettings\\\":{\\\"name\\\":\\\"Warrenty card\\\",\\\"cardType\\\":\\\"StoreCard\\\",\\\"organizationName\\\":\\\"\\\",\\\"description\\\":\\\"\\\",\\\"forgroundColor\\\":\\\"#ffffff\\\",\\\"backgroundColor\\\":\\\"#3A3740\\\",\\\"labelColor\\\":\\\"#ffffff\\\",\\\"stripColor\\\":\\\"\\\",\\\"expireType\\\":\\\"\\\",\\\"expireValue\\\":\\\"\\\",\\\"passTypeId\\\":\\\"pass.test.epasscard\\\",\\\"dateTimeFormat\\\":\\\"YYYY-MM-DD HH:mm:ss\\\",\\\"shareable\\\":false,\\\"googleWalletShareable\\\":\\\"STATUS_UNSPECIFIED\\\"},\\\"headerFields\\\":[{\\\"label\\\":\\\"Product name\\\",\\\"value\\\":\\\"{Product name}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Product name is updated to\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"backFields\\\":[{\\\"label\\\":\\\"Customer name\\\",\\\"value\\\":\\\"{Customer name}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer name is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"},{\\\"label\\\":\\\"Customer phone number\\\",\\\"value\\\":\\\"{Customer phone number}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer phone number is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"},{\\\"label\\\":\\\"Customer care\\\",\\\"value\\\":\\\"{Customer care}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer phone number is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"}],\\\"auxiliaryFields\\\":[],\\\"images\\\":{\\\"logo\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-logo.png\\\",\\\"icon\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-logo.png\\\",\\\"thumbnail\\\":\\\"\\\",\\\"strip\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-strip.png\\\",\\\"footer\\\":\\\"\\\"},\\\"primaryFields\\\":[{\\\"label\\\":\\\"\\\",\\\"value\\\":\\\"\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"barcode\\\":{\\\"format\\\":\\\"qrCode\\\",\\\"barcodeValueType\\\":\\\"\\\",\\\"value\\\":\\\"systemId\\\",\\\"altText\\\":\\\"\\\",\\\"showValue\\\":true},\\\"secondaryFields\\\":[{\\\"label\\\":\\\"Warrenty Till\\\",\\\"value\\\":\\\"{Warrenty till}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Warrenty period is updated to\\\",\\\"staticValueType\\\":\\\"text\\\"},{\\\"label\\\":\\\"Purchase date\\\",\\\"value\\\":\\\"{Purchase Date}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Purchase date is updated to\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"googlePassLayout\\\":\\\"Custom\\\",\\\"googleDefaultLayout\\\":{\\\"loyaltyBalance\\\":\\\"\\\",\\\"loyaltyBalanceLabel\\\":\\\"\\\",\\\"giftCardBalance\\\":\\\"\\\",\\\"giftCardCurrencyCode\\\":\\\"\\\"},\\\"emailSettings\\\":{\\\"subject\\\":\\\"\\\",\\\"emailTemplate\\\":\\\"\\\",\\\"recipientEmail\\\":\\\"\\\"},\\\"pushNotificationContent\\\":{\\\"bodyForUpdate\\\":\\\"\\\"},\\\"smsContent\\\":{\\\"receiver\\\":\\\"\\\",\\\"content\\\":\\\"\\\"},\\\"status\\\":false}\",\n        \"status\": 1,\n        \"org_id\": 401,\n        \"description\": \"asdasd\",\n        \"pass_org_name\": \"asdsd\",\n        \"pass_limit\": 4,\n        \"nfc\": null,\n        \"google_wallet_status\": 0\n    },\n    \"template_design\": {\n        \"primarySettings\": {\n            \"name\": \"Warrenty card\",\n            \"cardType\": \"StoreCard\",\n            \"organizationName\": \"\",\n            \"description\": \"\",\n            \"forgroundColor\": \"#ffffff\",\n            \"backgroundColor\": \"#3A3740\",\n            \"labelColor\": \"#ffffff\",\n            \"stripColor\": \"\",\n            \"expireType\": \"\",\n            \"expireValue\": \"\",\n            \"passTypeId\": \"pass.test.epasscard\",\n            \"dateTimeFormat\": \"YYYY-MM-DD HH:mm:ss\",\n            \"shareable\": false,\n            \"googleWalletShareable\": \"STATUS_UNSPECIFIED\"\n        },\n        \"headerFields\": [\n            {\n                \"label\": \"Product name\",\n                \"value\": \"{Product name}\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"Product name is updated to\",\n                \"staticValueType\": \"text\"\n            }\n        ],\n        \"backFields\": [\n            {\n                \"label\": \"Customer name\",\n                \"value\": \"{Customer name}\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"Customer name is updated to\",\n                \"staticValueType\": \"textarea\"\n            },\n            {\n                \"label\": \"Customer phone number\",\n                \"value\": \"{Customer phone number}\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"Customer phone number is updated to\",\n                \"staticValueType\": \"textarea\"\n            },\n            {\n                \"label\": \"Customer care\",\n                \"value\": \"{Customer care}\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"Customer phone number is updated to\",\n                \"staticValueType\": \"textarea\"\n            }\n        ],\n        \"auxiliaryFields\": [],\n        \"images\": {\n            \"logo\": \"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-logo.png\",\n            \"icon\": \"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-logo.png\",\n            \"thumbnail\": \"\",\n            \"strip\": \"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-strip.png\",\n            \"footer\": \"\"\n        },\n        \"primaryFields\": [\n            {\n                \"label\": \"\",\n                \"value\": \"\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"\",\n                \"staticValueType\": \"text\"\n            }\n        ],\n        \"barcode\": {\n            \"format\": \"qrCode\",\n            \"barcodeValueType\": \"\",\n            \"value\": \"systemId\",\n            \"altText\": \"\",\n            \"showValue\": true\n        },\n        \"secondaryFields\": [\n            {\n                \"label\": \"Warrenty Till\",\n                \"value\": \"{Warrenty till}\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"Warrenty period is updated to\",\n                \"staticValueType\": \"text\"\n            },\n            {\n                \"label\": \"Purchase date\",\n                \"value\": \"{Purchase Date}\",\n                \"valueType\": \"fixed\",\n                \"changeMsg\": \"Purchase date is updated to\",\n                \"staticValueType\": \"text\"\n            }\n        ],\n        \"googlePassLayout\": \"Custom\",\n        \"googleDefaultLayout\": {\n            \"loyaltyBalance\": \"\",\n            \"loyaltyBalanceLabel\": \"\",\n            \"giftCardBalance\": \"\",\n            \"giftCardCurrencyCode\": \"\"\n        },\n        \"emailSettings\": {\n            \"subject\": \"\",\n            \"emailTemplate\": \"\",\n            \"recipientEmail\": \"\"\n        },\n        \"pushNotificationContent\": {\n            \"bodyForUpdate\": \"\"\n        },\n        \"smsContent\": {\n            \"receiver\": \"\",\n            \"content\": \"\"\n        },\n        \"status\": false\n    },\n    \"additionFields\": [\n        {\n            \"id\": 2331,\n            \"pass_id\": 816,\n            \"uid\": \"555ca4e6-d55b-441e-a7b6-f40a58ae758e\",\n            \"field_name\": \"Product name\",\n            \"field_type\": \"text\",\n            \"required\": 1,\n            \"org_id\": 401\n        },\n        {\n            \"id\": 2332,\n            \"pass_id\": 816,\n            \"uid\": \"fc4b60d3-eb1f-4c4c-b2b1-7e2eee925adf\",\n            \"field_name\": \"Warrenty till\",\n            \"field_type\": \"text\",\n            \"required\": 1,\n            \"org_id\": 401\n        },\n        {\n            \"id\": 2333,\n            \"pass_id\": 816,\n            \"uid\": \"6b16f16c-9c93-407e-8577-fe386945699d\",\n            \"field_name\": \"Purchase Date\",\n            \"field_type\": \"text\",\n            \"required\": 1,\n            \"org_id\": 401\n        },\n        {\n            \"id\": 2334,\n            \"pass_id\": 816,\n            \"uid\": \"fd2f73b9-ce18-4c9e-859f-3c5085b586cb\",\n            \"field_name\": \"Customer name\",\n            \"field_type\": \"text\",\n            \"required\": 1,\n            \"org_id\": 401\n        },\n        {\n            \"id\": 2335,\n            \"pass_id\": 816,\n            \"uid\": \"74c244dd-1dfa-405b-8f6e-9420022d8a80\",\n            \"field_name\": \"Customer phone number\",\n            \"field_type\": \"text\",\n            \"required\": 1,\n            \"org_id\": 401\n        },\n        {\n            \"id\": 2336,\n            \"pass_id\": 816,\n            \"uid\": \"9f9d0b65-5ca2-46f8-9294-730157715f06\",\n            \"field_name\": \"Customer care\",\n            \"field_type\": \"text\",\n            \"required\": 1,\n            \"org_id\": 401\n        }\n    ],\n    \"settings\": {\n        \"id\": 649,\n        \"template_id\": 816,\n        \"expire_type\": \"date\",\n        \"expire_data_type\": \"\",\n        \"expire_value\": \"2124-10-28 07:04:58\",\n        \"audit_log\": \"0\",\n        \"rechargeable\": \"0\",\n        \"transaction_log\": \"0\",\n        \"redeemable\": \"0\",\n        \"reedem_field\": \"{}\",\n        \"org_id\": 401,\n        \"expire_settings\": \"0\",\n        \"recharge_field\": \"\",\n        \"card_type\": null,\n        \"reciver_email\": \"{}\",\n        \"batch_size\": null,\n        \"serial_number_length\": 15,\n        \"serial_number_prefix\": null,\n        \"unique_code_length\": 15,\n        \"unique_code_format\": \"\",\n        \"unique_code_prefix\": \"\",\n        \"unique_code_suffix\": \"\",\n        \"transection_action\": \"null\"\n    },\n    \"cardType\": \"loyalty\",\n    \"google_wallet_status\": 0,\n    \"total_pass\": 0\n}"},{"id":"e5daa42f-5f2d-47fe-aa63-4ae9449fa2b7","name":"404","originalRequest":{"method":"GET","header":[],"url":"https://api.epasscard.com/api/public/v1/template-details/d0f0d035-196c-4055-983b-f3d2618bfc715"},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 28 Oct 2025 07:28:15 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"99"},{"key":"X-RateLimit-Reset","value":"1761636555"},{"key":"X-RateLimit-Reset-Date","value":"2025-10-28T07:29:15.055Z"},{"key":"X-Request-Type","value":"general"},{"key":"X-Current-Time","value":"2025-10-28T07:28:15.056Z"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"45"},{"key":"ETag","value":"W/\"2d-c8wnUmwijfwo3rOAFGN3gDDmEAs\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"Template not found\"\n}"}],"_postman_id":"3a442aa2-eabb-4af5-988a-c6c3298316b9"}],"id":"9df2de32-b82f-47df-9adb-af8f108d05d5","_postman_id":"9df2de32-b82f-47df-9adb-af8f108d05d5","description":""},{"name":"Wallet pass","item":[{"name":"Pass fields","id":"83304410-361c-48b5-ac25-12c3196a55a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.epasscard.com/api/public/v1/pass-fields/","description":"<h3 id=\"endpoint-get-api_urlpublicv1pass-fieldstemplate_uid\">Endpoint: GET https://api.epasscard.com/api/public/v1/pass-fields/{template_uid}</h3>\n<h4 id=\"purpose\">Purpose</h4>\n<p>This endpoint retrieves the list of pass fields associated with a specific pass template, identified by its unique <code>templateId</code>. It is designed to provide detailed metadata about each field that constitutes a pass template, enabling applications to dynamically display, validate, or configure passes based on the template structure.</p>\n<h4 id=\"how-to-use\">How to Use</h4>\n<ul>\n<li><p><strong>Path Parameter:</strong></p>\n<ul>\n<li><code>template_uid</code> (string, required): The unique identifier of the pass template whose fields you want to retrieve.</li>\n</ul>\n</li>\n<li><p><strong>Authentication:</strong></p>\n<ul>\n<li>Ensure you are authenticated as required by the API (e.g., Bearer token/x-api-key).</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response-structure\">Response Structure</h4>\n<p>A successful response (<code>200 OK</code>) returns a JSON object with the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"passFields\": [\n    {\n      \"id\": 816,\n      \"uid\": \"555ca4e6-d55b-441e-a7b6-f40a58ae758e\",\n      \"field_name\": \"Product name\",\n      \"field_type\": \"text\",\n      \"required\": 1,\n      \"name\": \"aasd\",\n    },\n    ...\n  ],\n  \"totalCreatedPass\": {\n    \"total\": 0\n  },\n}\n\n</code></pre>\n<ul>\n<li><p><strong>passFields</strong>: Array of objects, each representing a field in the pass template.</p>\n<ul>\n<li><p><code>id</code>: Numeric ID of the field (integer).</p>\n</li>\n<li><p><code>uid</code>: Unique identifier for the field (string, UUID).</p>\n</li>\n<li><p><code>field_name</code>: Display name of the field (string).</p>\n</li>\n<li><p><code>field_type</code>: Data type of the field (e.g., \"text\") (string).</p>\n</li>\n<li><p><code>required</code>: Indicates if the field is mandatory (1 for required, 0 for optional) (integer).</p>\n</li>\n<li><p><code>name</code>: Internal name or label for the field (string).</p>\n</li>\n<li><p><code>pass_limit</code>: Maximum number of passes allowed for this field (integer).</p>\n</li>\n<li><p><code>org_id</code>: Organization ID associated with the field (integer).</p>\n</li>\n</ul>\n</li>\n<li><p><strong>totalCreatedPass</strong>: Object containing the total number of passes created for this template.</p>\n<ul>\n<li><code>total</code>: Total count (integer).</li>\n</ul>\n</li>\n<li><p><strong>templateDetails</strong>: Object with metadata about the template.</p>\n<ul>\n<li><p><code>template_data</code>: JSON string with additional template configuration (string).</p>\n</li>\n<li><p><code>name</code>: Name of the template (string).</p>\n</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"application-usage\">Application Usage</h4>\n<ul>\n<li><p><strong>Dynamic Form Generation:</strong> Use the <code>passFields</code> array to generate forms or UI components for pass creation or editing, ensuring required fields are enforced.</p>\n</li>\n<li><p><strong>Validation:</strong> Check the <code>required</code> property to enforce mandatory fields in your application logic.</p>\n</li>\n<li><p><strong>Display:</strong> Show field names and types to users for clarity when viewing or editing passes.</p>\n</li>\n<li><p><strong>Template Management:</strong> Use <code>templateDetails</code> to display template metadata or for administrative purposes.</p>\n</li>\n</ul>\n<p>This endpoint is essential for applications that need to adapt to different pass templates and provide a flexible, data-driven user experience.</p>\n","urlObject":{"path":["public","v1","pass-fields",""],"host":["https://api.epasscard.com/api"],"query":[],"variable":[]}},"response":[{"id":"900cb2f5-4ffe-41c1-8197-2e8226c7b2ec","name":"200","originalRequest":{"method":"GET","header":[],"url":"https://api.epasscard.com/api/public/v1/pass-fields/d0f0d035-196c-4055-983b-f3d2618bfc71"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 28 Oct 2025 09:05:57 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"99"},{"key":"X-RateLimit-Reset","value":"1761642417"},{"key":"X-RateLimit-Reset-Date","value":"2025-10-28T09:06:57.025Z"},{"key":"X-Request-Type","value":"general"},{"key":"X-Current-Time","value":"2025-10-28T09:05:57.025Z"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3529"},{"key":"ETag","value":"W/\"dc9-6k9CUdEdpmSnayRbKYoCzzNx5ME\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"passFields\": [\n        {\n            \"id\": 960,\n            \"uid\": \"c16557e0-62f6-45c9-9452-0b99d33067c1\",\n            \"field_name\": \"Product name\",\n            \"field_type\": \"text\",\n            \"required\": 1,\n            \"name\": \"test\"\n        },\n        {\n            \"id\": 960,\n            \"uid\": \"b832d9e5-92d7-44a7-887b-d4eefadeab87\",\n            \"field_name\": \"Warrenty till\",\n            \"field_type\": \"text\",\n            \"required\": 1,\n            \"name\": \"test\"\n        },\n        {\n            \"id\": 960,\n            \"uid\": \"191feb10-05e7-42e8-ae8a-3d12d6cff04b\",\n            \"field_name\": \"Purchase Date\",\n            \"field_type\": \"text\",\n            \"required\": 1,\n            \"name\": \"test\"\n        },\n        {\n            \"id\": 960,\n            \"uid\": \"72c1e69f-68f3-434f-9588-6738724f3936\",\n            \"field_name\": \"Customer name\",\n            \"field_type\": \"text\",\n            \"required\": 1,\n            \"name\": \"test\"\n        },\n        {\n            \"id\": 960,\n            \"uid\": \"c56d1233-2d60-4435-aaf3-e19597d1f0d5\",\n            \"field_name\": \"Customer phone number\",\n            \"field_type\": \"text\",\n            \"required\": 1,\n            \"name\": \"test\"\n        },\n        {\n            \"id\": 960,\n            \"uid\": \"b9eb742d-70d7-4534-91a6-f393691570b0\",\n            \"field_name\": \"Customer care\",\n            \"field_type\": \"text\",\n            \"required\": 1,\n            \"name\": \"test\"\n        }\n    ],\n    \"totalCreatedPass\": {\n        \"total\": 2\n    }\n}"}],"_postman_id":"83304410-361c-48b5-ac25-12c3196a55a8"},{"name":"Create wallet pass","id":"743a899d-1c43-461a-b88b-2df3844ca2ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"additionalFieldsValue\": [\n    {\n       \n        \"uid\": \"775c90ef-0c8e-47ac-8b58-3b14345f1c6f\",\n    \n        \"fieldValue\": 456465\n    },\n    {\n       \n        \"uid\": \"cdf95ff4-1e97-460a-a332-29b57ef17f90\",\n      \n        \"fieldValue\": \"gfsdf\"\n    },\n    {\n        \n        \"uid\": \"ee53ca5d-4279-4150-a79c-bb199173b565\",\n        \n        \"fieldValue\": \"2025-12-13\"\n    }\n]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.epasscard.com/api/public/v1/create-single-pass/","description":"<h2 id=\"create-single-wallet-pass\">Create Single Wallet Pass</h2>\n<p>This request creates a single digital wallet pass for a customer using the Epasscard Public API. It is used to generate a pass with custom fields such as product details, warranty information, and customer contact data.</p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>POST https://api.epasscard.com/api/public/v1/create-single-pass/template_uid</code></p>\n<h3 id=\"request-body-structure\">Request Body Structure</h3>\n<p>The request body must be sent as raw JSON and should include an <code>additionalFieldsValue</code> array. Each object in this array represents a custom field to be included in the wallet pass.</p>\n<h4 id=\"request-body-example\">Request Body Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"additionalFieldsValue\": [\n    {\n      \"uid\": \"555ca4e6-d55b-441e-a7b6-f40a58ae758e\",\n      \"fieldValue\": \"dasd\"\n    }\n  ]\n}\n\n</code></pre>\n<h4 id=\"request-body-fields-table\">Request Body Fields Table</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>additionalFieldsValue</td>\n<td>Array</td>\n<td>Array of field objects to include in the pass.</td>\n</tr>\n<tr>\n<td>uid</td>\n<td>String</td>\n<td>Unique identifier for the field instance.</td>\n</tr>\n<tr>\n<td>fieldValue</td>\n<td>String</td>\n<td>The value to be set for this field in the pass.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"expected-response\">Expected Response</h3>\n<p>A successful request returns HTTP status code <strong>200</strong> and a JSON response with the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 200,\n  \"message\": \"Pass created successfully\",\n  \"passUid\": \"2a031428-ec2b-470f-8643-4915492a2c23\",\n  \"passLink\": \"https://app.epasscard.com/p/2a031428-ec2b-470f-8643-4915492a2c23\"\n}\n\n</code></pre>\n<h4 id=\"response-fields-table\">Response Fields Table</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>Integer</td>\n<td>HTTP status code (should be 200 for success).</td>\n</tr>\n<tr>\n<td>message</td>\n<td>String</td>\n<td>Success message.</td>\n</tr>\n<tr>\n<td>passUid</td>\n<td>String</td>\n<td>Unique identifier for the created pass.</td>\n</tr>\n<tr>\n<td>passLink</td>\n<td>String</td>\n<td>Direct link to access the generated wallet pass.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"usage-notes\">Usage Notes</h3>\n<ul>\n<li><p>Ensure all required fields are provided in the <code>additionalFieldsValue</code> array.</p>\n</li>\n<li><p>The <code>passLink</code> in the response can be shared with the customer for direct access to their wallet pass.</p>\n</li>\n<li><p>Use the <code>api_url</code> environment variable to easily switch between different API environments (e.g., production, staging).</p>\n</li>\n</ul>\n<p>For more details, refer to the <a href=\"https://collection/47181495-05d0d544-19a3-444d-8189-a0020a0f5c57\">Epasscard Public Api collection</a>.</p>\n","urlObject":{"path":["public","v1","create-single-pass",""],"host":["https://api.epasscard.com/api"],"query":[],"variable":[]}},"response":[{"id":"4b8353ba-e030-4cce-8da3-a3c2e0bb3a40","name":"200","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"additionalFieldsValue\": [\n        {\n            \"uid\": \"c16557e0-62f6-45c9-9452-0b99d33067c1\",\n            \"fieldValue\": \"sdf\"\n        },\n        {\n            \n            \"uid\": \"b832d9e5-92d7-44a7-887b-d4eefadeab87\",\n            \"fieldValue\": \"sdf\"\n        },\n        {\n            \"uid\": \"191feb10-05e7-42e8-ae8a-3d12d6cff04b\",\n            \"fieldValue\": \"fsdf\"\n        },\n        {\n           \n            \"uid\": \"72c1e69f-68f3-434f-9588-6738724f3936\",\n            \"fieldValue\": \"fsdfsdf\"\n        },\n        {\n           \n            \"uid\": \"c56d1233-2d60-4435-aaf3-e19597d1f0d5\",\n            \"fieldValue\": \"sdfsdf\"\n        },\n        {\n            \n            \"uid\": \"b9eb742d-70d7-4534-91a6-f393691570b0\",\n            \"fieldValue\": \"sdfsdfdf\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.epasscard.com/api/public/v1/create-single-pass/d0f0d035-196c-4055-983b-f3d2618bfc71"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Tue, 28 Oct 2025 10:46:53 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"96"},{"key":"X-RateLimit-Reset","value":"1761648473"},{"key":"X-RateLimit-Reset-Date","value":"2025-10-28T10:47:53.302Z"},{"key":"X-Request-Type","value":"general"},{"key":"X-Current-Time","value":"2025-10-28T10:46:53.302Z"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"179"},{"key":"ETag","value":"W/\"b3-M1+gRo6m4yZvt3hXnn3s2EkXskU\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Pass created successfully\",\n    \"passUid\": \"2a031428-ec2b-470f-8643-4915492a2c23\",\n    \"passLink\": \"https://app.epasscard.com/p/2a031428-ec2b-470f-8643-4915492a2c23\"\n}"}],"_postman_id":"743a899d-1c43-461a-b88b-2df3844ca2ba"},{"name":"Update wallet pass","id":"cd22a344-c71f-426c-8163-123d7ecaaefc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"\n{\n    \"fields\": [\n        {\n            \n            \"field_value\": \"Date tree\",\n            \"uid\": \"d3c76e33-4806-4d45-8048-2381753a7ee6\"\n            \n        },\n        {\n            \n            \"field_value\": \"hy\",\n            \"uid\": \"97cdbafe-e6cd-4047-a962-2143822fc5b2\"\n          \n        },\n        {\n           \n            \"field_value\": \"hyh\",\n            \"uid\": \"b3d8cc82-b8ab-48c1-8ad6-d63882d77646\"\n           \n        },\n        {\n            \n            \"field_value\": \"hyhyh\",\n            \"uid\": \"fc7ba6d8-4498-4a35-9bd8-52093bc08faa\"\n            \n        },\n        {\n           \n            \"field_value\": \"yhyhyh\",\n            \"uid\": \"dab0a391-1a94-4294-9698-04fd41714c98\"\n           \n        },\n        {\n           \n            \"field_value\": \"yhyhyh\",\n            \"uid\": \"39931ff1-01db-4e05-93d2-7e3ce11e73da\"\n            \n        }\n    ],\n    \"passUid\": \"995be939-389b-4c70-931d-52b7fe57b158\"\n  \n}\n","options":{"raw":{"language":"json"}}},"url":"https://api.epasscard.com/api/public/v1/update-single-pass","description":"<h2 id=\"update-wallet-pass\">Update Wallet Pass</h2>\n<p>This request updates the details of a single wallet pass in the Epasscard system.</p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>PUT https://api.epasscard.com/api/public/v1/update-single-pass</code></p>\n<h3 id=\"purpose\">Purpose</h3>\n<p>Use this endpoint to update information for an existing wallet pass, such as product details, warranty, purchase date, and customer information. The request requires the unique identifier (<code>passUid</code>) of the pass to be updated, along with the new field values.</p>\n<h3 id=\"request-body-structure\">Request Body Structure</h3>\n<p>The request body must be sent as raw JSON and should have the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"fields\": [\n    {\n      \"field_value\": \"&lt;Value&gt;\",\n      \"uid\": \"&lt;Field UID&gt;\",\n    },\n    ...\n  ],\n  \"passUid\": \"&lt;Pass UID&gt;\"\n}\n\n</code></pre>\n<h3 id=\"request-body-parameters\">Request Body Parameters</h3>\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<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>fields</td>\n<td>Array</td>\n<td>List of field objects to update.</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>└─ field_value</td>\n<td>String</td>\n<td>The value to set for the field.</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>└─ uid</td>\n<td>String</td>\n<td>Unique identifier for the field.</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>passUid</td>\n<td>String</td>\n<td>Unique identifier of the wallet pass to update.</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"example-request-body\">Example Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"fields\": [\n    { \"field_value\": \"Example Product\", \"uid\": \"...\"},\n    { \"field_value\": \"2025-12-31\", \"uid\": \"...\"},\n    { \"field_value\": \"2024-06-01\", \"uid\": \"...\"},\n    {\"field_value\": \"John Doe\", \"uid\": \"...\"},\n    {\"field_value\": \"1234567890\", \"uid\": \"...\"},\n    {\"field_value\": \"support@example.com\", \"uid\": \"...\"}\n  ],\n  \"passUid\": \"2a031428-ec2b-470f-8643-4915492a2c23\"\n}\n\n</code></pre>\n<h3 id=\"important-details\">Important Details</h3>\n<ul>\n<li><p><strong>All fields in the</strong> <strong><code>fields</code></strong> <strong>array marked as</strong> <strong><code>required: 1</code></strong> <strong>must be provided.</strong></p>\n</li>\n<li><p>The <code>passUid</code> must correspond to an existing wallet pass.</p>\n</li>\n<li><p>If any required field is missing or empty, the API will return a 400 error with a message indicating the missing field.</p>\n</li>\n<li><p>Ensure that the <code>uid</code> for each field matches the expected field in the system.</p>\n</li>\n</ul>\n<h3 id=\"expected-responses\">Expected Responses</h3>\n<ul>\n<li><p><strong>200 OK</strong>: Pass updated successfully.</p>\n</li>\n<li><p><strong>400 Bad Request</strong>: Missing required fields or invalid data.</p>\n</li>\n</ul>\n<p>For more details, refer to the <a href=\"https://collection/47181495-05d0d544-19a3-444d-8189-a0020a0f5c57\">Epasscard Public Api</a> collection documentation.</p>\n","urlObject":{"path":["public","v1","update-single-pass"],"host":["https://api.epasscard.com/api"],"query":[],"variable":[]}},"response":[{"id":"42fdc34d-7c12-4f75-a4f1-d29507dfcab7","name":"Success response","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"fields\": [\n        {\n            \"field_name\": \"Product name\",\n            \"field_value\": \"Walton\",\n            \"uid\": \"c16557e0-62f6-45c9-9452-0b99d33067c1\",\n            \"field_type\": \"text\",\n            \"required\": 1\n        },\n        {\n            \"field_name\": \"Warrenty till\",\n            \"field_value\": \"20-12-2025\",\n            \"uid\": \"b832d9e5-92d7-44a7-887b-d4eefadeab87\",\n            \"field_type\": \"text\",\n            \"required\": 1\n        },\n        {\n            \"field_name\": \"Purchase Date\",\n            \"field_value\": \"asdas\",\n            \"uid\": \"191feb10-05e7-42e8-ae8a-3d12d6cff04b\",\n            \"field_type\": \"text\",\n            \"required\": 1\n        },\n        {\n            \"field_name\": \"Customer name\",\n            \"field_value\": \"dasd\",\n            \"uid\": \"72c1e69f-68f3-434f-9588-6738724f3936\",\n            \"field_type\": \"text\",\n            \"required\": 1\n        },\n        {\n            \"field_name\": \"Customer phone number\",\n            \"field_value\": \"asdasd\",\n            \"uid\": \"c56d1233-2d60-4435-aaf3-e19597d1f0d5\",\n            \"field_type\": \"text\",\n            \"required\": 1\n        },\n        {\n            \"field_name\": \"Customer care\",\n            \"field_value\": \"asdasd\",\n            \"uid\": \"b9eb742d-70d7-4534-91a6-f393691570b0\",\n            \"field_type\": \"text\",\n            \"required\": 1\n        }\n    ],\n    \"passUid\": \"94b4f8a4-d024-4b3b-bce3-aa49f3a087a3\",\n    \"status\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://api.epasscard.com/api/public/v1/update-single-pass"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Fri, 05 Dec 2025 11:44:42 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"130"},{"key":"ETag","value":"W/\"82-QsGLyN2JdMa6k4uMFoNXsffoSyg\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Pass updated successfully\",\n    \"passLink\": \"https://app.epasscard.com/p/94b4f8a4-d024-4b3b-bce3-aa49f3a087a3\"\n}"}],"_postman_id":"cd22a344-c71f-426c-8163-123d7ecaaefc"},{"name":"Delete wallet pass","id":"7a5d50a9-8ad2-4498-bcc9-8d4bf270efff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://api.epasscard.com/api/public/v1/delete-single-pass/{pass_uid}","description":"<p>Deletes a single wallet pass by its unique ID.</p>\n<p><strong>Endpoint:</strong><br /><code>DELETE https://api.epasscard.com/api/public/v1/delete-single-pass/:pass_uid</code></p>\n<p><strong>Path Parameter:</strong></p>\n<ul>\n<li><code>pass_uid</code> (string): The unique identifier of the pass to be deleted.Uid be like (05b9d6e0-8e8a-40de-a115-3bbd2d8901c0)</li>\n</ul>\n<p><strong>Response:</strong></p>\n<ul>\n<li><p>On success (HTTP 200), returns a JSON object:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 200,\n  \"message\": \"Pass deleted successfully\"\n}\n\n</code></pre>\n</li>\n</ul>\n<p>Use this endpoint to permanently remove a wallet pass from the system.</p>\n","urlObject":{"path":["public","v1","delete-single-pass","{pass_uid}"],"host":["https://api.epasscard.com/api"],"query":[],"variable":[]}},"response":[{"id":"289f5ba3-b279-4e91-9e38-99fd3c5aaadc","name":"Success","originalRequest":{"method":"DELETE","header":[],"url":"https://api.epasscard.com/api/public/v1/delete-single-pass/94b4f8a4-d024-4b3b-bce3-aa49f3a087a3"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Fri, 05 Dec 2025 11:46:03 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"52"},{"key":"ETag","value":"W/\"34-4kwIfkTcf1aRSFrTafoX+fYwoQw\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Pass deleted successfully\"\n}"}],"_postman_id":"7a5d50a9-8ad2-4498-bcc9-8d4bf270efff"}],"id":"e29a57a0-1575-4519-93bb-9731f4a18c14","_postman_id":"e29a57a0-1575-4519-93bb-9731f4a18c14","description":""},{"name":"Transections","item":[{"name":"Get rechargeable pass data","id":"4f9aaf2a-c67c-4af2-b86a-26c219a05da6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.epasscard.com/api/public/v1/get-rechargable-pass-data/{pass_uid}","description":"<p>Overview<br />Retrieve detailed data for a rechargeable pass by its unique pass ID. This endpoint is typically used by issuing portals, POS systems, or automation workflows to display current pass details (e.g., balance) and determine what actions (e.g., add/deduct) are available for the pass.</p>\n<p>HTTP</p>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: https://api.epasscard.com/api/public/v1/get-rechargable-pass-data/:pass_uid</p>\n</li>\n</ul>\n<p>Path parameter</p>\n<ul>\n<li>pass_uid (string, required): The unique identifier (UUID or numeric ID) of the rechargeable pass. Example: 89d99f9c-add7-49f7-9d07-e54840534459</li>\n</ul>\n<p>Authentication</p>\n<ul>\n<li>Inherit or set authentication as required by your environment (e.g., Bearer token). If the collection/folder is configured to use a bearer token, ensure the environment variable bearer_token is populated before sending the request.</li>\n</ul>\n<p>Query parameters</p>\n<ul>\n<li>None.</li>\n</ul>\n<p>Request body</p>\n<ul>\n<li>None.</li>\n</ul>\n<p>Success response (200)<br />Returns a JSON object describing the pass and its configurable fields. A representative example is shown below. The exact schema may evolve; avoid hard-coding field lists and prefer type checks.</p>\n<p>Response fields</p>\n<ul>\n<li><p>template_id (number): Internal template identifier for the pass layout.</p>\n</li>\n<li><p>template_uid (string, UUID): Template unique identifier.</p>\n</li>\n<li><p>name (string): Template or pass type name. Example: \"recharge\".</p>\n</li>\n<li><p>template_data (string, JSON-as-string): A JSON string containing layout and primary settings for the pass. Parse if needed using JSON.parse.</p>\n</li>\n<li><p>description (string): Human-readable description of the pass template.</p>\n</li>\n<li><p>pass_org_name (string): Organization name associated with the pass.</p>\n</li>\n<li><p>recharge_field (string): The field in the pass that supports recharge operations (e.g., \"Balance\").</p>\n</li>\n<li><p>passId (number): Internal numeric identifier of the pass.</p>\n</li>\n<li><p>card_number (string): The card or pass number associated with the pass.</p>\n</li>\n<li><p>transection_action (string, JSON-as-string): A JSON string representing allowed transaction actions for fields (e.g., add/deduct). Parse with JSON.parse.</p>\n</li>\n<li><p>expireStatus (boolean): Indicates whether the pass is expired (true) or active (false).</p>\n</li>\n<li><p>fields (array of objects): Dynamic field definitions and current values for the pass. Each item typically includes:</p>\n<ul>\n<li><p>field_name (string): Label or name of the field (e.g., \"Balance\").</p>\n</li>\n<li><p>field_type (string): Data type (e.g., number, string).</p>\n</li>\n<li><p>field_uid (string, UUID): Field unique identifier.</p>\n</li>\n<li><p>field_value (string | number | boolean): Current value of the field.</p>\n</li>\n</ul>\n</li>\n<li><p>actions (string, JSON-as-string): A JSON string representing configured actions allowed on fields. Often mirrors transection_action.</p>\n</li>\n</ul>\n<p>Example 200 response<br />{<br />\"template_id\": 821,<br />\"template_uid\": \"8371b227-afab-46fd-ae37-b5485c7a6ed1\",<br />\"name\": \"recharge\",<br />\"template_data\": \"{\"primarySettings\":{...}}\",<br />\"description\": \"dasd\",<br />\"pass_org_name\": \"asdad\",<br />\"recharge_field\": \"Balance\",<br />\"passId\": 162,<br />\"card_number\": \"t9drovdm0OSOezY\",<br />\"transection_action\": \"[{\"field\":\"Balance\",\"action\":\"add_deduct\"}]\",<br />\"expireStatus\": true,<br />\"fields\": [<br />{<br />\"field_name\": \"Balance\",<br />\"field_type\": \"number\",<br />\"field_uid\": \"8ae6b7b3-f5b8-4d18-858e-f3b5f766c6b4\",<br />\"field_value\": \"550\"<br />}<br />],<br />\"actions\": \"[{\"field\":\"Balance\",\"action\":\"add_deduct\"}]\"<br />}</p>\n<p>Errors</p>\n<ul>\n<li><p>400 Bad Request: Missing or invalid passId.</p>\n</li>\n<li><p>401/403 Unauthorized/Forbidden: Authentication missing or insufficient.</p>\n</li>\n<li><p>404 Not Found: No pass found for the given passId.</p>\n</li>\n<li><p>429 Too Many Requests: Rate limit exceeded.</p>\n</li>\n<li><p>5xx Server Errors: Temporary server issues.</p>\n</li>\n</ul>\n<p>Usage notes</p>\n<ul>\n<li><p>JSON-as-string fields: template_data, transection_action, and actions are JSON-encoded strings. Use JSON.parse to consume them:<br />  const data = pm.response.json();<br />  const actions = JSON.parse(data.actions || \"[]\");</p>\n</li>\n<li><p>Balance and other dynamic values are provided under fields[]. Do not rely on a fixed index; search by field_name.</p>\n</li>\n<li><p>Expiration: Check expireStatus before allowing client-side recharge flows.</p>\n</li>\n<li><p>Environments: Ensure https://api.epasscard.com/api points to the correct environment (e.g., staging vs production).</p>\n</li>\n</ul>\n","urlObject":{"path":["public","v1","get-rechargable-pass-data","{pass_uid}"],"host":["https://api.epasscard.com/api"],"query":[],"variable":[]}},"response":[{"id":"e6678fbe-6f41-45ec-97fc-1ceab0be90bc","name":"200","originalRequest":{"method":"GET","header":[],"url":"https://api.epasscard.com/api/public/v1/get-rechargable-pass-data/89d99f9c-add7-49f7-9d07-e54840534459"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Wed, 29 Oct 2025 07:35:58 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"99"},{"key":"X-RateLimit-Reset","value":"1761723418"},{"key":"X-RateLimit-Reset-Date","value":"2025-10-29T07:36:58.425Z"},{"key":"X-Request-Type","value":"general"},{"key":"X-Current-Time","value":"2025-10-29T07:35:58.426Z"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2965"},{"key":"ETag","value":"W/\"b95-ze7BIWopbpUFFapK9iZylXtSWzY\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"template_id\": 821,\n    \"template_uid\": \"8371b227-afab-46fd-ae37-b5485c7a6ed1\",\n    \"name\": \"recharge\",\n    \"template_data\": \"{\\\"primarySettings\\\":{\\\"name\\\":\\\"Warrenty card\\\",\\\"cardType\\\":\\\"StoreCard\\\",\\\"organizationName\\\":\\\"\\\",\\\"description\\\":\\\"\\\",\\\"forgroundColor\\\":\\\"#ffffff\\\",\\\"backgroundColor\\\":\\\"#3A3740\\\",\\\"labelColor\\\":\\\"#ffffff\\\",\\\"stripColor\\\":\\\"\\\",\\\"expireType\\\":\\\"\\\",\\\"expireValue\\\":\\\"\\\",\\\"passTypeId\\\":\\\"pass.test.epasscard\\\",\\\"dateTimeFormat\\\":\\\"YYYY-MM-DD HH:mm:ss\\\",\\\"shareable\\\":false,\\\"googleWalletShareable\\\":\\\"STATUS_UNSPECIFIED\\\"},\\\"headerFields\\\":[{\\\"label\\\":\\\"Product name\\\",\\\"value\\\":\\\"{Product name}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Product name is updated to\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"backFields\\\":[{\\\"label\\\":\\\"Customer name\\\",\\\"value\\\":\\\"{Customer name}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer name is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"},{\\\"label\\\":\\\"Customer phone number\\\",\\\"value\\\":\\\"{Customer phone number}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer phone number is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"},{\\\"label\\\":\\\"Customer care\\\",\\\"value\\\":\\\"{Customer care}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Customer phone number is updated to\\\",\\\"staticValueType\\\":\\\"textarea\\\"}],\\\"auxiliaryFields\\\":[],\\\"images\\\":{\\\"logo\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-logo.png\\\",\\\"icon\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-logo.png\\\",\\\"thumbnail\\\":\\\"\\\",\\\"strip\\\":\\\"https://app.epasscard.com//assets/img/predefined-templates/assets/warrenty-strip.png\\\",\\\"footer\\\":\\\"\\\"},\\\"primaryFields\\\":[{\\\"label\\\":\\\"\\\",\\\"value\\\":\\\"\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"barcode\\\":{\\\"format\\\":\\\"qrCode\\\",\\\"barcodeValueType\\\":\\\"\\\",\\\"value\\\":\\\"systemId\\\",\\\"altText\\\":\\\"\\\",\\\"showValue\\\":true},\\\"secondaryFields\\\":[{\\\"label\\\":\\\"Balance\\\",\\\"value\\\":\\\"{Balance}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Warrenty period is updated to\\\",\\\"staticValueType\\\":\\\"text\\\"},{\\\"label\\\":\\\"Purchase date\\\",\\\"value\\\":\\\"{Purchase Date}\\\",\\\"valueType\\\":\\\"fixed\\\",\\\"changeMsg\\\":\\\"Purchase date is updated to\\\",\\\"staticValueType\\\":\\\"text\\\"}],\\\"googlePassLayout\\\":\\\"Custom\\\",\\\"googleDefaultLayout\\\":{\\\"loyaltyBalance\\\":\\\"\\\",\\\"loyaltyBalanceLabel\\\":\\\"\\\",\\\"giftCardBalance\\\":\\\"\\\",\\\"giftCardCurrencyCode\\\":\\\"\\\"},\\\"emailSettings\\\":{\\\"subject\\\":\\\"\\\",\\\"emailTemplate\\\":\\\"\\\",\\\"recipientEmail\\\":\\\"\\\"},\\\"pushNotificationContent\\\":{\\\"bodyForUpdate\\\":\\\"\\\"},\\\"smsContent\\\":{\\\"receiver\\\":\\\"\\\",\\\"content\\\":\\\"\\\"},\\\"status\\\":false}\",\n    \"description\": \"dasd\",\n    \"pass_org_name\": \"asdad\",\n    \"recharge_field\": \"Balance\",\n    \"passId\": 162,\n    \"card_number\": \"t9drovdm0OSOezY\",\n    \"transection_action\": \"[{\\\"field\\\":\\\"Balance\\\",\\\"action\\\":\\\"add_deduct\\\"}]\",\n    \"expireStatus\": true,\n    \"fields\": [\n        {\n            \"field_name\": \"Balance\",\n            \"field_type\": \"number\",\n            \"field_uid\": \"8ae6b7b3-f5b8-4d18-858e-f3b5f766c6b4\",\n            \"field_value\": \"550\"\n        }\n    ],\n    \"actions\": \"[{\\\"field\\\":\\\"Balance\\\",\\\"action\\\":\\\"add_deduct\\\"}]\"\n}"}],"_postman_id":"4f9aaf2a-c67c-4af2-b86a-26c219a05da6"},{"name":"Top up wallet pass","id":"29129ca6-e4cf-4979-a912-4bb419403d04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"passUid\": \"89d99f9c-add7-49f7-9d07-e54840534459\",\n  \"fieldName\": \"Balance\",\n  \"amount\": \"25\",\n  \"fields\": [\n    {\n      \"field_name\": \"Balance\",\n      \"field_type\": \"number\",\n      \"field_uid\": \"8ae6b7b3-f5b8-4d18-858e-f3b5f766c6b4\",\n      \"field_value\": \"25\"\n    }\n  ],\n  \"templateId\": 821,\n  \"note\": \"\",\n  \"passId\": 162,\n  \"cardNumber\": \"t9drovdm0OSOezY\",\n \n  \"actions\": [\n    {\n      \"field\": \"Balance\",\n      \"action\": \"add_deduct\"\n    }\n  ]\n  \n}","options":{"raw":{"language":"json"}}},"url":"https://api.epasscard.com/api/public/v1/topup","description":"<p>Summary<br />Top up a wallet pass balance.</p>\n<p>Method and URL<br />POST https://api.epasscard.com/api/public/v1/topup</p>\n<ul>\n<li>https://api.epasscard.com/api is an environment variable pointing to your API base URL.</li>\n</ul>\n<p>Required Headers</p>\n<ul>\n<li>Authorization: Bearer {{bearer_token}}</li>\n</ul>\n<p>Request Body (JSON)  </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Required</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>passUid</td>\n<td>string</td>\n<td>Yes</td>\n<td>Unique identifier of the pass. Used to target a specific wallet pass.</td>\n</tr>\n<tr>\n<td>fieldName</td>\n<td>string</td>\n<td>Yes</td>\n<td>Field to adjust; typically \"Balance\".</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>string or number</td>\n<td>Yes</td>\n<td>Amount to add or deduct. Positive to add; negative to deduct (if supported by action).</td>\n</tr>\n<tr>\n<td>fields</td>\n<td>array</td>\n<td>Yes</td>\n<td>Collection of field updates to persist on the pass.</td>\n</tr>\n<tr>\n<td>├─ field_name</td>\n<td>string</td>\n<td>Yes</td>\n<td>Name of the field to update (e.g., \"Balance\").</td>\n</tr>\n<tr>\n<td>├─ field_type</td>\n<td>string</td>\n<td>Yes</td>\n<td>Data type of the field (e.g., number, string).</td>\n</tr>\n<tr>\n<td>├─ field_uid</td>\n<td>string</td>\n<td>Yes</td>\n<td>Unique identifier of the field definition.</td>\n</tr>\n<tr>\n<td>└─ field_value</td>\n<td>string or number</td>\n<td>Yes</td>\n<td>Value to set for the field.</td>\n</tr>\n<tr>\n<td>templateId</td>\n<td>number</td>\n<td>Yes</td>\n<td>Template identifier associated with the pass.</td>\n</tr>\n<tr>\n<td>note</td>\n<td>string</td>\n<td>Optional</td>\n<td>Freeform note about the top-up operation.</td>\n</tr>\n<tr>\n<td>passId</td>\n<td>number</td>\n<td>Yes</td>\n<td>Internal numeric ID of the pass.</td>\n</tr>\n<tr>\n<td>cardNumber</td>\n<td>string</td>\n<td>Yes</td>\n<td>The card/pass number to apply the top up to.</td>\n</tr>\n<tr>\n<td>actions</td>\n<td>array</td>\n<td>Yes</td>\n<td>Action(s) to perform on the specified field(s).</td>\n</tr>\n<tr>\n<td>├─ field</td>\n<td>string</td>\n<td>Yes</td>\n<td>Field name to target (e.g., \"Balance\").</td>\n</tr>\n<tr>\n<td>└─ action</td>\n<td>string</td>\n<td>Yes</td>\n<td>Operation to perform (e.g., \"add_deduct\").</td>\n</tr>\n</tbody>\n</table>\n</div><p>Example Request Body<br />{\"passUid\":\"89d99f9c-add7-49f7-9d07-e54840534459\",\"fieldName\":\"Balance\",\"amount\":\"25\",\"fields\":[{\"field_name\":\"Balance\",\"field_type\":\"number\",\"field_uid\":\"8ae6b7b3-f5b8-4d18-858e-f3b5f766c6b4\",\"field_value\":\"25\"}],\"templateId\":821,\"note\":\"\",\"passId\":162,\"cardNumber\":\"t9drovdm0OSOezY\",\"actions\":[{\"field\":\"Balance\",\"action\":\"add_deduct\"}]}</p>\n<p>Example Successful Response</p>\n<ul>\n<li><p>Status: 200 OK</p>\n</li>\n<li><p>Body: Topup successfull</p>\n</li>\n</ul>\n<p>Testing Tips</p>\n<ul>\n<li><p>Set environment variables:</p>\n<ul>\n<li><p>api_url: Base URL for the API (Environment: api_url).</p>\n</li>\n<li><p>bearer_token: Your OAuth2/JWT token. Then set header Authorization: Bearer {{bearer_token}}.</p>\n</li>\n</ul>\n</li>\n<li><p>Ensure the correct environment is selected before sending.</p>\n</li>\n</ul>\n<p>Usage Notes</p>\n<ul>\n<li><p>Use a development/sandbox environment for safe testing to avoid affecting real balances.</p>\n</li>\n<li><p>Test with a known test cardNumber first.</p>\n</li>\n<li><p>Ensure your token has permissions to perform top-ups.</p>\n</li>\n<li><p>Avoid duplicate sends to prevent unintended double top-ups.</p>\n</li>\n</ul>\n","urlObject":{"path":["public","v1","topup"],"host":["https://api.epasscard.com/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"29129ca6-e4cf-4979-a912-4bb419403d04"}],"id":"7ee8e6cd-7cb9-4591-9068-66ad8992278b","_postman_id":"7ee8e6cd-7cb9-4591-9068-66ad8992278b","description":""},{"name":"Profile","item":[{"name":"Get user data","id":"e29ef2e9-c8a4-43a2-8b50-ff285936f831","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[{"key":"x-api-key","value":"IToImbrHIP6PnkS2KdoONi28z167EyKb493IvIRR6BqBwK2Kty","type":"text"}],"url":"https://api.epasscard.com/api/public/v1/get-user-data","description":"<p><strong>Purpose:</strong>\nRetrieves detailed information about a user from the Epasscard Public API.</p>\n<p><strong>Endpoint:</strong>\n<code>GET https://api.epasscard.com/api/public/v1/get-user-data</code></p>\n<p><strong>Required Header:</strong></p>\n<ul>\n<li><code>x-api-key</code>: Your API key for authentication. This header must be included in the request.</li>\n</ul>\n<p><strong>Expected Successful Response (200):</strong>\nReturns a JSON object containing user details such as ID, name, email, phone number, company information, account status, and other profile attributes.</p>\n<p><strong>Example Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 200,\n  \"message\": \"User data fetched successfully\",\n  \"data\": {\n    \"id\": 401,\n    \"first_name\": \"Riad Khan\",\n    ...\n  }\n}\n</code></pre>\n","urlObject":{"path":["public","v1","get-user-data"],"host":["https://api.epasscard.com/api"],"query":[],"variable":[]}},"response":[{"id":"84d77660-146a-4448-a394-8c73118e3297","name":"200","originalRequest":{"method":"GET","header":[{"key":"x-api-key","value":"ZZNPeY3i6Dn6mrP5ObeaGKM94iYCipIRjyi2N7t1txKlovPwxb","type":"text"}],"url":"https://api.epasscard.com/api/public/v1/get-user-data"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Fri, 31 Oct 2025 10:47:40 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"99"},{"key":"X-RateLimit-Reset","value":"1761907720"},{"key":"X-RateLimit-Reset-Date","value":"2025-10-31T10:48:40.437Z"},{"key":"X-Request-Type","value":"general"},{"key":"X-Current-Time","value":"2025-10-31T10:47:40.438Z"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"917"},{"key":"ETag","value":"W/\"395-OenOZ6HOHVbwsMMZyD6BldY+V2c\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"User data fetched successfully\",\n    \"data\": {\n        \"id\": 401,\n        \"first_name\": \"Riad Khan\",\n        \"last_name\": \"\",\n        \"email\": \"riadhossain2367@gmail.com\",\n        \"phone_number\": \"01628132705\",\n        \"company_name\": \"\",\n        \"browser_details\": \"default\",\n        \"parent\": 0,\n        \"status\": 1,\n        \"device_address\": \"6d67e7cd-f930-4958-b771-4b79be2b1fff\",\n        \"package\": \"Free\",\n        \"two_step_auth\": 0,\n        \"created_at\": \"2025-10-31T09:30:11.000Z\",\n        \"updated_by\": null,\n        \"updated_at\": null,\n        \"roles\": 305,\n        \"title\": null,\n        \"avatar\": \"https://avatars.githubusercontent.com/u/76843822?v=4\",\n        \"fcm_token\": null,\n        \"street\": \"\",\n        \"zip_code\": \"\",\n        \"city\": \"\",\n        \"country\": \"\",\n        \"tin\": null,\n        \"num_of_pass\": 5,\n        \"price\": 0,\n        \"total_pass_active\": 1,\n        \"payment_type\": \"Invoice\",\n        \"vcard_uid\": \"vcard_70142c25-d8ec-4f70-826d-e906d0f39345\",\n        \"company_logo\": \"\",\n        \"timezone\": \"UTC\",\n        \"login_method\": 1,\n        \"is_deleted\": 0,\n        \"delete_on\": null,\n        \"account_type\": null,\n        \"verification_status\": 1,\n        \"otp_expiration_time\": null,\n        \"resent_otp\": null,\n        \"resend_count\": 0,\n        \"cooldown\": null\n    }\n}"}],"_postman_id":"e29ef2e9-c8a4-43a2-8b50-ff285936f831"}],"id":"8d53d599-c09e-4f99-b62b-7b945e1764fa","_postman_id":"8d53d599-c09e-4f99-b62b-7b945e1764fa","description":""},{"name":"OTP","item":[{"name":"Validate OTP","id":"d3610cbc-0e5e-4011-92e2-cf159bce64ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"template_uid","value":"b3628d47-3b91-41a1-9886-72e4476038de5","type":"text","uuid":"c596f367-bdbf-461e-8ef9-b80267374318"},{"key":"otp","value":"=3ldta","type":"text","uuid":"f904a309-ba14-4f61-829a-1fb907b37895"},{"key":"field_key","value":"c0705e73-19ed-41fb-9d67-341c92d06400","type":"text","uuid":"6bbc94c0-7ff7-4125-a817-4a4c6601ff97"},{"key":"value","value":"1037","type":"text","uuid":"c360e55f-fe3d-4b81-aea3-986ca2f5cb3a"}]},"url":"https://api.epasscard.com/api/public/v1/validate-otp","description":"<h1 id=\"validate-otp\">Validate OTP</h1>\n<p>This endpoint validates a one-time password (OTP) for a specific template and field. Use this endpoint to verify that the OTP provided by a user matches the one generated for a particular field in a template.</p>\n<h2 id=\"request-body-parameters\">Request Body Parameters</h2>\n<p>All parameters are required and should be sent as <code>x-www-form-urlencoded</code>:</p>\n<ul>\n<li><p><strong>template_uid</strong> (string): The unique identifier of the template containing the field to validate</p>\n</li>\n<li><p><strong>otp</strong> (string): The one-time password to validate against the system</p>\n</li>\n<li><p><strong>field_key</strong> (string): The unique identifier of the specific field being validated</p>\n</li>\n<li><p><strong>value</strong> (string): The value associated with the field being validated</p>\n</li>\n</ul>\n<h2 id=\"response-codes\">Response Codes</h2>\n<h3 id=\"success-response-200\">Success Response (200)</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"validation\": true,\n  \"status\": 200,\n  \"message\": \"OTP validation success\"\n}\n\n</code></pre>\n<h3 id=\"error-responses\">Error Responses</h3>\n<ul>\n<li><p><strong>pass not found</strong>: The OTP provided does not match or was not found in the system</p>\n</li>\n<li><p><strong>Template not found</strong>: The specified template_uid does not exist or is invalid</p>\n</li>\n</ul>\n<h2 id=\"usage-notes\">Usage Notes</h2>\n<ul>\n<li><p>This endpoint should be called after an OTP has been sent to the user (typically via SMS or email)</p>\n</li>\n<li><p>Ensure the template_uid and field_key are valid before attempting validation</p>\n</li>\n<li><p>OTPs typically have a time limit - validate them promptly after generation</p>\n</li>\n<li><p>Failed validation attempts may be rate-limited for security purposes</p>\n</li>\n</ul>\n","urlObject":{"path":["public","v1","validate-otp"],"host":["https://api.epasscard.com/api"],"query":[],"variable":[]}},"response":[{"id":"b6639a11-6f4d-49d0-bd5a-ae64e0a0f916","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"template_uid","value":"b3628d47-3b91-41a1-9886-72e4476038de","type":"text","uuid":"c596f367-bdbf-461e-8ef9-b80267374318"},{"key":"otp","value":"=3ldta","type":"text","uuid":"f904a309-ba14-4f61-829a-1fb907b37895"},{"key":"field_key","value":"c0705e73-19ed-41fb-9d67-341c92d06400","type":"text","uuid":"6bbc94c0-7ff7-4125-a817-4a4c6601ff97"},{"key":"value","value":"1037","type":"text","uuid":"c360e55f-fe3d-4b81-aea3-986ca2f5cb3a"}]},"url":"https://api.epasscard.com/api/public/v1/validate-otp"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Wed, 26 Nov 2025 08:07:29 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"67"},{"key":"ETag","value":"W/\"43-8C1OgppZOyJ4HMyTlpEMeK6VSXI\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"validation\": true,\n    \"status\": 200,\n    \"message\": \"OTP validation success\"\n}"},{"id":"af74a40b-3235-406c-94c2-962635103269","name":"Invalid otp","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"template_uid","value":"b3628d47-3b91-41a1-9886-72e4476038de","type":"text","uuid":"c596f367-bdbf-461e-8ef9-b80267374318"},{"key":"otp","value":"=3ldtad","type":"text","uuid":"f904a309-ba14-4f61-829a-1fb907b37895"},{"key":"field_key","value":"c0705e73-19ed-41fb-9d67-341c92d06400","type":"text","uuid":"6bbc94c0-7ff7-4125-a817-4a4c6601ff97"},{"key":"value","value":"1037","type":"text","uuid":"c360e55f-fe3d-4b81-aea3-986ca2f5cb3a"}]},"url":"https://api.epasscard.com/api/public/v1/validate-otp"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Wed, 26 Nov 2025 08:08:20 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"ETag","value":"W/\"39-WBaLe3Tn2Sf/ZKw6QjqDpseomu4\""},{"key":"Connection","value":"close"}],"cookie":[],"responseTime":null,"body":"{\n    \"validation\": false,\n    \"message\": \"Invalid OTP\",\n    \"status\": 400\n}"},{"id":"96a26c9e-ab7b-4bbf-a539-ede5fba7732f","name":"pass not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"template_uid","value":"b3628d47-3b91-41a1-9886-72e4476038de","type":"text","uuid":"c596f367-bdbf-461e-8ef9-b80267374318"},{"key":"otp","value":"=3ldta","type":"text","uuid":"f904a309-ba14-4f61-829a-1fb907b37895"},{"key":"field_key","value":"c0705e73-19ed-41fb-9d67-341c92d06400","type":"text","uuid":"6bbc94c0-7ff7-4125-a817-4a4c6601ff97"},{"key":"value","value":"1038","type":"text","uuid":"c360e55f-fe3d-4b81-aea3-986ca2f5cb3a"}]},"url":"https://api.epasscard.com/api/public/v1/validate-otp"},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Wed, 26 Nov 2025 08:08:44 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"ETag","value":"W/\"29-eRvhQyfb0J34e/uF0JtrXkJpfkU\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"Pass not found\"\n}"},{"id":"a790b6f5-31c0-45a1-bd2b-021f0cc8b688","name":"Template not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"template_uid","value":"b3628d47-3b91-41a1-9886-72e4476038de5","type":"text","uuid":"c596f367-bdbf-461e-8ef9-b80267374318"},{"key":"otp","value":"=3ldta","type":"text","uuid":"f904a309-ba14-4f61-829a-1fb907b37895"},{"key":"field_key","value":"c0705e73-19ed-41fb-9d67-341c92d06400","type":"text","uuid":"6bbc94c0-7ff7-4125-a817-4a4c6601ff97"},{"key":"value","value":"1037","type":"text","uuid":"c360e55f-fe3d-4b81-aea3-986ca2f5cb3a"}]},"url":"https://api.epasscard.com/api/public/v1/validate-otp"},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Wed, 26 Nov 2025 08:09:07 GMT"},{"key":"Server","value":"Apache/2.4.58 (Ubuntu)"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"62"},{"key":"ETag","value":"W/\"3e-iVbScAliXMVT1gOxKqaXXVBlKpA\""},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 404,\n    \"message\": \"Template not found or maybe deleted\"\n}"}],"_postman_id":"d3610cbc-0e5e-4011-92e2-cf159bce64ca"}],"id":"882f6410-1ff7-46d2-b10a-b1b4423602d7","_postman_id":"882f6410-1ff7-46d2-b10a-b1b4423602d7","description":""}],"id":"7523f27c-149e-4532-8160-4a8ffee6d651","_postman_id":"7523f27c-149e-4532-8160-4a8ffee6d651","description":""}],"event":[{"listen":"prerequest","script":{"id":"3da30a22-cdbf-4a27-9f05-90517245f5cd","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"cbb1fb83-c222-41d4-883d-16248aa68601","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"api_url","value":"https://api.epasscard.com/api"},{"key":"template_uid","value":"","type":"default"}]}