{"info":{"_postman_id":"a2d71020-03ab-43e6-a785-0b3224634602","name":"Neons Integration","description":"<html><head></head><body><p>Welcome to the Postman documentation for integrating with Neons, our Loyalty System. This guide is designed to help you seamlessly connect your applications with Neons, enabling you to enhance customer engagement and reward loyalty effectively.</p>\n<p>Neons offers a robust set of APIs that allow you to manage customer loyalty points, track rewards, and provide personalized experiences. By following this documentation, you will be able to:</p>\n<ul>\n<li><p>Authenticate and authorize your application to securely interact with our APIs.</p>\n</li>\n<li><p>Register customers and manage their profiles and Neons points.</p>\n</li>\n<li><p>Implement a referral system, including registration referrals and marketplace referrals.</p>\n</li>\n<li><p>Purchase and redeem rewards and track earning and burning history of customers.</p>\n</li>\n<li><p>Log customer actions and evaluate earning rules defined on the client portal based on those customer actions.</p>\n</li>\n<li><p>Utilize the client portal for managing and configuring your loyalty system.</p>\n</li>\n</ul>\n<p>Some API endpoints support localization through the <code>Accept-Language</code> header. The <code>Accept-Language</code> header allows clients to specify the preferred language for the response content.</p>\n<h5 id=\"🔹-supported-language-codes\">🔹 Supported Language Codes</h5>\n<ul>\n<li><p><code>en</code> – English (default)</p>\n</li>\n<li><p><code>ar</code> – Arabic</p>\n</li>\n</ul>\n<h5 id=\"customer-identifiers\">Customer Identifiers</h5>\n<p>All endpoints in this collection support <strong>three types of customer identifiers</strong>:</p>\n<ul>\n<li><p><code>loyaltyId</code></p>\n</li>\n<li><p><code>phoneNumber</code></p>\n</li>\n<li><p><code>uniqueIdentifier</code></p>\n</li>\n</ul>\n<p>🔹 At most <strong>one identifier</strong> should be provided in a single request.</p>\n<ul>\n<li><p>For <strong>GET</strong> endpoints → identifiers are passed as <strong>query parameters</strong>.</p>\n</li>\n<li><p>For <strong>POST/PUT</strong> endpoints → identifiers are included in the <strong>request body</strong>.</p>\n</li>\n</ul>\n<p><strong>Customer Identifier Examples</strong></p>\n<p>Below are example values for each supported customer identifier:</p>\n<ul>\n<li><p><strong>loyaltyId</strong><br>  The customer’s unique loyalty ID in Neons.<br>  <strong>Example:</strong> <code>45272783</code>, <code>95282783</code></p>\n</li>\n<li><p><strong>phoneNumber</strong><br>  The customer’s registered phone number in international format.<br>  <strong>Example:</strong> <code>966532145425</code>, <code>966532145427</code></p>\n</li>\n<li><p><strong>uniqueIdentifier</strong><br>  A custom unique identifier assigned to the customer by the client system.<br>  <strong>Example:</strong> <code>5823R35E</code></p>\n</li>\n</ul>\n<p>To use the client portal, please contact us to obtain the necessary credentials</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"43241773","collectionId":"a2d71020-03ab-43e6-a785-0b3224634602","publishedId":"2sB3QCRYaJ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-09-23T13:34:41.000Z"},"item":[{"name":"Identity","item":[{"name":"generate token","event":[{"listen":"test","script":{"exec":["var data = JSON.parse(responseBody);\r","\r","pm.environment.set(\"token\", data.access_token);"],"type":"text/javascript","packages":{},"id":"040b3968-73e5-4754-940b-6be44e7146dd"}}],"id":"71f01a59-b9d2-4fdc-afd6-3c948b8848a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_id","value":"","type":"text"},{"key":"client_secret","value":"","type":"text"}]},"url":"{{keycloakBaseUrl}}/realms/neons/protocol/openid-connect/token","description":"<p>Generates a token based on a role</p>\n<h4 id=\"getting-your-credentials\">Getting Your Credentials</h4>\n<ul>\n<li><p><strong>client_id</strong> and <strong>client_secret</strong> are required to generate token. They will be provided to you by our team when we onboard your application.</p>\n</li>\n<li><p>These values are unique to your client integration and should be kept secure.</p>\n</li>\n<li><p>If you lose or suspect compromise of your credentials, please contact our support team to regenerate them.</p>\n</li>\n</ul>\n<h4 id=\"using-the-token\">Using the Token</h4>\n<ul>\n<li><p>The response will include an <strong>access_token</strong>.</p>\n</li>\n<li><p>Use this token in the <code>Authorization</code> header of subsequent API requests:<br />  Authorization: Bearer</p>\n</li>\n</ul>\n","urlObject":{"path":["realms","neons","protocol","openid-connect","token"],"host":["{{keycloakBaseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"9cee134d-fa08-42af-9c93-ed3080d1ff35","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"client1@gmail.com\",\r\n  \"password\": \"P@ssw0rd\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//identity/integration-authentication"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJGUlRldnZhQzh5SkpyY0g1bkNld1paZVRhSU5yeHZwUm9qQ19rSEFuVms4In0.eyJleHAiOjE3NTgwMTA4MDgsImlhdCI6MTc1ODAxMDUwOCwianRpIjoidHJydGNjOmMyNTMxMmFhLWJlNzItZWRmYi1hMTU4LWZjMTg0ZDAyZDc4NiIsImlzcyI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTA5MC9yZWFsbXMvbmVvbnMiLCJhdWQiOlsibmVvbnMiLCJhY2NvdW50Il0sInN1YiI6ImZhZjkwZDQyLWU4NGYtNDZlOC1hODFmLWQ0NzUyMDc5ZjYzNyIsInR5cCI6IkJlYXJlciIsImF6cCI6InN1cGVyY2xpZW50IiwiYWNyIjoiMSIsInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJvZmZsaW5lX2FjY2VzcyIsImRlZmF1bHQtcm9sZXMtbmVvbnMiLCJDbGllbnRfSW50ZWdyYXRpb24iLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoicHJvZmlsZSBlbWFpbCIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiY2xpZW50SG9zdCI6IjA6MDowOjA6MDowOjA6MSIsIkNsaWVudElkIjoiOGI1OTA2NjMtYWU4NS00NGUwLThmYjItODJiZmVmOTg5Mzc0IiwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXN1cGVyY2xpZW50IiwiY2xpZW50QWRkcmVzcyI6IjA6MDowOjA6MDowOjA6MSIsImNsaWVudF9pZCI6InN1cGVyY2xpZW50In0.U7TJ9YKiOcTgcDk2gD1w6Apwpc3G4e9tzlvO8xYq3-rTlFjVoOFG4SeVIHA7-1WBwuisX9Tmle1eMeSzpfUNjd7Tv5rn9fz12-wQd2RRFWlnZFsI6hU8QRHmgMYnTI9RnPIX4NpLHzH-ut_6uXprnbt--_MmIZDm85oY2KUnW6ob6rgEiIjCBmuKRnQROxZQ0VHfYw-eEc-pKq7ncARNDqRLnSMxf3rQwzq96mvyp1zS9uTmaXN1Dk7Lf7dOpRlOHo79__NaTyGRxQrGgtfoA2LhH8dYigxaCNFrDtfxWym0UZnEg961WhJ7twV-7O6cowZwmhdDdGZ3HeH7Mhsv6Q\",\n    \"expires_in\": 300,\n    \"refresh_expires_in\": 0,\n    \"token_type\": \"Bearer\",\n    \"not-before-policy\": 0,\n    \"scope\": \"profile email\"\n}"},{"id":"51eaa5a8-20d3-4808-875d-01fa79b0ded9","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"email\": \"client144646@gmail.com\",\r\n  \"password\": \"P@ssw0rd\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//identity/integration-authentication"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.2\",\n    \"title\": \"Unauthorized\",\n    \"status\": 401,\n    \"traceId\": \"00-b03eb517082fe2c7ee2658d8bbfd3de1-3217174b6fdeb75c-00\"\n}"},{"id":"d016cf82-e231-47e2-92e0-b4229402821e","name":"400 - BadRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"grant_type","value":"client_credentials","type":"text"},{"key":"client_id","value":"","type":"text"},{"key":"client_secret","value":"","type":"text"}]},"url":"{{keycloakBaseUrl}}/realms/neons/protocol/openid-connect/token"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"error\": \"unsupported_grant_type\",\r\n    \"error_description\": \"Unsupported grant_type\"\r\n}"}],"_postman_id":"71f01a59-b9d2-4fdc-afd6-3c948b8848a4"}],"id":"c03eb8a4-2b9d-4c89-888f-fe65440d5bc6","description":"<p>Our APIs are secured using <strong>Keycloak</strong>. To access integration endpoints, you first need to generate an access token.</p>\n<p>In this section token generation endpoint is provided for authentication.</p>\n","_postman_id":"c03eb8a4-2b9d-4c89-888f-fe65440d5bc6"},{"name":"Client","item":[{"name":"Validate referral code","item":[{"name":"validate referral code","id":"ac031687-3807-40fa-b804-110fb866c72d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":"//referral-codes/{{referralCode}}/validations","description":"<p>Validates personal and influencer referral codes</p>\n","urlObject":{"path":["referral-codes","{{referralCode}}","validations"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"fe383e35-e85b-44b6-82fa-1b49c503d627","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"//referral-codes/{{referralCode}}/validations"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Mon, 21 Apr 2025 05:47:49 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":""},{"id":"a8d1d733-b903-44ca-84ec-890a6a12ed7f","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[],"url":"//referral-codes/{{referralCode}}/validations"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"280"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:48:52 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"clientId\": [\n            \"The value 'f80e984e-2ba0-4a2f-9db9-8b695a85965' is not valid.\"\n        ]\n    },\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n    \"title\": \"One or more validation errors occurred.\",\n    \"status\": 400,\n    \"traceId\": \"00-75a5fe13791aa2b63cd207cb7d79fe56-0dd618bc21d2d58c-00\"\n}"},{"id":"6e00ffb6-6fc6-4791-a41f-bc82a42cc7ea","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":"//referral-codes/{{referralCode}}/validations"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Mon, 21 Apr 2025 05:50:12 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\""}],"cookie":[],"responseTime":null,"body":""},{"id":"d07af0e1-2f8a-416d-a980-710c1e097c73","name":"404 - NotFound","originalRequest":{"method":"GET","header":[],"url":"//referral-codes/{{referralCode}}/validations"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:48:19 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"referralCode - Not Found\"\n}"}],"_postman_id":"ac031687-3807-40fa-b804-110fb866c72d"}],"id":"5473c84d-21bf-4abd-bc1b-a7d1884374f6","description":"<p>Validate the referral codes (personal and influencer referral code) used on customer registration.</p>\n","_postman_id":"5473c84d-21bf-4abd-bc1b-a7d1884374f6"},{"name":"Transfer Reasons","item":[{"name":"get transfer reasons","id":"59cb769d-08ab-49da-a2ec-6b14aa770bc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":"//transfer-reasons","description":"<p>Gets list of transfer reasons</p>\n","urlObject":{"path":["transfer-reasons"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"3f7cd7bd-73fd-48b2-8e71-87c7999b2179","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":"/transfer-reasons"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"393"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 04 Jul 2025 13:42:15 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"7f250e09-1cda-4943-a33c-d7046c229b38\",\n        \"reason\": \"Gift\"\n    },\n    {\n        \"id\": \"8e78dd9c-61a3-4ef3-b535-cbc61fd34a11\",\n        \"reason\": \"Personal\"\n    },\n    {\n        \"id\": \"dfc8a6c2-1de4-43a4-9561-e5c0db703f16\",\n        \"reason\": \"Others\"\n    },\n    {\n        \"id\": \"79e2a5de-bf49-4e70-a1e4-25aa0a514e42\",\n        \"reason\": \"Subscription\"\n    },\n    {\n        \"id\": \"503d44d4-ab53-4020-8432-c36d414568d4\",\n        \"reason\": \"Experience\"\n    },\n    {\n        \"id\": \"c4b11fe4-f5dd-4df3-90cc-7498309671ca\",\n        \"reason\": \"Food\"\n    }\n]"},{"id":"14b5a3f2-81cb-4d6e-a80b-8b3edd22fb1d","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":"//transfer-reasons"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 04 Jul 2025 13:42:52 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"59cb769d-08ab-49da-a2ec-6b14aa770bc8"}],"id":"be23cdb3-013c-40b8-ad82-d03b380ec0bd","description":"<p>Gets client's transfer purposes</p>\n","_postman_id":"be23cdb3-013c-40b8-ad82-d03b380ec0bd"},{"name":"Challenges","item":[{"name":"search","id":"2eda562c-b37d-4d2b-b48c-a443509a12ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":"//challenges?loyaltyId=12121212&pageNumber=1&pageSize=10","description":"<p>Gets list of get all customer challenges. <strong>Mock API – for testing/integration only.</strong></p>\n","urlObject":{"path":["challenges"],"host":["/"],"query":[{"key":"loyaltyId","value":"12121212"},{"disabled":true,"key":"phoneNumber","value":""},{"disabled":true,"key":"uniqueIdentifier","value":""},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"disabled":true,"key":"challengeCategoryId","value":null}],"variable":[]}},"response":[{"id":"db12b08f-ceed-40c8-bcbe-28ab14801653","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"//challenges?pageNumber=1&phoneNumber=&uniqueIdentifier=&pageSize=10&loyaltyId=12121212","host":["/"],"path":["challenges"],"query":[{"key":"pageNumber","value":"1"},{"key":"phoneNumber","value":""},{"key":"uniqueIdentifier","value":""},{"key":"pageSize","value":"10"},{"key":"loyaltyId","value":"12121212"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 18 Jul 2025 11:37:08 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer"}],"cookie":[],"responseTime":null,"body":""},{"id":"3d06a218-72fa-4bfe-b8df-cad3e52e14c8","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"//challenges?pageNumber=1&pageSize=10&loyaltyId=12121212","host":["/"],"path":["challenges"],"query":[{"key":"pageNumber","value":"1"},{"key":"phoneNumber","value":"","disabled":true},{"key":"uniqueIdentifier","value":"","disabled":true},{"key":"pageSize","value":"10"},{"key":"loyaltyId","value":"12121212"},{"key":"challengeCategoryId","value":null,"disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"903"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 18 Jul 2025 11:38:18 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"items\": [\r\n        {\r\n            \"id\": \"6468b5dc-5dba-4461-9a32-18e74969eaa3\",\r\n            \"title\": \"Internaltional Transfer\",\r\n            \"iconUrl\": \"https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg\",\r\n            \"period\": \"Month\",\r\n            \"startDate\": \"2025-08-06T12:07:18.6170648Z\",\r\n            \"endDate\": \"2026-06-06T00:00:00Z\",\r\n            \"rewardNeons\": 1000.0,\r\n            \"customerRank\": 100,\r\n            \"challengeCategoryId\": \"444afe56-0da8-4f84-b540-ed50dfa671c0\"\r\n        },\r\n        {\r\n            \"id\": \"493638df-b855-42c4-ade3-4d86dbcdf7eb\",\r\n            \"title\": \"Refer 10 Friends\",\r\n            \"iconUrl\": \"https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg\",\r\n            \"period\": \"Week\",\r\n            \"startDate\": \"2025-08-11T12:07:18.6180499Z\",\r\n            \"endDate\": \"2026-06-06T00:00:00Z\",\r\n            \"rewardLabel\": \"Free Coffee\",\r\n            \"customerRank\": 20,\r\n            \"challengeCategoryId\": \"95e0ee04-fe3f-4111-8854-302861abdb5b\"\r\n        },\r\n        {\r\n            \"id\": \"2d564107-e0c7-49ea-a096-54166434e37c\",\r\n            \"title\": \"Summer Fitness Challenge\",\r\n            \"iconUrl\": \"https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg\",\r\n            \"period\": \"Month\",\r\n            \"startDate\": \"2025-08-06T12:07:18.6185985Z\",\r\n            \"endDate\": \"2025-11-06T00:00:00Z\",\r\n            \"rewardNeons\": 1000.0,\r\n            \"customerRank\": 50,\r\n            \"challengeCategoryId\": \"9d9c0a26-8770-4f0e-9a15-19ec6d43c188\"\r\n        }\r\n    ],\r\n    \"page\": 1,\r\n    \"pageSize\": 10,\r\n    \"totalCount\": 2,\r\n    \"hasNextPage\": false,\r\n    \"hasPreviousPage\": false\r\n}"}],"_postman_id":"2eda562c-b37d-4d2b-b48c-a443509a12ab"},{"name":"get challenge members","id":"e75d0d1b-2355-44ca-9784-6c1e069b5dce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"//challenges/{{challengeId}}/members?loyaltyId=12121212&IsActive=true","description":"<p>Gets leader board members of challenge. <strong>Mock API – for testing/integration only.</strong></p>\n","urlObject":{"path":["challenges","{{challengeId}}","members"],"host":["/"],"query":[{"key":"loyaltyId","value":"12121212"},{"key":"IsActive","value":"true"}],"variable":[]}},"response":[{"id":"b852e777-d8cc-4c57-9e23-627b6416ad04","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"//challenges/{{challengeId}}/members?loyaltyId=12121212","host":["/"],"path":["challenges","{{challengeId}}","members"],"query":[{"key":"loyaltyId","value":"12121212"},{"key":"IsActive","value":"true","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"991"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 07 Aug 2025 11:07:53 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Request-ID","value":"ffe556c7-40ef-45c4-ba56-4f97e106072f"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"customerId\": \"95296e67-3821-4d66-bfd8-7d74cb0a2bca\",\n        \"loyaltyId\": \"12345123\",\n        \"periodStartDate\": \"2025-07-07T11:07:54.0169623Z\",\n        \"periodEndDate\": \"2025-08-06T00:00:00Z\",\n        \"rank\": 3,\n        \"logoUrl\": \"https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg\",\n        \"value\": \"10 Transfers\",\n        \"challengePeriodId\": \"5ac673b6-fd7d-46c2-81aa-0131e7302cee\"\n    },\n    {\n        \"customerId\": \"cd187d0c-4bea-470b-8066-74433f65a91a\",\n        \"loyaltyId\": \"12345124\",\n        \"periodStartDate\": \"2025-06-07T00:00:00Z\",\n        \"periodEndDate\": \"2025-07-07T00:00:00Z\",\n        \"rank\": 1,\n        \"logoUrl\": \"https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg\",\n        \"value\": \"100 Transfers\",\n        \"challengePeriodId\": \"5fe0e986-e7aa-465a-ba04-2c60a60367ce\"\n    },\n    {\n        \"customerId\": \"77181684-e841-4d26-a481-035a89560729\",\n        \"loyaltyId\": \"12345125\",\n        \"periodStartDate\": \"2025-05-07T00:00:00Z\",\n        \"periodEndDate\": \"2025-06-06T00:00:00Z\",\n        \"rank\": 2,\n        \"logoUrl\": \"https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg\",\n        \"value\": \"80 Transfers\",\n        \"challengePeriodId\": \"c1bc2402-7613-49f4-96b9-d93a1c67ba7f\"\n    }\n]"},{"id":"f17b01d0-0607-4d97-8372-42f5be81ae72","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"//challenges/{{challengeId}}/members?loyaltyId=12121212","host":["/"],"path":["challenges","{{challengeId}}","members"],"query":[{"key":"loyaltyId","value":"12121212"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 18 Jul 2025 11:37:08 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e75d0d1b-2355-44ca-9784-6c1e069b5dce"},{"name":"get challenge period members","id":"3ec56b6e-7244-4787-99db-a157008eb84e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"//challenges/{{challengeId}}/periods/{{periodId}}/members?loyaltyId=12121212","description":"<p>Gets leader board members of expired challenge period. <strong>Mock API – for testing/integration only.</strong></p>\n","urlObject":{"path":["challenges","{{challengeId}}","periods","{{periodId}}","members"],"host":["/"],"query":[{"key":"loyaltyId","value":"12121212"}],"variable":[]}},"response":[{"id":"e1381625-c4fa-4a49-987a-a9fa35b3b056","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"//challenges/{{challengeId}}/periods/{{periodId}}/members?loyaltyId=12121212","host":["/"],"path":["challenges","{{challengeId}}","periods","{{periodId}}","members"],"query":[{"key":"loyaltyId","value":"12121212"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"1353"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 07 Aug 2025 11:26:25 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Request-ID","value":"3e8a6c7a-504f-4fac-9226-56b2c3fbe2bb"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"periodStartDate\": \"2025-07-07T11:26:25.8390418Z\",\n    \"periodEndDate\": \"2025-08-06T00:00:00Z\",\n    \"participants\": [\n        {\n            \"customerId\": \"b60378bd-c449-44cb-8d52-c0d8532d4bfd\",\n            \"loyaltyId\": \"12345123\",\n            \"rank\": 1,\n            \"logoUrl\": \"https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg\",\n            \"value\": \"100\"\n        },\n        {\n            \"customerId\": \"72566f55-9b81-4ee4-bb76-31de569a4774\",\n            \"loyaltyId\": \"12345124\",\n            \"rank\": 2,\n            \"logoUrl\": \"https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg\",\n            \"value\": \"80\"\n        },\n        {\n            \"customerId\": \"cbba04d4-1ad0-4274-8381-9f6ea0239def\",\n            \"loyaltyId\": \"12345125\",\n            \"rank\": 3,\n            \"logoUrl\": \"https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg\",\n            \"value\": \"50\"\n        },\n        {\n            \"customerId\": \"19cb7a9e-2562-4891-a9fb-02bab453811e\",\n            \"loyaltyId\": \"12345126\",\n            \"rank\": 4,\n            \"logoUrl\": \"https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg\",\n            \"value\": \"40\"\n        },\n        {\n            \"customerId\": \"0541bf2c-112c-481a-8930-8fea7b4e120f\",\n            \"loyaltyId\": \"12345126\",\n            \"rank\": 5,\n            \"logoUrl\": \"https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg\",\n            \"value\": \"30\"\n        },\n        {\n            \"customerId\": \"77931e89-3160-467d-a279-606e74e31a7d\",\n            \"loyaltyId\": \"12345126\",\n            \"rank\": 6,\n            \"logoUrl\": \"https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg\",\n            \"value\": \"20\"\n        },\n        {\n            \"customerId\": \"2ee345cb-71fd-494c-93c9-5b962cdad438\",\n            \"loyaltyId\": \"12345126\",\n            \"rank\": 7,\n            \"logoUrl\": \"https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg\",\n            \"value\": \"10\"\n        }\n    ]\n}"},{"id":"c44b167a-c4cf-4480-82e1-e97f90c342cf","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"//challenges/{{challengeId}}/periods/{{periodId}}/members?loyaltyId=12121212","host":["/"],"path":["challenges","{{challengeId}}","periods","{{periodId}}","members"],"query":[{"key":"loyaltyId","value":"12121212"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 18 Jul 2025 11:37:08 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3ec56b6e-7244-4787-99db-a157008eb84e"}],"id":"d57159bd-d617-49da-84aa-42c60f8edfc9","description":"<p>This section contains API endpoints related to challenges</p>\n","_postman_id":"d57159bd-d617-49da-84aa-42c60f8edfc9"},{"name":"Transaction Limits","item":[{"name":"get transfer transaction limits","id":"fdc4cfa8-ffb0-456d-b748-c198cc9816a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":"//transfer-transaction-limits","description":"<p>Gets transfer transaction limits</p>\n","urlObject":{"path":["transfer-transaction-limits"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"c150d0d7-8588-4550-bdd5-f7ff67a5a68b","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"//transfer-transaction-limits"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"2256"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 30 May 2025 06:59:07 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n  \"minimumLimit\": 10.0,\n  \"maximumLimit\": 1000.0,\n  \"monthlyLimit\": 5000.0\n}"},{"id":"ca1f6991-4977-487b-9dd1-11e35108c76d","name":"404 - NotFound","originalRequest":{"method":"GET","header":[],"url":"//transfer-transaction-limits"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 30 May 2025 07:03:24 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"TransactionLimit - Not Found\"\n}"},{"id":"f386efb2-d41b-476f-8d40-d8afef877154","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"url":"//transfer-transaction-limits"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 30 May 2025 07:00:56 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The signature key was not found\""}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"fdc4cfa8-ffb0-456d-b748-c198cc9816a3"}],"id":"58c66351-283e-4dba-855c-ee35c754e516","description":"<p>This section contains API endpoints related to getting transaction limits.</p>\n","_postman_id":"58c66351-283e-4dba-855c-ee35c754e516"},{"name":"Merchants & Categories","item":[{"name":"get Ranked merchants","id":"16cb0949-bd35-4d31-85ad-fb3f8a1cbb98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":"//merchants?pageNumber=1&pageSize=10&categoryId=&search=","description":"<p>Gets list of ranked merchants based on client Id</p>\n<p>You can refine the results using the following filter:</p>\n<ul>\n<li><strong><code>search</code></strong> – Search by <strong>merchant name and merchant category name</strong></li>\n</ul>\n","urlObject":{"path":["merchants"],"host":["/"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"categoryId","value":""},{"key":"search","value":""}],"variable":[]}},"response":[{"id":"3f74766a-bfff-45ef-9c8d-25172c492506","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"","type":"string"}],"url":{"raw":"//merchants?pageNumber=1&pageSize=10&categoryId=&search=","host":["/"],"path":["merchants"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"categoryId","value":""},{"key":"search","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"235"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 11:48:51 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n  \"items\": [\n    {\n      \"id\": \"01962f9c-728d-70d1-98a4-5aa6b48780a9\",\n      \"name\": \"A2b\",\n      \"merchantLogoUrl\": \"https://example.com/logo.png\",\n      \"merchantBannerURL\": \"https://example.com/banner.png\",\n      \"merchantCategoryId\": \"01962f9b-d94a-73af-ac27-708b82e61ffb\",\n      \"merchantCategoryName\": \"food\",\n      \"rank\": 1\n    }\n  ],\n  \"page\": 1,\n  \"pageSize\": 10,\n  \"totalCount\": 1,\n  \"hasNextPage\": false,\n  \"hasPreviousPage\": false\n}"},{"id":"e63568ab-95fd-4ee4-9f2b-96ae61a66a6b","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//merchants?pageNumber=1&pageSize=10&categoryId=","host":["/"],"path":["merchants"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"categoryId","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"280"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 11:50:32 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"clientId\": [\n            \"The value 'd951635f-747f-4c43-b8e8-4b175081465' is not valid.\"\n        ]\n    },\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n    \"title\": \"One or more validation errors occurred.\",\n    \"status\": 400,\n    \"traceId\": \"00-a8c11055f2af8a998c04dd5b937fdbbe-56f802edd1b01519-00\"\n}"},{"id":"1559f753-af47-4509-b44c-760c7906fcc5","name":"406 - NotAcceptable","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//merchants?pageNumber=1&pageSize=10&categoryId=","host":["/"],"path":["merchants"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"categoryId","value":""}]}},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 11:46:01 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Acceptable\",\n    \"status\": 406,\n    \"detail\": \"The language code is not supported\"\n}"},{"id":"afbb8642-274e-4e16-ad92-806b7651097c","name":"404 - NotFound","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//merchants?pageNumber=1&pageSize=10&categoryId=","host":["/"],"path":["merchants"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"categoryId","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Mon, 21 Apr 2025 09:44:32 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"merchant - Not Found\"\n}"}],"_postman_id":"16cb0949-bd35-4d31-85ad-fb3f8a1cbb98"},{"name":"get categories with top ranked merchants","id":"ed104904-7991-4e0c-bbbd-0f721df32b87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":"//categories-with-ranked-merchants?top=5&categoryId=&search=","description":"<p>Gets list of categories with top ranked merchants based on client Id.</p>\n<p>You can refine the results using the following filter:</p>\n<ul>\n<li><strong><code>search</code></strong> – Search by <strong>merchant name and merchant category name</strong></li>\n<li><strong><code>categoryId</code></strong> – Search by Id of <strong>merchant category</strong></li>\n<li><strong><code>top</code></strong> – Limits the number of top-ranked merchants returned. For example, top=5 returns the top 5 ranked merchants. If not specified, all matching ranked merchants are returned</li>\n</ul>\n","urlObject":{"path":["categories-with-ranked-merchants"],"host":["/"],"query":[{"key":"top","value":"5"},{"key":"categoryId","value":""},{"key":"search","value":""}],"variable":[]}},"response":[{"id":"395ed7ce-9c6d-4b25-81bd-824c423aa9a6","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"","type":"string"}],"url":{"raw":"//categories-with-ranked-merchants?top=5&categoryId=&search=","host":["/"],"path":["categories-with-ranked-merchants"],"query":[{"key":"top","value":"5"},{"key":"categoryId","value":""},{"key":"search","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"235"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 11:48:51 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"0197e4a2-0915-7b97-b1a5-ac6ac9e0ea2d\",\n    \"name\": \"Food\",\n    \"iconUrl\": \"https://example.com/food-icon.png\",\n    \"merchants\": [\n      {\n        \"id\": \"0197e96e-bbfa-7612-b5bc-69504ec5ac3e\",\n        \"name\": \"MacD\",\n        \"merchantLogoUrl\": \"https://example.com/macd-logo.png\",\n        \"merchantBannerURL\": \"https://example.com/macd-banner.png\",\n        \"rank\": 1\n      },\n      {\n        \"id\": \"0197e96e-da86-7392-8621-507871a97035\",\n        \"name\": \"MacD1\",\n        \"merchantLogoUrl\": \"https://example.com/macd1-logo.png\",\n        \"merchantBannerURL\": \"https://example.com/macd1-banner.png\",\n        \"rank\": 2\n      },\n      {\n        \"id\": \"0197e4a3-0ca4-7619-87e1-4078e3f25c36\",\n        \"name\": \"Starbucks\",\n        \"merchantLogoUrl\": \"https://example.com/starbucks-logo.png\",\n        \"merchantBannerURL\": \"https://example.com/starbucks-banner.png\",\n        \"rank\": 4\n      }\n    ]\n  },\n  {\n    \"id\": \"0197d17e-17cf-7d59-9d2c-bcc922faaf4c\",\n    \"name\": \"Transportation\",\n    \"iconUrl\": \"https://example.com/transport-icon.png\",\n    \"merchants\": [\n      {\n        \"id\": \"0197e979-7226-7594-8bd5-a612d3b9106a\",\n        \"name\": \"car\",\n        \"merchantLogoUrl\": \"https://example.com/car-logo.png\",\n        \"merchantBannerURL\": \"https://example.com/car-banner.png\",\n        \"rank\": 1\n      }\n    ]\n  }\n]"},{"id":"e402ed03-d8e1-4aba-af36-72db20fc4408","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//categories-with-ranked-merchants?top=5&categoryId=&search=","host":["/"],"path":["categories-with-ranked-merchants"],"query":[{"key":"top","value":"5"},{"key":"categoryId","value":""},{"key":"search","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"280"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 11:50:32 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"clientId\": [\n            \"The value 'd951635f-747f-4c43-b8e8-4b175081465' is not valid.\"\n        ]\n    },\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n    \"title\": \"One or more validation errors occurred.\",\n    \"status\": 400,\n    \"traceId\": \"00-a8c11055f2af8a998c04dd5b937fdbbe-56f802edd1b01519-00\"\n}"},{"id":"b4434f4a-4288-4d97-8554-9f3d5a3f849a","name":"406 - NotAcceptable","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//categories-with-ranked-merchants?top=5&categoryId=&search=","host":["/"],"path":["categories-with-ranked-merchants"],"query":[{"key":"top","value":"5"},{"key":"categoryId","value":""},{"key":"search","value":""}]}},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 11:46:01 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Acceptable\",\n    \"status\": 406,\n    \"detail\": \"The language code is not supported\"\n}"}],"_postman_id":"ed104904-7991-4e0c-bbbd-0f721df32b87"},{"name":"get merchant categories","id":"6e860408-1624-491d-a541-e496ffecc062","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":"//merchant-categories?pageNumber=1&pageSize=10&search=","description":"<p>Search list of merhcant categories based on Client Id</p>\n<p>You can refine the results using the following optional filters :</p>\n<ul>\n<li><strong><code>search</code></strong> – Search by <strong>merchant category name</strong></li>\n</ul>\n","urlObject":{"path":["merchant-categories"],"host":["/"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"search","value":""}],"variable":[]}},"response":[{"id":"37117da8-05a7-4874-8dbf-c66c3569fee9","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//merchant-categories?pageNumber=1&pageSize=10&search=","host":["/"],"path":["merchant-categories"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"search","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"149"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 11:43:41 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": \"01962f9b-d94a-73af-ac27-708b82e61ffb\",\n            \"name\": \"food\",\n            \"description\": \"A variety of food items\"\n        }\n    ],\n    \"page\": 1,\n    \"pageSize\": 10,\n    \"totalCount\": 1,\n    \"hasNextPage\": false,\n    \"hasPreviousPage\": false\n}"},{"id":"225ffdd1-8af3-48f9-a5c6-7e8bdb759a1a","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//merchant-categories?pageNumber=1&pageSize=10","host":["/"],"path":["merchant-categories"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"280"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 11:59:33 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"clientId\": [\n            \"The value 'd951635f-747f-4c43-b8e8-4b175081465' is not valid.\"\n        ]\n    },\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n    \"title\": \"One or more validation errors occurred.\",\n    \"status\": 400,\n    \"traceId\": \"00-cf1464522f46f176d805d4de14c43b4e-3a5763d5f1129f43-00\"\n}"},{"id":"ed0a79b5-1290-4efc-9abb-f04d2e65c685","name":"406 - NotAcceptable","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//merchant-categories?pageNumber=1&pageSize=10","host":["/"],"path":["merchant-categories"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"}]}},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 11:41:22 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Acceptable\",\n    \"status\": 406,\n    \"detail\": \"The language code is not supported\"\n}"},{"id":"1a1f09dd-3ec4-445f-839b-3d7ed1835bce","name":"404 - NotFound","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//merchant-categories?pageNumber=1&pageSize=10","host":["/"],"path":["merchant-categories"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Mon, 21 Apr 2025 12:00:24 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"merchantcategory - Not Found\"\n}"}],"_postman_id":"6e860408-1624-491d-a541-e496ffecc062"}],"id":"c58ed4b9-b895-4f00-b04d-5426ecdd34c2","description":"<p>This section contains API endpoints related to merchants. Merchants are the stores who will be providing the rewards and offer for the customers.</p>\n<p>Merchant is an external business entity registered within the platform that offers rewards to the marketplace so that end-users and can purchase them using points from their balance.</p>\n","_postman_id":"c58ed4b9-b895-4f00-b04d-5426ecdd34c2"},{"name":"Evaluation","item":[{"name":"evaluate recommendation","id":"1472c83a-3799-4ad0-a628-ccb77436dc5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"accountId\": null,\n    \"ruleId\": null,\n    \"request\": {\n        \"TransactionAmount\": \"500\"\n    },\n    \"uniqueIdentifier\": \"5623R34F\",\n    \"loyaltyId\": null,\n    \"phoneNumber\": null\n}","options":{"raw":{"language":"json"}}},"url":"//recommendations/{{recommendationId}}/evaluations","description":"<p>Evaluates all recommendation rules for a certain recommendation based on a set of params or stored actions done by the customer</p>\n<h3 id=\"key-concepts\">Key Concepts</h3>\n<p>A <strong>recommendation</strong> is a container of one or more rules (Elsa workflows) that determine how a customer earns <strong>Neons</strong>. When this endpoint is called:</p>\n<ul>\n<li><p>All rules under the recommendation are evaluated.</p>\n</li>\n<li><p>One or more rules may award Neons simultaneously, depending on the customer’s context and actions.</p>\n</li>\n</ul>\n<h3 id=\"how-it-works\">How It Works</h3>\n<ol>\n<li><p><strong>Input Context</strong></p>\n<ol>\n<li><p>The request body provides the customer identifiers and relevant attributes (e.g., transaction amount).</p>\n</li>\n<li><p>Example<br /> {<br /> \"accountId\": null,<br /> \"ruleId\": null,<br /> \"request\":<br /> {<br /> \"TransactionAmount\": \"500\"<br /> },<br /> \"uniqueIdentifier\": \"5623R34F\",<br /> \"loyaltyId\": null,<br /> \"phoneNumber\": null<br /> }</p>\n</li>\n</ol>\n</li>\n<li><p><strong>Rule Evaluation (Elsa workflow)</strong></p>\n<ol>\n<li><p>Each rule checks conditions against the customer’s <strong>action history</strong> and the provided <strong>request context</strong>.</p>\n</li>\n<li><p>Elsa workflows can use custom components such as:</p>\n<ul>\n<li><p><code>filterby</code>, <code>groupby</code>, <code>sum</code>, <code>count</code>, <code>min</code>, <code>max</code>, <code>average</code></p>\n</li>\n<li><p><code>parameter condition</code> (text, boolean, number, list)</p>\n</li>\n<li><p><code>reward</code> (mandatory in every rule)</p>\n</li>\n</ul>\n</li>\n</ol>\n</li>\n<li><p><strong>Evaluation Modes</strong></p>\n<ul>\n<li><p><strong>On-Demand (API-triggered)</strong> → Call directly after key events (checkout, bill payment).</p>\n</li>\n<li><p><strong>Scheduled</strong> → Run periodically for segments or all customers.</p>\n</li>\n<li><p><strong>Event-Triggered by Action Type</strong> → Auto-trigger on specific logged actions (e.g., transaction, login).</p>\n</li>\n</ul>\n</li>\n</ol>\n<p><strong>Note:</strong></p>\n<p>Payload must include all fields referenced in your rules (e.g., <code>transactionAmount</code>) so rewards can be calculated correctly.</p>\n","urlObject":{"path":["recommendations","{{recommendationId}}","evaluations"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"e78011ee-69d9-4f53-99b5-4696738be35d","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"accountId\": null,\n    \"ruleId\": null,\n    \"request\": {\n        \"TransactionAmount\": \"500\"\n    },\n    \"uniqueIdentifier\": \"5623R34F\",\n    \"loyaltyId\": null,\n    \"phoneNumber\": null\n}","options":{"raw":{"language":"json"}}},"url":"//recommendations/{{recommendationId}}/evaluations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"customerName\": \"Kyleigh Hilpert\",\r\n    \"recommendationId\": \"e5ebb20c-6543-4c06-9b02-a2200d067d3c\",\r\n    \"recommendationTitle\": \"Earn points for 10000m walk\",\r\n    \"balance\": 10,\r\n    \"earnedNeons\": 10.0,\r\n    \"matchedRules\": [\r\n        {\r\n            \"ruleId\": \"857f0f97-ffec-4d0c-938d-95d1c509b0f8\",\r\n            \"ruleTitle\": \"Rule 1\",\r\n            \"rewards\": [\r\n                {\r\n                    \"transactionId\": \"02b2b5e8-4822-4d8b-b9c7-82a8afe60318\",\r\n                    \"rewardId\": \"25fa2fc4-f65f-4a3c-a5b1-728045cb511c\",\r\n                    \"rewardLabel\": \"test customer lable\",\r\n                    \"rewardPoints\": 10.0\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"unmatchedRules\": [],\r\n    \"errorMessages\": []\r\n}"},{"id":"cab3e166-566e-44fc-912d-18de9a7153bd","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"accountId\": null,\n    \"ruleId\": null,\n    \"request\": {\n        \"TransactionAmount\": \"500\"\n    },\n    \"uniqueIdentifier\": \"5623R34F\",\n    \"loyaltyId\": null,\n    \"phoneNumber\": null\n}","options":{"raw":{"language":"json"}}},"url":"//recommendations/{{recommendationId}}/evaluations"},"status":"- Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"199c4577-1fde-430f-9d7c-0f6d93b7922e","name":"404 - NotFound","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"accountId\": null,\n    \"ruleId\": null,\n    \"request\": {\n        \"TransactionAmount\": \"500\"\n    },\n    \"uniqueIdentifier\": \"5623R34F\",\n    \"loyaltyId\": null,\n    \"phoneNumber\": null\n}","options":{"raw":{"language":"json"}}},"url":"//recommendations/{{recommendationId}}/evaluations"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Found\",\r\n    \"status\": 404,\r\n    \"detail\": \"recommendation - Not Found\"\r\n}"},{"id":"a1c3ab34-2605-4d49-b6e1-fb009f7846d9","name":"400 - BadRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"accountId\": null,\n    \"ruleId\": null,\n    \"request\": {\n        \"TransactionAmount\": \"500\"\n    },\n    \"uniqueIdentifier\": \"5623R34F\",\n    \"loyaltyId\": null,\n    \"phoneNumber\": null\n}","options":{"raw":{"language":"json"}}},"url":"//recommendations/{{recommendationId}}/evaluations"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"RecommendationId is required\"\n        }\n    ]\n}"},{"id":"8a2782fd-e240-469c-8168-2e528501b68d","name":"404 - NotFound","originalRequest":{"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"accountId\": null,\n    \"ruleId\": \"d2a028b4-2a32-4829-8f6f-a4780b44b1b9\",\n    \"request\": {\n        \"TransactionAmount\": \"500\"\n    },\n    \"uniqueIdentifier\": \"5623R34L\",\n    \"loyaltyId\": null,\n    \"phoneNumber\": null\n}","options":{"raw":{"language":"json"}}},"url":"//recommendations/{{recommendationId}}/evaluations"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 15 Jul 2025 06:15:37 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Rule - Not Found\"\n}"}],"_postman_id":"1472c83a-3799-4ad0-a628-ccb77436dc5a"},{"name":"register with evaluate recommendation","id":"c055db97-5465-4d07-9c9b-c755d218307f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"ruleId\": null,\n    \"request\": {\n        \"TransactionAmount\": \"500\"\n    },\n    \"phoneNumber\": null\n}","options":{"raw":{"language":"json"}}},"url":"//recommendations/{{recommendationId}}/registrations-with-evaluations","description":"<p>Evaluates all recommendation rules for a certain recommendation based on a set of params or stored actions done by the customer</p>\n","urlObject":{"path":["recommendations","{{recommendationId}}","registrations-with-evaluations"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"a881b0b3-3f9e-4637-9069-883eea4089a4","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"ruleId\": null,\n    \"request\": {\n        \"TransactionAmount\": \"500\"\n    },\n    \"phoneNumber\": null\n}","options":{"raw":{"language":"json"}}},"url":"//recommendations/{{recommendationId}}/registrations-with-evaluations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"loyaltyId\": \"90000004\",\r\n    \"recommendationId\": \"e5ebb20c-6543-4c06-9b02-a2200d067d3c\",\r\n    \"recommendationTitle\": \"Earn points for 10000m walk\",\r\n    \"balance\": 10,\r\n    \"earnedNeons\": 10.0,\r\n    \"matchedRules\": [\r\n        {\r\n            \"ruleId\": \"857f0f97-ffec-4d0c-938d-95d1c509b0f8\",\r\n            \"ruleTitle\": \"Rule 1\",\r\n            \"rewards\": [\r\n                {\r\n                    \"transactionId\": \"f556bfa5-46a8-4c2b-ab84-9489deb47502\",\r\n                    \"rewardId\": \"25fa2fc4-f65f-4a3c-a5b1-728045cb511c\",\r\n                    \"rewardLabel\": \"test customer lable\",\r\n                    \"rewardPoints\": 10.0\r\n                }\r\n            ]\r\n        }\r\n    ],\r\n    \"unmatchedRules\": [],\r\n    \"errorMessages\": []\r\n}"},{"id":"415e9bbe-71be-4d56-a504-0a8ddf06c04f","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"ruleId\": null,\n    \"request\": {\n        \"TransactionAmount\": \"500\"\n    },\n    \"phoneNumber\": null\n}","options":{"raw":{"language":"json"}}},"url":"//recommendations/{{recommendationId}}/registrations-with-evaluations"},"status":"- Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"fa59bdd6-bb8c-4759-b816-26c3e9d7b517","name":"404 - NotFound","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"ruleId\": null,\n    \"request\": {\n        \"TransactionAmount\": \"500\"\n    },\n    \"phoneNumber\": null\n}","options":{"raw":{"language":"json"}}},"url":"//recommendations/{{recommendationId}}/registrations-with-evaluations"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Found\",\r\n    \"status\": 404,\r\n    \"detail\": \"recommendation - Not Found\"\r\n}"},{"id":"d1f64d5c-b642-4446-8f52-a94db105b227","name":"400 - BadRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"ruleId\": null,\n    \"request\": {\n        \"TransactionAmount\": \"500\"\n    },\n    \"phoneNumber\": null\n}","options":{"raw":{"language":"json"}}},"url":"//recommendations/{{recommendationId}}/registrations-with-evaluations"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"RecommendationId is required\"\n        }\n    ]\n}"},{"id":"63b9fd0f-6cdf-4311-bebd-62cb73e194d6","name":"404 - NotFound","originalRequest":{"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"ruleId\": null,\n    \"request\": {\n        \"TransactionAmount\": \"500\"\n    },\n    \"phoneNumber\": null\n}","options":{"raw":{"language":"json"}}},"url":"//recommendations/{{recommendationId}}/registrations-with-evaluations"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 15 Jul 2025 06:15:37 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Rule - Not Found\"\n}"}],"_postman_id":"c055db97-5465-4d07-9c9b-c755d218307f"},{"name":"log customer action","id":"d9e3ee04-e03e-49b4-8fb5-1fe31e36e3f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"uniqueIdentifier\" : \"5623R34F\",\r\n    \"loyaltyId\":null,\r\n    \"phoneNumber\": null,\r\n    \"actionType\": \"Onboarding\",\r\n    \"actionDate\" : \"2025-06-05 10:49:18.556453+05:30\",\r\n    \"request\": {\r\n        \"KPIItems\": {\r\n            \"kPI\": \"transaction\",\r\n            \"amount\": \"2000\",\r\n            \"category\": \"Card\",\r\n            \"action\": \"Pay\",\r\n            \"cardType\": \"Global\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"//actions","description":"<p>Creates customer action.</p>\n<p>Clients have the flexibility to define any actionType and add as many KPIItems as long as they follow a key/value structure.</p>\n<p>These actions are used within the client portal to configure customer earning rules.</p>\n<h3 id=\"action-logging--using-action-history-in-rules\">Action Logging &amp; Using Action History in Rules</h3>\n<p>As an integration client, you should log customer actions to the platform through the <strong>Integration Gateway</strong> (e.g., <code>transaction</code>, <code>login</code>, <code>referral_used</code>, or other domain-specific KPIs).</p>\n<p>These logged actions are stored in the <strong>Actions table</strong>, which is then used by the recommendation engine (Elsa workflows) during evaluation.</p>\n<p>You should log actions with attributes such as:</p>\n<ul>\n<li><p><strong>Action attributes</strong>: <code>actionType</code>, <code>date/time</code>, <code>amount</code>, <code>merchantId</code>, etc.</p>\n</li>\n<li><p><strong>Customer attributes/identifiers</strong> included in the evaluation request.</p>\n</li>\n</ul>\n<p>This enables campaign logic like:</p>\n<ul>\n<li><p>“Count of transactions in the last 7 days ≥ 7 → award 100 Neons.”</p>\n</li>\n<li><p>“Sum of transactionAmount today ≥ 200 SAR → award 1× per SAR.”</p>\n</li>\n</ul>\n","urlObject":{"path":["actions"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"d33c4b6b-0fde-4929-a84b-956890e0237c","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"uniqueIdentifier\" : \"5623R34L\",\r\n    \"loyaltyId\":null,\r\n    \"phoneNumber\": null,\r\n    \"actionType\": \"testAction\",\r\n    \"request\": {\r\n        \"actionDate\" : \"2025-07-01 23:00:00.556453+05:30\",\r\n        \"KPIItems\": {\r\n            \"kPI\": \"transaction\",\r\n            \"amount\": \"2000\",\r\n            \"category\": \"Card\",\r\n            \"action\": \"Pay\",\r\n            \"cardType\": \"Global\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"//actions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"221"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 15 Jul 2025 06:09:00 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"01980cb3-6832-755c-af1e-61e9b17b3634\",\n    \"actionDate\": \"2025-07-01T23:00:00.556453+05:30\",\n    \"actionType\": \"testAction\",\n    \"kpiItems\": {\n        \"kPI\": \"transaction\",\n        \"amount\": \"2000\",\n        \"category\": \"Card\",\n        \"action\": \"Pay\",\n        \"cardType\": \"Global\"\n    }\n}"},{"id":"3979275e-bda4-44cf-afd9-cd343c02531a","name":"400 - BadRequest","originalRequest":{"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"uniqueIdentifier\" : \"5623R34L\",\r\n    \"loyaltyId\":null,\r\n    \"phoneNumber\": null,\r\n    \"actionType\": \"testAction\",\r\n    \"request\": {\r\n        \"actionDate\" : \"2025-07-17 23:00:00.556453+05:30\",\r\n        \"KPIItems\": {\r\n            \"kPI\": \"transaction\",\r\n            \"amount\": \"2000\",\r\n            \"category\": \"Card\",\r\n            \"action\": \"Pay\",\r\n            \"cardType\": \"Global\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"//actions"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 15 Jul 2025 06:10:06 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"Action date can not be in the future\"\n        }\n    ]\n}"},{"id":"5d1ede4c-2bac-46a4-8edc-3eaff0764864","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"uniqueIdentifier\" : \"5623R34F\",\r\n    \"loyaltyId\":null,\r\n    \"phoneNumber\": null,\r\n    \"actionType\": \"Onboarding\",\r\n    \"request\": {\r\n        \"KPIItems\": {\r\n            \"kPI\": \"transaction\",\r\n            \"amount\": \"2000\",\r\n            \"category\": \"Card\",\r\n            \"action\": \"Pay\",\r\n            \"cardType\": \"Global\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"//actions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 22 Apr 2025 09:51:16 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '04/22/2025 04:52:23'\""}],"cookie":[],"responseTime":null,"body":""},{"id":"dd8e7011-72af-4851-bf5c-3ed5913edd8d","name":"404 - NotFound","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"uniqueIdentifier\" : \"5623R34F\",\r\n    \"loyaltyId\":null,\r\n    \"phoneNumber\": null,\r\n    \"actionType\": \"Onboarding\",\r\n    \"request\": {\r\n        \"KPIItems\": {\r\n            \"kPI\": \"transaction\",\r\n            \"amount\": \"2000\",\r\n            \"category\": \"Card\",\r\n            \"action\": \"Pay\",\r\n            \"cardType\": \"Global\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"//actions"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"customer - Not Found\"\n}"},{"id":"b3ff8ad8-1176-4d09-a843-dc6f104f35ef","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\": 92292826,\r\n    \"actionType\": \"testAction\",\r\n    \"request\": {\r\n        \"actionDate\" : \"2025-07-01 23:00:00.556453+05:30\",\r\n        \"KPIItems\": {\r\n            \"kPI\": \"transaction\",\r\n            \"amount\": \"2000\",\r\n            \"category\": \"Card\",\r\n            \"action\": \"Pay\",\r\n            \"cardType\": \"Global\"\r\n        },\r\n        \"translationdetails\" : {\r\n          \"location\": {\r\n                \"label\": {\r\n                    \"en\": \"Location\",\r\n                    \"ar\": \"الموقع\"\r\n                },\r\n          \"value\": {\r\n                \"en\": \"Jeddah\",\r\n                \"ar\": \"جدة\"\r\n                }\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"//actions"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"336"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 29 Dec 2025 13:07:49 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-Id","value":"927d34f2-507f-4bc2-a6e3-60599545caff"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"87cc31ed-c0f7-4dfd-2428-08de46db3ec0\",\n    \"actionDate\": \"2025-12-29T13:07:36.5610122Z\",\n    \"actionType\": \"testAction\",\n    \"kpiItems\": {\n        \"kPI\": \"transaction\",\n        \"amount\": \"2000\",\n        \"category\": \"Card\",\n        \"action\": \"Pay\",\n        \"cardType\": \"Global\"\n    },\n    \"translationDetail\": {\n        \"location\": {\n            \"label\": {\n                \"en\": \"Location\",\n                \"ar\": \"Ø§Ù„Ù…ÙˆÙ‚Ø¹\"\n            },\n            \"value\": {\n                \"en\": \"Jeddah\",\n                \"ar\": \"Ø¬Ø¯Ø©\"\n            }\n        }\n    }\n}"}],"_postman_id":"d9e3ee04-e03e-49b4-8fb5-1fe31e36e3f2"}],"id":"92ce1f0d-fb8f-4170-868e-590a621ce63f","description":"<p>This section contains API endpoints related to evaluating recommendations for customers.</p>\n<p>We use Elsa workflows for recommandation management.</p>\n","_postman_id":"92ce1f0d-fb8f-4170-868e-590a621ce63f"},{"name":"Rewards","item":[{"name":"get client reward","id":"6043d811-1931-455a-973b-35990349c4c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":"//clients/{{clientId}}/rewards/{{rewardId}}","description":"<p>Gets client reward details</p>\n","urlObject":{"path":["clients","{{clientId}}","rewards","{{rewardId}}"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"e5741fc4-d415-4d07-ba0b-8118879df3af","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":"//clients/{{clientId}}/rewards/{{rewardId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"844"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:42:18 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"d91cef9d-3af6-4ae0-da54-08ddf52197dc\",\n    \"name\": \"Special 10% off\",\n    \"status\": \"Active\",\n    \"description\": \"Enjoy Extra 10% off\",\n    \"minPurchaseAmount\": 0.00,\n    \"maxPurchaseAmount\": 0.00,\n    \"percentage\": 0.0,\n    \"merchantId\": \"03923b2e-a008-4632-43b2-08ddf51e975a\",\n    \"issueVoucherFrom\": \"2025-09-16T13:03:00Z\",\n    \"redemptionVoucherFrom\": \"2025-09-16T13:03:00Z\",\n    \"itemPricePoints\": 10000.00,\n    \"isUnlimitedRedemption\": true,\n    \"voucherNumberPerCustomer\": 0,\n    \"periodPerDays\": 0,\n    \"merchantName\": \"McD\",\n    \"merchantCategoryName\": \"Food\",\n    \"merchantLogoUrl\": \"https://storage.googleapis.com/neons-stg-images-bucket/public/40213ad1-3fda-485e-9c36-3baf7ce1926c.jpg\",\n    \"bannerImageId\": \"daa60b15-4628-40ce-ca8c-08ddf5219e7c\",\n    \"bannerImageUrl\": \"https://storage.googleapis.com/neons-stg-images-bucket/public/73cbc00a-228f-4e8e-aac0-73d5bcf0bb89.jpg\",\n    \"voucherSource\": \"External\",\n    \"voucherType\": [\n        \"Pin\"\n    ],\n    \"redemptionType\": [\n        \"Online\"\n    ],\n    \"rewardRedemptionSteps\": [],\n    \"isHotOffer\": false,\n    \"rewardType\": \"FreeItem\",\n    \"isGiftCardRange\": false,\n    \"currencyId\": \"afa42df1-0709-47ec-ae4c-08ddf4372f44\",\n    \"itemValue\": 10.00,\n    \"discountAmount\": 0.00,\n    \"discountPercentage\": 0.00,\n    \"isEligibleForReferrals\": false\n}"},{"id":"63209cf2-46ed-46fb-8265-068cb448cacb","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":"//clients/{{clientId}}/rewards/{{rewardId}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"282"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:43:02 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"MerchantId required\"\n        }\n    ]\n}"},{"id":"cc379720-ab71-4b1f-b2f4-8f75c72ac346","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":"//clients/{{clientId}}/rewards/{{rewardId}}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 22 Apr 2025 09:50:36 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '04/22/2025 04:52:23'\""}],"cookie":[],"responseTime":null,"body":""},{"id":"5a3fb095-9a0f-43d6-821e-42476b55f139","name":"406 - NotAcceptable","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":"//clients/{{clientId}}/rewards/{{rewardId}}"},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:41:18 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Acceptable\",\n    \"status\": 406,\n    \"detail\": \"The language code is not supported\"\n}"},{"id":"3ebe61c0-c66e-41d7-857c-bf7f283b1545","name":"404 - NotFound","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":"//clients/{{clientId}}/rewards/{{rewardId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Found\",\r\n    \"status\": 404,\r\n    \"detail\": \"client - Not Found\"\r\n}"}],"_postman_id":"6043d811-1931-455a-973b-35990349c4c5"},{"name":"get merchant rewards","id":"7dcdcb73-5ade-4523-8aba-149a9915593d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":"//merchants/{{merchantId}}/rewards?pageNumber=1&pageSize=10&search","description":"<p>Search the list of merchant rewards.</p>\n<p>You can use the following optional query parameter to filter results:</p>\n<ul>\n<li><strong><code>search</code></strong> – Search by reward name in either <strong>English</strong> (<code>NameEn</code>) or <strong>Arabic</strong> (<code>NameAr</code>)</li>\n</ul>\n","urlObject":{"path":["merchants","{{merchantId}}","rewards"],"host":["/"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"search","value":null}],"variable":[]}},"response":[{"id":"cd3b1e21-ad12-4687-a735-19ba33bec429","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//merchants/{{merchantId}}/rewards?pageNumber=1&pageSize=10&search","host":["/"],"path":["merchants","{{merchantId}}","rewards"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"search","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"925"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:46:10 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": \"01965d02-038b-7164-89c1-2984ce45aead\",\n            \"status\": \"Active\",\n            \"minPurchaseAmount\": 100,\n            \"maxPurchaseAmount\": 500,\n            \"percentage\": 0,\n            \"url\": \"https://example.com/holiday-discount\",\n            \"merchantId\": \"019657ba-26a8-7dc5-a597-1b583d73b83c\",\n            \"issueVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n            \"issueVoucherTo\": \"2025-05-08T17:01:37.628Z\",\n            \"redemptionVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n            \"redemptionVoucherTo\": \"2025-05-08T17:01:37.628Z\",\n            \"redemptionValue\": 0,\n            \"itemPricePoints\": 120,\n            \"isUnlimitedRedemption\": true,\n            \"voucherNumberPerCustomer\": 2,\n            \"periodPerDays\": 90,\n            \"merchantName\": \"\",\n            \"merchantCategoryName\": \"\",\n            \"voucherSource\": \"Internal\",\n            \"voucherType\": [\n                \"Pin\"\n            ],\n            \"redemptionType\": \"InStore\",\n            \"isHotOffer\": false,\n            \"rewardType\": \"FreeItem\",\n            \"isLimitedDiscount\": false,\n            \"isGiftCardRange\": false,\n            \"currencyId\": \"01961f6b-039c-7f0b-8a16-ba641cfbce57\",\n            \"IsEligibleForReferrals\": false,\n            \"giftCardFixedOptions\": []\n        }\n    ],\n    \"page\": 1,\n    \"pageSize\": 10,\n    \"totalCount\": 1,\n    \"hasNextPage\": false,\n    \"hasPreviousPage\": false\n}"},{"id":"bc277cc5-2159-4131-b3f6-00b83cc995c2","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//merchants/{{merchantId}}/rewards?pageNumber=1&pageSize=10&search","host":["/"],"path":["merchants","{{merchantId}}","rewards"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"search","value":null}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"261"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:04:17 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"PageNumber must be positive number\"\n        }\n    ]\n}"},{"id":"676deb17-75d1-4731-96e0-7432ef2b8056","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//merchants/{{merchantId}}/rewards?pageNumber=1&pageSize=10&search","host":["/"],"path":["merchants","{{merchantId}}","rewards"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"search","value":null}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 22 Apr 2025 09:50:20 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '04/22/2025 04:52:23'\""}],"cookie":[],"responseTime":null,"body":""},{"id":"f393a971-ebe4-48b3-8393-0fc617978120","name":"406 - NotAcceptable","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//merchants/{{merchantId}}/rewards?pageNumber=1&pageSize=10&search","host":["/"],"path":["merchants","{{merchantId}}","rewards"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"search","value":null}]}},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:45:16 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Acceptable\",\n    \"status\": 406,\n    \"detail\": \"The language code is not supported\"\n}"},{"id":"89015abe-7740-46b9-bce3-ca9649d00deb","name":"404 - NotFound","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//merchants/{{merchantId}}/rewards?pageNumber=1&pageSize=10&search","host":["/"],"path":["merchants","{{merchantId}}","rewards"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"search","value":null}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:15:26 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"client - Not Found\"\n}"}],"_postman_id":"7dcdcb73-5ade-4523-8aba-149a9915593d"},{"name":"top purchase rewards","id":"91661c9c-9c4b-4920-86b5-5de48571e6e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"//rewards/top-purchased?Top=7","urlObject":{"path":["rewards","top-purchased"],"host":["/"],"query":[{"key":"Top","value":"7"}],"variable":[]}},"response":[{"id":"a34160f6-a7ec-4a05-a476-518ffe3c4bd2","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"//rewards/top-purchased?Top=5","host":["/"],"path":["rewards","top-purchased"],"query":[{"key":"Top","value":"5"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"5769"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 07 Jan 2026 14:09:09 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-Id","value":"b2cb828e-15a3-4ed4-b049-cfcd7c002dc4"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"ced0a794-d7ca-459a-d4b5-08de4d117b00\",\n        \"name\": \"Holiday Discount\",\n        \"status\": \"Active\",\n        \"description\": \"Get a 50% discount on all items during the holiday season!\",\n        \"termsConditions\": [\n            \"Valid from December 22, 2024, to December 31, 2024. No minimum purchase required. Cannot be combined with other offers.\"\n        ],\n        \"voucherRetrievalSteps\": [\n            \"step1\"\n        ],\n        \"minPurchaseAmount\": 0,\n        \"maxPurchaseAmount\": 0,\n        \"percentage\": 0,\n        \"url\": \"https://example.com/holiday-discount\",\n        \"merchantId\": \"c956e43d-0cce-4c8e-5479-08de4d0cc682\",\n        \"issueVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"issueVoucherTo\": \"2026-05-14T17:01:37.628Z\",\n        \"redemptionVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"redemptionVoucherTo\": \"2026-05-30T17:01:37.628Z\",\n        \"itemPricePoints\": 120,\n        \"isUnlimitedRedemption\": true,\n        \"voucherNumberPerCustomer\": 0,\n        \"periodPerDays\": 90,\n        \"merchantName\": \"Starbucks\",\n        \"merchantCategoryName\": \"Food\",\n        \"voucherSource\": \"Internal\",\n        \"voucherType\": [\n            \"Pin\"\n        ],\n        \"redemptionType\": [\n            \"Online\"\n        ],\n        \"redemptionSteps\": [\n            \"first step 1\",\n            \"second step 2\"\n        ],\n        \"isHotOffer\": true,\n        \"rewardType\": \"FreeItem\",\n        \"isGiftCardRange\": false,\n        \"currencyId\": \"bbb60561-6418-4950-b3b4-a1f8c39e4545\",\n        \"itemValue\": 50,\n        \"isEligibleForReferrals\": true\n    },\n    {\n        \"id\": \"bebf932f-03ba-40b2-302f-08de4dbf1922\",\n        \"name\": \"Holiday Discount-4\",\n        \"status\": \"Active\",\n        \"description\": \"Get a 50% discount on all items during the holiday season!\",\n        \"termsConditions\": [\n            \"Valid from December 22, 2024, to December 31, 2024. No minimum purchase required. Cannot be combined with other offers.\"\n        ],\n        \"voucherRetrievalSteps\": [\n            \"step1\",\n            \"step2\"\n        ],\n        \"minPurchaseAmount\": 0,\n        \"maxPurchaseAmount\": 0,\n        \"percentage\": 0,\n        \"url\": \"https://example.com/holiday-discount\",\n        \"merchantId\": \"c956e43d-0cce-4c8e-5479-08de4d0cc682\",\n        \"issueVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"issueVoucherTo\": \"2026-05-14T17:01:37.628Z\",\n        \"redemptionVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"redemptionVoucherTo\": \"2026-05-30T17:01:37.628Z\",\n        \"itemPricePoints\": 120,\n        \"isUnlimitedRedemption\": true,\n        \"voucherNumberPerCustomer\": 0,\n        \"periodPerDays\": 90,\n        \"merchantName\": \"Starbucks\",\n        \"merchantCategoryName\": \"Food\",\n        \"voucherSource\": \"Internal\",\n        \"voucherType\": [\n            \"Pin\"\n        ],\n        \"redemptionType\": [\n            \"Online\"\n        ],\n        \"redemptionSteps\": [\n            \"first step\",\n            \"second step\"\n        ],\n        \"isHotOffer\": false,\n        \"rewardType\": \"FreeItem\",\n        \"isGiftCardRange\": false,\n        \"currencyId\": \"bbb60561-6418-4950-b3b4-a1f8c39e4545\",\n        \"itemValue\": 50,\n        \"isEligibleForReferrals\": true\n    },\n    {\n        \"id\": \"2f91eb67-c0bd-4107-302d-08de4dbf1922\",\n        \"name\": \"Holiday Discount-2\",\n        \"status\": \"Active\",\n        \"description\": \"Get a 50% discount on all items during the holiday season!\",\n        \"termsConditions\": [\n            \"Valid from December 22, 2024, to December 31, 2024. No minimum purchase required. Cannot be combined with other offers.\"\n        ],\n        \"voucherRetrievalSteps\": [\n            \"step1\",\n            \"step2\"\n        ],\n        \"minPurchaseAmount\": 0,\n        \"maxPurchaseAmount\": 0,\n        \"percentage\": 0,\n        \"url\": \"https://example.com/holiday-discount\",\n        \"merchantId\": \"c956e43d-0cce-4c8e-5479-08de4d0cc682\",\n        \"issueVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"issueVoucherTo\": \"2026-05-14T17:01:37.628Z\",\n        \"redemptionVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"redemptionVoucherTo\": \"2026-05-30T17:01:37.628Z\",\n        \"itemPricePoints\": 120,\n        \"isUnlimitedRedemption\": true,\n        \"voucherNumberPerCustomer\": 0,\n        \"periodPerDays\": 90,\n        \"merchantName\": \"Starbucks\",\n        \"merchantCategoryName\": \"Food\",\n        \"voucherSource\": \"Internal\",\n        \"voucherType\": [\n            \"Pin\"\n        ],\n        \"redemptionType\": [\n            \"Online\"\n        ],\n        \"redemptionSteps\": [\n            \"first step\",\n            \"second step\"\n        ],\n        \"isHotOffer\": false,\n        \"rewardType\": \"FreeItem\",\n        \"isGiftCardRange\": false,\n        \"currencyId\": \"bbb60561-6418-4950-b3b4-a1f8c39e4545\",\n        \"itemValue\": 50,\n        \"isEligibleForReferrals\": true\n    },\n    {\n        \"id\": \"dac06896-e6ff-443a-302e-08de4dbf1922\",\n        \"name\": \"Holiday Discount-3\",\n        \"status\": \"Active\",\n        \"description\": \"Get a 50% discount on all items during the holiday season!\",\n        \"termsConditions\": [\n            \"Valid from December 22, 2024, to December 31, 2024. No minimum purchase required. Cannot be combined with other offers.\"\n        ],\n        \"voucherRetrievalSteps\": [\n            \"step1\",\n            \"step2\"\n        ],\n        \"minPurchaseAmount\": 0,\n        \"maxPurchaseAmount\": 0,\n        \"percentage\": 0,\n        \"url\": \"https://example.com/holiday-discount\",\n        \"merchantId\": \"c956e43d-0cce-4c8e-5479-08de4d0cc682\",\n        \"issueVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"issueVoucherTo\": \"2026-05-14T17:01:37.628Z\",\n        \"redemptionVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"redemptionVoucherTo\": \"2026-05-30T17:01:37.628Z\",\n        \"itemPricePoints\": 120,\n        \"isUnlimitedRedemption\": true,\n        \"voucherNumberPerCustomer\": 0,\n        \"periodPerDays\": 90,\n        \"merchantName\": \"Starbucks\",\n        \"merchantCategoryName\": \"Food\",\n        \"voucherSource\": \"Internal\",\n        \"voucherType\": [\n            \"Pin\"\n        ],\n        \"redemptionType\": [\n            \"Online\"\n        ],\n        \"redemptionSteps\": [\n            \"first step\",\n            \"second step\"\n        ],\n        \"isHotOffer\": false,\n        \"rewardType\": \"FreeItem\",\n        \"isGiftCardRange\": false,\n        \"currencyId\": \"bbb60561-6418-4950-b3b4-a1f8c39e4545\",\n        \"itemValue\": 50,\n        \"isEligibleForReferrals\": true\n    },\n    {\n        \"id\": \"5076de7f-6a2d-40bd-302c-08de4dbf1922\",\n        \"name\": \"Holiday Discount-1\",\n        \"status\": \"Active\",\n        \"description\": \"Get a 50% discount on all items during the holiday season!\",\n        \"termsConditions\": [\n            \"Valid from December 22, 2024, to December 31, 2024. No minimum purchase required. Cannot be combined with other offers.\"\n        ],\n        \"voucherRetrievalSteps\": [\n            \"step1\",\n            \"step2\"\n        ],\n        \"minPurchaseAmount\": 0,\n        \"maxPurchaseAmount\": 0,\n        \"percentage\": 0,\n        \"url\": \"https://example.com/holiday-discount\",\n        \"merchantId\": \"c956e43d-0cce-4c8e-5479-08de4d0cc682\",\n        \"issueVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"issueVoucherTo\": \"2026-05-14T17:01:37.628Z\",\n        \"redemptionVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"redemptionVoucherTo\": \"2026-05-30T17:01:37.628Z\",\n        \"itemPricePoints\": 120,\n        \"isUnlimitedRedemption\": true,\n        \"voucherNumberPerCustomer\": 0,\n        \"periodPerDays\": 90,\n        \"merchantName\": \"Starbucks\",\n        \"merchantCategoryName\": \"Food\",\n        \"voucherSource\": \"Internal\",\n        \"voucherType\": [\n            \"Pin\"\n        ],\n        \"redemptionType\": [\n            \"Online\"\n        ],\n        \"redemptionSteps\": [\n            \"first step\",\n            \"second step\"\n        ],\n        \"isHotOffer\": false,\n        \"rewardType\": \"FreeItem\",\n        \"isGiftCardRange\": false,\n        \"currencyId\": \"bbb60561-6418-4950-b3b4-a1f8c39e4545\",\n        \"itemValue\": 50,\n        \"isEligibleForReferrals\": true\n    }\n]"}],"_postman_id":"91661c9c-9c4b-4920-86b5-5de48571e6e5"}],"id":"d99f131b-6f37-4eb5-a0a7-ac7dfe46887f","_postman_id":"d99f131b-6f37-4eb5-a0a7-ac7dfe46887f","description":""},{"name":"Campaigns","item":[{"name":"get campaign configuration lookup - reward type and action type","id":"801e2041-b9e8-47e4-9b23-5e617fc33836","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"url":"//lookups/campaign-configurations","urlObject":{"path":["lookups","campaign-configurations"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"60ab7926-3a6f-417c-8609-238ae8c43eb1","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"url":"//lookups/campaign-configurations"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"102"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 05 Jan 2026 13:42:28 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-Id","value":"7726c87d-636f-4350-a287-28f26d920d44"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"rewardTypes\": [\n        \"Discount\",\n        \"NeonsBack\",\n        \"Voucher\"\n    ],\n    \"actionTypes\": [\n        \"VoucherPurchase\",\n        \"CardTransaction\"\n    ]\n}"}],"_postman_id":"801e2041-b9e8-47e4-9b23-5e617fc33836"}],"id":"47f076be-6cb9-46a1-b502-e4c0082815a0","_postman_id":"47f076be-6cb9-46a1-b502-e4c0082815a0","description":""},{"name":"Exchange Rates","item":[{"name":"get exchange rate with transaction limit","id":"05d52f4c-3da4-4c9a-9819-46da4aa77f7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":"//exchange-rates/{{exchangeRateId}}/transaction-limits?loyaltyId=&phoneNumber=&uniqueIdentifier=","description":"<p>Allow to get exchange rate With Transaction limit.</p>\n","urlObject":{"path":["exchange-rates","{{exchangeRateId}}","transaction-limits"],"host":["/"],"query":[{"key":"loyaltyId","value":""},{"key":"phoneNumber","value":""},{"key":"uniqueIdentifier","value":""}],"variable":[]}},"response":[{"id":"65b67182-9d40-4e0b-9313-873110d38d16","name":"200 - OK","originalRequest":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJjbGllbnQxQGdtYWlsLmNvbSIsImp0aSI6ImQzMzVjZmM3LTFjZjAtNDIyYi1iMGU4LWJhODRkZmNlZTIwZiIsImh0..."}},"method":"GET","header":[],"url":{"raw":"//exchange-rates/{{exchangeRateId}}/transaction-limits?loyaltyId=&phoneNumber=&uniqueIdentifier=","host":["/"],"path":["exchange-rates","{{exchangeRateId}}","transaction-limits"],"query":[{"key":"loyaltyId","value":""},{"key":"phoneNumber","value":""},{"key":"uniqueIdentifier","value":""}]},"description":"Allow to get exchange rate With Transaction limit."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"name\": \"NEONS - LBP1\",\r\n    \"currencyCode\": \"USD\",\r\n    \"currencySymbol\": \"$\",\r\n    \"buyingRate\": 100000.5,\r\n    \"sellingRate\": 20000,\r\n    \"status\": \"Active\", \r\n    \"MinimumBuyLimit\": 100, \r\n    \"MaximumBuyLimit\": 1000, \r\n    \"MinimumSellLimit\": 150, \r\n    \"MaximumSellLimit\": 1000, \r\n    \"DailyBuyLimit\": 1000, \r\n    \"DailySellLimit\": 500,  \r\n    \"RemainingDailyBuyLimit\": 1000, \r\n    \"RemainingDailySellLimit\": 1500\r\n}"},{"id":"54859653-641b-4ca7-91e7-4e5ce3255c8e","name":"400 - BadRequest","originalRequest":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[],"url":{"raw":"//exchange-rates/{{exchangeRateId}}/transaction-limits?loyaltyId=&phoneNumber=&uniqueIdentifier=","host":["/"],"path":["exchange-rates","{{exchangeRateId}}","transaction-limits"],"query":[{"key":"loyaltyId","value":""},{"key":"phoneNumber","value":""},{"key":"uniqueIdentifier","value":""}]},"description":"Allow to get exchange rate With Transaction limit."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"exchangeRateId\": [\n            \"Exchange rate is inactive\"\n        ]\n    },\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n    \"title\": \"One or more validation errors occurred.\",\n    \"status\": 400,\n    \"traceId\": \"00-55582186bb4957be6b1d59497b0c8131-7ef2e34b51a31616-00\"\n}"},{"id":"c44bf92d-88d5-430a-90b2-260f5c11053e","name":"404 - NotFound","originalRequest":{"method":"GET","header":[],"url":{"raw":"//exchange-rates/{{exchangeRateId}}/transaction-limits?loyaltyId=&phoneNumber=&uniqueIdentifier=","host":["/"],"path":["exchange-rates","{{exchangeRateId}}","transaction-limits"],"query":[{"key":"loyaltyId","value":""},{"key":"phoneNumber","value":""},{"key":"uniqueIdentifier","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"ExchangeRate - Not Found\"\n}"}],"_postman_id":"05d52f4c-3da4-4c9a-9819-46da4aa77f7c"}],"id":"870e62b2-c15c-4418-acc3-2ec3c240ab05","_postman_id":"870e62b2-c15c-4418-acc3-2ec3c240ab05","description":""}],"id":"ec6e5973-fc76-43c5-9ef5-00af343f6994","description":"<p>This section contains API endpoints related to validating clients' referral code data.</p>\n","_postman_id":"ec6e5973-fc76-43c5-9ef5-00af343f6994"},{"name":"Customers","item":[{"name":"Customer Management","item":[{"name":"create customer","id":"3a0a68bd-214c-46af-b700-2d63de3db6d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"firstName\": \"Nelle\",\r\n    \"lastName\": \"Swift\",\r\n    \"mobileNumber\": \"+966532145415\",\r\n  \"accountType\": \"default\",\r\n    \"uniqueIdentifier\": \"5823R35E09\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//customers","description":"<p>Creates customer under a client<br />Creates customer account, contact, points balance and link with client</p>\n<p>If the mobile number provided already exists in our system for a customer under a different client, a new customer will not be created, whoever the existing customer will be linked to the new client.</p>\n","urlObject":{"path":["customers"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"dbcc989e-25cb-4f4a-a0c4-151310924a2c","name":"201 - Created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"firstName\": \"Clare\",\r\n    \"lastName\": \"Erdman\",\r\n    \"mobileNumber\": \"+966532145428\",\r\n  \"accountType\": \"default\",\r\n  \"referralCode\": \"WC4V6ZZM\",\r\n    \"uniqueIdentifier\": \"5623R34E\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//customers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"164"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:58:15 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"019656ec-8ebc-76dd-b752-6f72095080c6\",\n    \"accountId\": \"066f656f-44bc-4554-bfbc-7935f1e7179d\",\n    \"onboardingDate\": \"2025-04-21T05:57:49.4416961Z\",\n    \"balance\": 0,\n    \"loyaltyId\": \"L123456789\"\n}"},{"id":"82f0ade5-692c-4456-af40-2d4a82ac8ddf","name":"400 - BadRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"firstName\": \"Carolina\",\r\n    \"lastName\": \"White\",\r\n    \"mobileNumber\": \"+919586370966\",\r\n  \"accountType\": \"default\",\r\n  \"referralCode\": \"WC4V6ZZM\",\r\n    \"uniqueIdentifier\": \"5623R34E\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//customers"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:56:40 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"Contact is invalid\"\n        }\n    ]\n}"},{"id":"1c4cff52-250d-4c08-927c-cfbfcd06fcfc","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"firstName\": \"Jacquelyn\",\r\n    \"lastName\": \"Bayer\",\r\n    \"mobileNumber\": \"+966532145428\",\r\n  \"accountType\": \"default\",\r\n  \"referralCode\": \"59U5YZ7W\",\r\n    \"uniqueIdentifier\": \"5623R34E\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//customers"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Mon, 21 Apr 2025 05:54:37 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\""}],"cookie":[],"responseTime":null,"body":""},{"id":"90c927de-3a8d-423e-86c9-1255156a0fac","name":"404 - NotFound","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"firstName\": \"Adam\",\r\n    \"lastName\": \"Conroy\",\r\n    \"mobileNumber\": \"+966532145428\",\r\n  \"accountType\": \"default\",\r\n  \"referralCode\": \"59U5YZ7W\",\r\n    \"uniqueIdentifier\": \"5623R34E\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//customers"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:55:20 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"referralCode - Not Found\"\n}"},{"id":"c8e64947-d98e-423c-9f7d-81bc55387b16","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"firstName\": \"Lori\",\r\n    \"lastName\": \"Dickinson\",\r\n    \"mobileNumber\": \"+966532145428\",\r\n  \"accountType\": \"default\",\r\n  \"referralCode\": \"WC4V6ZZM\",\r\n    \"uniqueIdentifier\": \"5623R34E\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//customers"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:59:24 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"This mobile number is already registered under this client\"\n        }\n    ]\n}"}],"_postman_id":"3a0a68bd-214c-46af-b700-2d63de3db6d1"},{"name":"create customer account","id":"dfd011eb-4f8b-4f86-a537-c2c49387bbd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"uniqueIdentifier\": \"5623R34F\",\r\n    \"loyaltyId\": null,\r\n    \"phoneNumber\": null,\r\n    \"accountType\": \"default12\",\r\n    \"accountUniqueIdentifier\": \"5623R34E1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//accounts","description":"<p>Creates customer account for given customer id.</p>\n<p>All customer earnings will be linked to their account, a customer can have several account under the same client. However, they can only have one account type per client. Account Types can be defined by the client.</p>\n","urlObject":{"path":["accounts"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"a08ee0c6-f15b-4497-b9e8-06f7d3ae3a77","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"uniqueIdentifier\": \"5623R34F\",\r\n    \"loyaltyId\": null,\r\n    \"phoneNumber\": null,\r\n    \"accountType\": \"default12\",\r\n    \"uniqueIdentifier\": \"5623R34E1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"52"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:23:41 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"accountId\": \"97a06940-20dc-49d3-a2ed-17e9d24cebf0\"\n}"},{"id":"db1ef247-54f5-4ea3-b4ec-8d3bb274a3ce","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"uniqueIdentifier\": \"5623R34F\",\r\n    \"loyaltyId\": null,\r\n    \"phoneNumber\": null,\r\n    \"accountType\": \"default12\",\r\n    \"uniqueIdentifier\": \"5623R34E1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//accounts"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"a56d0701-940a-40e5-8f36-f079576d0bc9","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"uniqueIdentifier\": \"5623R34F\",\r\n    \"loyaltyId\": null,\r\n    \"phoneNumber\": null,\r\n    \"accountType\": \"default12\",\r\n    \"uniqueIdentifier\": \"5623R34E1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//accounts"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:45:28 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"CustomerId is required\"\n        }\n    ]\n}"},{"id":"808d3fe6-5ec4-43b4-ab4c-c977bd8616bf","name":"404 - NotFound","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"uniqueIdentifier\": \"5623R34F\",\r\n    \"loyaltyId\": null,\r\n    \"phoneNumber\": null,\r\n    \"accountType\": \"default12\",\r\n    \"uniqueIdentifier\": \"5623R34E1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//accounts"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Found\",\r\n    \"status\": 404,\r\n    \"detail\": \"client - Not Found\"\r\n}"}],"_postman_id":"dfd011eb-4f8b-4f86-a537-c2c49387bbd2"},{"name":"validate customer","id":"e4ca23f9-c50f-4964-8345-fecbd2473705","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"71889848\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//customer-validations","description":"<p>Validates if customer exists or not by loyalty Id or mobile number or unique identifier</p>\n","urlObject":{"path":["customer-validations"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"c67d1ffc-4d4c-48ea-b27f-ecb4e87b5efd","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"phoneNumber\":\"+966532145402\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//customer-validations"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"28"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 04 Aug 2025 13:02:07 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Request-ID","value":"85e6bcb8-ee9d-4978-a8db-3470e2cdb58d"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": \"customer exists\"\n}"},{"id":"97bac735-9b1e-4712-8796-0b70b485b5e7","name":"404 - NotFound","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"phoneNumber\":\"+966532145408\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//customer-validations"},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 04 Aug 2025 13:02:42 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Person - Not Found\"\n}"},{"id":"79bb6d46-e7dc-42a8-9172-0d34ffccbdad","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"71889848\",\r\n    \"phoneNumber\":\"+966532145402\"\r\n\r\n}","options":{"raw":{"language":"json"}}},"url":"//customer-validations"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 04 Aug 2025 13:03:36 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"Atmost one of the following identifiers must be provided: Phone Number, Unique Identifier, or Loyalty Id.\"\n        }\n    ]\n}"},{"id":"0917a240-3d03-4944-9cf5-b7b1462fe06f","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"\",\r\n    \"phoneNumber\":\"+966532145402\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//customer-validations"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 18 Jul 2025 11:15:50 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e4ca23f9-c50f-4964-8345-fecbd2473705"},{"name":"update customer","id":"22a805ba-228f-4cda-85b6-ad7b0ca2d0ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"PUT","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"uniqueIdentifier\": \"582312aR000child2\",\r\n    \"loyaltyid\": \"\",\r\n    \"newPhoneNumber\": \"+966532145002\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//customers","description":"<p>Updates a customer under a client<br />If the mobile number provided already exists in our system for a customer under a different client, a new customer will not be updated</p>\n","urlObject":{"path":["customers"],"host":["/"],"query":[],"variable":[]}},"response":[],"_postman_id":"22a805ba-228f-4cda-85b6-ad7b0ca2d0ee"},{"name":"update customer segments","id":"0801ddb7-38b1-4448-8e43-929875e69ed8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"PUT","header":[{"key":"RequestId","value":"{{requestId}}","description":"<p>Optional correlation/request tracking ID.</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"segments\": [\"16b445ff-cd37-402b-bd5d-0e653d616c33\", \"73ad1121-e350-48f2-910f-f654e6403f43\"],\n  \"uniqueIdentifier\": \"10114560000004\"\n}","options":{"raw":{"language":"json"}}},"url":"//segments","description":"<p>Updates (replaces) the full set of segments assigned to a customer identified by <code>uniqueIdentifier</code>.</p>\n<p>Authentication &amp; Authorization:</p>\n<ul>\n<li>Requires a valid bearer token with role <code>Client_Integration</code>.</li>\n</ul>\n<p>Business Rules:</p>\n<ul>\n<li>The list provided in <code>segments</code> becomes the authoritative set for the customer (existing links are removed first, then new ones inserted).</li>\n<li><code>uniqueIdentifier</code> must correspond to an existing customer for the authenticated client.</li>\n<li>ClientId is derived from the token (not sent in the body).</li>\n</ul>\n<p>Identifiers:</p>\n<ul>\n<li>Only one identifier is used here: <code>uniqueIdentifier</code> (no loyaltyId / phoneNumber for this endpoint version).</li>\n</ul>\n<p>Request Schema:\n{\n  \"segments\": [Guid, ...],    // Required - at least one GUID (can be empty ONLY if clearing all segments is allowed in future variants)\n  \"uniqueIdentifier\": string  // Required - external/customer unique reference\n}</p>\n<p>Notes:</p>\n<ul>\n<li>To clear all segments (if supported later) send an empty array: { \"segments\": [], \"uniqueIdentifier\": \"...\" } (verify business acceptance first).</li>\n<li>Idempotent: sending the same set twice results in 204 again without change.</li>\n</ul>\n","urlObject":{"path":["segments"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"264f2611-29a4-441c-b620-58f7ff06adab","name":"204 - NoContent","originalRequest":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"PUT","header":[{"key":"RequestId","value":"{{requestId}}","description":"Optional correlation/request tracking ID.","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"segments\": [\"16b445ff-cd37-402b-bd5d-0e653d616c33\", \"73ad1121-e350-48f2-910f-f654e6403f43\"],\n  \"uniqueIdentifier\": \"10114560000004\"\n}","options":{"raw":{"language":"json"}}},"url":"//segments","description":"Updates (replaces) the full set of segments assigned to a customer identified by `uniqueIdentifier`.\n\nAuthentication & Authorization:\n- Requires a valid bearer token with role `Client_Integration`.\n\nBusiness Rules:\n- The list provided in `segments` becomes the authoritative set for the customer (existing links are removed first, then new ones inserted).\n- `uniqueIdentifier` must correspond to an existing customer for the authenticated client.\n- ClientId is derived from the token (not sent in the body).\n\nIdentifiers:\n- Only one identifier is used here: `uniqueIdentifier` (no loyaltyId / phoneNumber for this endpoint version).\n\nRequest Schema:\n{\n  \"segments\": [Guid, ...],    // Required - at least one GUID (can be empty ONLY if clearing all segments is allowed in future variants)\n  \"uniqueIdentifier\": string  // Required - external/customer unique reference\n}\n\nNotes:\n- To clear all segments (if supported later) send an empty array: { \"segments\": [], \"uniqueIdentifier\": \"...\" } (verify business acceptance first).\n- Idempotent: sending the same set twice results in 204 again without change.\n"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":""},{"id":"03df83f9-6f21-4b7a-a130-b41fafe164a0","name":"400 - Validation Error","originalRequest":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"PUT","header":[{"key":"RequestId","value":"{{requestId}}","description":"Optional correlation/request tracking ID.","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"segments\": [\"16b445ff-cd37-402b-bd5d-0e653d616c33\", \"73ad1121-e350-48f2-910f-f654e6403f43\"],\n  \"uniqueIdentifier\": \"10114560000004\"\n}","options":{"raw":{"language":"json"}}},"url":"//segments","description":"Updates (replaces) the full set of segments assigned to a customer identified by `uniqueIdentifier`.\n\nAuthentication & Authorization:\n- Requires a valid bearer token with role `Client_Integration`.\n\nBusiness Rules:\n- The list provided in `segments` becomes the authoritative set for the customer (existing links are removed first, then new ones inserted).\n- `uniqueIdentifier` must correspond to an existing customer for the authenticated client.\n- ClientId is derived from the token (not sent in the body).\n\nIdentifiers:\n- Only one identifier is used here: `uniqueIdentifier` (no loyaltyId / phoneNumber for this endpoint version).\n\nRequest Schema:\n{\n  \"segments\": [Guid, ...],    // Required - at least one GUID (can be empty ONLY if clearing all segments is allowed in future variants)\n  \"uniqueIdentifier\": string  // Required - external/customer unique reference\n}\n\nNotes:\n- To clear all segments (if supported later) send an empty array: { \"segments\": [], \"uniqueIdentifier\": \"...\" } (verify business acceptance first).\n- Idempotent: sending the same set twice results in 204 again without change.\n"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": {\n    \"segments\": [\"At least one segment is required.\"],\n    \"uniqueIdentifier\": [\"The uniqueIdentifier field is required.\"]\n  },\n  \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n  \"title\": \"One or more validation errors occurred.\",\n  \"status\": 400,\n  \"traceId\": \"00-a1111111111111111111111111111111-b222222222222222-00\"\n}"},{"id":"30a766a3-a01c-4274-9e71-3574ce67eb20","name":"401 - Unauthorized","originalRequest":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"PUT","header":[{"key":"RequestId","value":"{{requestId}}","description":"Optional correlation/request tracking ID.","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"segments\": [\"16b445ff-cd37-402b-bd5d-0e653d616c33\", \"73ad1121-e350-48f2-910f-f654e6403f43\"],\n  \"uniqueIdentifier\": \"10114560000004\"\n}","options":{"raw":{"language":"json"}}},"url":"//segments","description":"Updates (replaces) the full set of segments assigned to a customer identified by `uniqueIdentifier`.\n\nAuthentication & Authorization:\n- Requires a valid bearer token with role `Client_Integration`.\n\nBusiness Rules:\n- The list provided in `segments` becomes the authoritative set for the customer (existing links are removed first, then new ones inserted).\n- `uniqueIdentifier` must correspond to an existing customer for the authenticated client.\n- ClientId is derived from the token (not sent in the body).\n\nIdentifiers:\n- Only one identifier is used here: `uniqueIdentifier` (no loyaltyId / phoneNumber for this endpoint version).\n\nRequest Schema:\n{\n  \"segments\": [Guid, ...],    // Required - at least one GUID (can be empty ONLY if clearing all segments is allowed in future variants)\n  \"uniqueIdentifier\": string  // Required - external/customer unique reference\n}\n\nNotes:\n- To clear all segments (if supported later) send an empty array: { \"segments\": [], \"uniqueIdentifier\": \"...\" } (verify business acceptance first).\n- Idempotent: sending the same set twice results in 204 again without change.\n"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.2\",\n  \"title\": \"Unauthorized\",\n  \"status\": 401,\n  \"traceId\": \"00-c3333333333333333333333333333333-d444444444444444-00\"\n}"},{"id":"e1a63109-5818-4943-9097-8db090b20998","name":"404 - Customer Not Found","originalRequest":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"PUT","header":[{"key":"RequestId","value":"{{requestId}}","description":"Optional correlation/request tracking ID.","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"segments\": [\"16b445ff-cd37-402b-bd5d-0e653d616c33\", \"73ad1121-e350-48f2-910f-f654e6403f43\"],\n  \"uniqueIdentifier\": \"10114560000004\"\n}","options":{"raw":{"language":"json"}}},"url":"//segments","description":"Updates (replaces) the full set of segments assigned to a customer identified by `uniqueIdentifier`.\n\nAuthentication & Authorization:\n- Requires a valid bearer token with role `Client_Integration`.\n\nBusiness Rules:\n- The list provided in `segments` becomes the authoritative set for the customer (existing links are removed first, then new ones inserted).\n- `uniqueIdentifier` must correspond to an existing customer for the authenticated client.\n- ClientId is derived from the token (not sent in the body).\n\nIdentifiers:\n- Only one identifier is used here: `uniqueIdentifier` (no loyaltyId / phoneNumber for this endpoint version).\n\nRequest Schema:\n{\n  \"segments\": [Guid, ...],    // Required - at least one GUID (can be empty ONLY if clearing all segments is allowed in future variants)\n  \"uniqueIdentifier\": string  // Required - external/customer unique reference\n}\n\nNotes:\n- To clear all segments (if supported later) send an empty array: { \"segments\": [], \"uniqueIdentifier\": \"...\" } (verify business acceptance first).\n- Idempotent: sending the same set twice results in 204 again without change.\n"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"title\": \"Not Found\",\n  \"status\": 404,\n  \"detail\": \"Customer (uniqueIdentifier) not found\"\n}"},{"id":"c9678932-430d-4e26-84ce-e0b84553053d","name":"422 - Unprocessable (Invalid Segment IDs)","originalRequest":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"PUT","header":[{"key":"RequestId","value":"{{requestId}}","description":"Optional correlation/request tracking ID.","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"segments\": [\"16b445ff-cd37-402b-bd5d-0e653d616c33\", \"73ad1121-e350-48f2-910f-f654e6403f43\"],\n  \"uniqueIdentifier\": \"10114560000004\"\n}","options":{"raw":{"language":"json"}}},"url":"//segments","description":"Updates (replaces) the full set of segments assigned to a customer identified by `uniqueIdentifier`.\n\nAuthentication & Authorization:\n- Requires a valid bearer token with role `Client_Integration`.\n\nBusiness Rules:\n- The list provided in `segments` becomes the authoritative set for the customer (existing links are removed first, then new ones inserted).\n- `uniqueIdentifier` must correspond to an existing customer for the authenticated client.\n- ClientId is derived from the token (not sent in the body).\n\nIdentifiers:\n- Only one identifier is used here: `uniqueIdentifier` (no loyaltyId / phoneNumber for this endpoint version).\n\nRequest Schema:\n{\n  \"segments\": [Guid, ...],    // Required - at least one GUID (can be empty ONLY if clearing all segments is allowed in future variants)\n  \"uniqueIdentifier\": string  // Required - external/customer unique reference\n}\n\nNotes:\n- To clear all segments (if supported later) send an empty array: { \"segments\": [], \"uniqueIdentifier\": \"...\" } (verify business acceptance first).\n- Idempotent: sending the same set twice results in 204 again without change.\n"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"title\": \"Unprocessable Entity\",\n  \"status\": 422,\n  \"detail\": \"One or more segment IDs are invalid or not associated with this client\"\n}"}],"_postman_id":"0801ddb7-38b1-4448-8e43-929875e69ed8"},{"name":"update customer preferred language","id":"be9dbb4b-bc9e-4933-903e-931996393f4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"PUT","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null \r\n }","options":{"raw":{"language":"json"}}},"url":"//Customers/preferred-language/{{languageCode}}","description":"<p>Updates the customer's preferred language.</p>\n","urlObject":{"path":["Customers","preferred-language","{{languageCode}}"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"5d01f432-073a-42db-8bc3-c4a40d7673ba","name":"401 - Unauthorized","originalRequest":{"method":"PUT","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"23946632\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null \r\n }","options":{"raw":{"language":"json"}}},"url":"//Customers/preferred-language/{{languageCode}}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 25 Nov 2025 04:04:15 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The signature key was not found\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"0c63e4c1-b3ea-4068-a4c5-9327201968a0"}],"cookie":[],"responseTime":null,"body":""},{"id":"d1eecd67-18f3-4800-a59f-cb2286a546e4","name":"422 - Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"23946632\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null \r\n }","options":{"raw":{"language":"json"}}},"url":"//Customers/preferred-language/{{languageCode}}"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 25 Nov 2025 04:05:32 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"Relation is invalid\",\n            \"errorCode\": \"Customers_RelationIsInvalid\",\n            \"parameters\": null\n        }\n    ]\n}"},{"id":"2706cc77-7a35-4c0f-bfd5-c1eb4817d461","name":"400 - BadRequest","originalRequest":{"method":"PUT","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"23946632\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null \r\n }","options":{"raw":{"language":"json"}}},"url":"//Customers/preferred-language/{{languageCode}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"284"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Date","value":"Tue, 25 Nov 2025 04:06:19 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"151fc4ac-760f-4c22-b419-e76bcbc7186e"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"languageCode\": [\n            \"The languageCode field is required.\"\n        ]\n    },\n    \"type\": \"https://tools.ietf.org/html/rfc7231#section-6.5.1\",\n    \"title\": \"One or more validation errors occurred.\",\n    \"status\": 400,\n    \"detail\": \"See the errors property for details.\",\n    \"instance\": \"/Customers/preferred-language/%20\"\n}"},{"id":"4202a38d-203a-4340-8f5e-58fe39ca3c2a","name":"404 - NotFound","originalRequest":{"method":"PUT","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"23946633\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null \r\n }","options":{"raw":{"language":"json"}}},"url":"//Customers/preferred-language/{{languageCode}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 25 Nov 2025 04:07:19 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Customer not found\"\n}"},{"id":"df49c514-7f0d-441e-900f-e63084b3d164","name":"204 -  NoContent","originalRequest":{"method":"PUT","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"95101738\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null \r\n }","options":{"raw":{"language":"json"}}},"url":"//Customers/preferred-language/{{languageCode}}"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[{"key":"Date","value":"Tue, 25 Nov 2025 04:08:30 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"24474b93-31c5-4d52-ba1a-ffd5ca0ad3f8"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"be9dbb4b-bc9e-4933-903e-931996393f4c"},{"name":"get Customer Details","id":"00174ae6-057c-4dd9-8508-ce3e505a3621","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":"//customer-details?loyaltyId=83433690&phoneNumber&uniqueIdentifier","description":"<p>Get comprehensive customer details by loyalty ID, mobile number, or unique identifier. Returns customer identifiers, names, and balance information including current, cumulative, and burned balances.</p>\n","urlObject":{"path":["customer-details"],"host":["/"],"query":[{"description":{"content":"<p>Customer loyalty ID (optional)</p>\n","type":"text/plain"},"key":"loyaltyId","value":"83433690"},{"description":{"content":"<p>Customer mobile/phone number (optional)</p>\n","type":"text/plain"},"key":"phoneNumber","value":null},{"description":{"content":"<p>Customer unique identifier (optional)</p>\n","type":"text/plain"},"key":"uniqueIdentifier","value":null}],"variable":[]}},"response":[{"id":"2b7c6ac9-3fb9-400b-a5fb-cf976cb4d005","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"//customer-details?loyaltyId=83433690","host":["/"],"path":["customer-details"],"query":[{"key":"loyaltyId","value":"83433690"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"customerId\": \"01970cec-1923-7057-bfa7-c8497140ff15\",\n    \"loyaltyId\": \"83433690\",\n    \"mobileNumber\": \"+966532145530\",\n    \"uniqueIdentifier\": \"5623R34S\",\n    \"firstName\": \"Jazmin\",\n    \"lastName\": \"Dickens\",\n    \"balance\": 20,\n    \"cumulativeBalance\": 670,\n    \"burnedBalance\": 650\n}"},{"id":"87a7015a-0e8f-4da4-bf71-de1fb39c8654","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[],"url":"//customer-details"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"Atleast one customer identifier is required\"\n        }\n    ]\n}"},{"id":"8b8a4f9f-4387-4f3d-bfe0-a62e5f0f40d8","name":"404 - NotFound","originalRequest":{"method":"GET","header":[],"url":{"raw":"//customer-details?loyaltyId=nonexistent","host":["/"],"path":["customer-details"],"query":[{"key":"loyaltyId","value":"nonexistent"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Person - Not Found\"\n}"},{"id":"e412dff6-12a1-49d9-8d0c-1840a7e8dd40","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"//customer-details?loyaltyId=83433690","host":["/"],"path":["customer-details"],"query":[{"key":"loyaltyId","value":"83433690"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"00174ae6-057c-4dd9-8508-ce3e505a3621"}],"id":"48ebf9f7-aa8a-4eeb-8c8a-e14f68e667f3","description":"<p>This section contains API endpoint to create a new customer.</p>\n","_postman_id":"48ebf9f7-aa8a-4eeb-8c8a-e14f68e667f3"},{"name":"Customer Referrals","item":[{"name":"get customer referral code details","id":"84a14e6b-251b-4a92-8087-61de275478c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":"//customer-referrals?phoneNumber&uniqueIdentifier=&loyaltyId=67236821","description":"<p>Gets detail of referral code and customer referred using the customer referral code</p>\n","urlObject":{"path":["customer-referrals"],"host":["/"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":""},{"key":"loyaltyId","value":"67236821"}],"variable":[]}},"response":[{"id":"37ec0f6a-d5fd-4dd9-bbf8-e0c1ee82fc5e","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"//customer-referrals?phoneNumber&uniqueIdentifier=&loyaltyId=67236821","host":["/"],"path":["customer-referrals"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":""},{"key":"loyaltyId","value":"67236821"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"99"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:22:50 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"referralCode\": \"WC4V6ZZM\",\n    \"referredCustomers\": [\n        {\n            \"name\": \"John Doe\",\n            \"referredDate\": \"2025-08-20T00:00:00Z\",\n            \"points\": 10\n        },\n        {\n            \"name\": \"Jane Smith\",\n            \"referredDate\": \"2025-08-19T00:00:00Z\",\n            \"points\": 5\n        }\n    ],\n    \"referredCustomersCount\": 2\n}"},{"id":"ea1a76df-9749-4ea3-822e-873d476f08f5","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"//customer-referrals?phoneNumber&uniqueIdentifier=&loyaltyId=67236821","host":["/"],"path":["customer-referrals"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":""},{"key":"loyaltyId","value":"67236821"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:26:35 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"CustomerId must be of person type customer\"\n        },\n        {\n            \"description\": \"Relation is invalid\"\n        }\n    ]\n}"},{"id":"e9a6a309-6665-4b82-b25b-e178e70fa15b","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"//customer-referrals?phoneNumber&uniqueIdentifier=&loyaltyId=67236821","host":["/"],"path":["customer-referrals"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":""},{"key":"loyaltyId","value":"67236821"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Mon, 21 Apr 2025 05:20:10 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\""}],"cookie":[],"responseTime":null,"body":""},{"id":"9868d38d-2eee-494c-9906-1e18aabde5b5","name":"404 - NotFound","originalRequest":{"method":"GET","header":[],"url":{"raw":"//customer-referrals?phoneNumber&uniqueIdentifier=&loyaltyId=67236821","host":["/"],"path":["customer-referrals"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":""},{"key":"loyaltyId","value":"67236821"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:24:57 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Customer - Not Found\"\n}"}],"_postman_id":"84a14e6b-251b-4a92-8087-61de275478c2"},{"name":"get personal referral code","id":"87599771-a085-452b-bf4e-0e7f9ff920de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":"//personal-referral-codes/{{personalReferralCode}}?phoneNumber&uniqueIdentifier=&loyaltyId=67236821","description":"<p>Gets customer personal referral code details</p>\n","urlObject":{"path":["personal-referral-codes","{{personalReferralCode}}"],"host":["/"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":""},{"key":"loyaltyId","value":"67236821"}],"variable":[]}},"response":[{"id":"763a2aa7-b54b-4c63-8efe-b5f91aa7deab","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"//personal-referral-codes/{{personalReferralCode}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"122"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:15:03 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"019656bd-fb7c-7601-8c32-fe28172ff29b\",\n    \"status\": \"Active\",\n    \"referralCode\": \"WC4V6ZZM\",\n    \"endDate\": \"2027-12-31T22:00:00Z\"\n}"},{"id":"7b37b5ed-1dea-433a-a043-a586c599b5bb","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[],"url":"/personal-referral-codes/{{personalReferralCode}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"280"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:16:29 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"clientId\": [\n            \"The value 'f80e984e-2ba0-4a2f-9db9-8b695a85965' is not valid.\"\n        ]\n    },\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n    \"title\": \"One or more validation errors occurred.\",\n    \"status\": 400,\n    \"traceId\": \"00-b7092b03277b27d7b0eeb56faaef74d8-0c61afda0397d4f9-00\"\n}"},{"id":"9c106be2-eea5-45e8-84d8-9d8f3615b5cc","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":"//personal-referral-codes/{{personalReferralCode}}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Mon, 21 Apr 2025 05:20:10 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\""}],"cookie":[],"responseTime":null,"body":""},{"id":"15598cd7-4abf-4d58-8f4a-cb37cd3d9b38","name":"403 - ForBidden","originalRequest":{"method":"GET","header":[],"url":"//personal-referral-codes/{{personalReferralCode}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:17:50 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Forbidden\",\n    \"status\": 403,\n    \"detail\": \"You are trying to get a referral code for another client\"\n}"},{"id":"d84abccb-3143-4331-8157-ecddd7522cc9","name":"404 - NotFound","originalRequest":{"method":"GET","header":[],"url":"//personal-referral-codes/{{personalReferralCode}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:18:55 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"personalReferralCode - Not Found\"\n}"}],"_postman_id":"87599771-a085-452b-bf4e-0e7f9ff920de"},{"name":"generate personal referral code","event":[{"listen":"test","script":{"exec":["var id = pm.response.stream.toString();\r","\r","if (id) {\r","    pm.environment.set(\"personalReferralCode\", id);\r","    console.log(`Environment variable 'personalReferralCode' set to: ${id}`);\r","} else {\r","    console.warn(\"The response does not contain an 'Id' field.\");\r","}\r",""],"type":"text/javascript","packages":{},"id":"d720c0b1-5ac9-426e-b533-86f5bda9b489"}}],"id":"5c2a4aec-b718-4b7a-806f-903342efd3a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"EndDate\": \"2027-12-31T22:00:00Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//personal-referral-codes","description":"<p>Generates a customer personal referral code. This personal referral code can only be used on registration.</p>\n","urlObject":{"path":["personal-referral-codes"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"c547b1f1-c69d-4c28-87ba-78f4288ab4f3","name":"201 - Created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"EndDate\": \"2027-12-31T22:00:00Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//personal-referral-codes"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"79"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:06:52 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"019656bd-fb7c-7601-8c32-fe28172ff29b\",\n    \"personalReferralCode\": \"WC4V6ZZM\"\n}"},{"id":"2bfdb45c-7ee6-4905-9fe5-6cf12b5d0c5e","name":"400 - BadRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"EndDate\": \"2027-12-31T22:00:00Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//personal-referral-codes"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 04:58:41 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"Relation is invalid\"\n        }\n    ]\n}"},{"id":"9a199170-b1e3-4746-b80a-370326658325","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"url":"//personal-referral-codes"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Mon, 21 Apr 2025 05:20:10 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\""}],"cookie":[],"responseTime":null,"body":""},{"id":"700b40cc-e62a-4ccc-9c4a-a5eae5704067","name":"403 - ForBidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"EndDate\": \"2027-12-31T22:00:00Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//personal-referral-codes"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:08:59 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Forbidden\",\n    \"status\": 403,\n    \"detail\": \"You are trying to add a referral code for another client\"\n}"},{"id":"a1a2a0e7-7fe7-4cbd-9309-cc45690c7fd3","name":"404 - NotFound","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"EndDate\": \"2027-12-31T22:00:00Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//personal-referral-codes"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 04:55:50 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Customer - Not Found\"\n}"}],"_postman_id":"5c2a4aec-b718-4b7a-806f-903342efd3a8"},{"name":"generate product referral code","id":"b8264c65-8d59-4bf8-9916-5459ce276da0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"loyaltyId\" : \"67236821\",\r\n  \"phoneNumber\": null,\r\n  \"uniqueIdentifier\" : null,\r\n  \"rewardId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"EndDate\": \"2027-12-31T22:00:00Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//product-referral-codes","urlObject":{"path":["product-referral-codes"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"ee1b67d6-7e11-44d2-a919-d57f573f21c1","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"loyaltyId\" : \"67236821\",\r\n  \"phoneNumber\": null,\r\n  \"uniqueIdentifier\" : null,\r\n  \"rewardId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"EndDate\": \"2027-12-31T22:00:00Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//product-referral-codes"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"82"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:39:33 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"01971fdc-b525-74d2-a6aa-bb0fb4bc2ddd\",\n    \"productReferralCode\": \"A9AICP1S9D6H\"\n}"},{"id":"49ad6643-b91c-4f23-8676-7d03069ea7f1","name":"400 - BadRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"loyaltyId\" : \"67236821\",\r\n  \"phoneNumber\": null,\r\n  \"uniqueIdentifier\" : null,\r\n  \"rewardId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"EndDate\": \"202-12-31T22:00:00Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//product-referral-codes"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"283"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:44:21 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"RewardId\": [\n            \"The RewardId field is required.\",\n            \"The field RewardId is invalid.\"\n        ]\n    },\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n    \"title\": \"One or more validation errors occurred.\",\n    \"status\": 400,\n    \"traceId\": \"00-67fb3feeba3761dfd316955649fc4d32-764e4fdbe39b94d8-00\"\n}"},{"id":"161b6941-ca68-4f3f-84d7-50717a66b629","name":"401 - Unautorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"loyaltyId\" : \"67236821\",\r\n  \"phoneNumber\": null,\r\n  \"uniqueIdentifier\" : null,\r\n  \"rewardId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"EndDate\": \"202-12-31T22:00:00Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//product-referral-codes"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Mon, 21 Apr 2025 05:36:31 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\""}],"cookie":[],"responseTime":null,"body":""},{"id":"23e6f0fb-f8de-42d0-bd81-c8d67560a526","name":"403 - ForBidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"loyaltyId\" : \"67236821\",\r\n  \"phoneNumber\": null,\r\n  \"uniqueIdentifier\" : null,\r\n  \"rewardId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"EndDate\": \"202-12-31T22:00:00Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//product-referral-codes"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:46:09 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Forbidden\",\n    \"status\": 403,\n    \"detail\": \"You are trying to add a referral code for another client\"\n}"},{"id":"448e5f93-4046-4514-87b7-b3cc381cad6e","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"loyaltyId\" : \"67236821\",\r\n  \"phoneNumber\": null,\r\n  \"uniqueIdentifier\" : null,\r\n  \"rewardId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"EndDate\": \"202-12-31T22:00:00Z\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//product-referral-codes"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:43:14 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"EndDate is invalid\"\n        }\n    ]\n}"}],"_postman_id":"b8264c65-8d59-4bf8-9916-5459ce276da0"},{"name":"referral voucher","id":"b8cf0ede-4af9-4430-b6cf-4cb43fe950ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"//referral-vouchers?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId","urlObject":{"path":["referral-vouchers"],"host":["/"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null}],"variable":[]}},"response":[{"id":"328b25c7-471a-4c24-8524-707c3ca494bc","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"//referral-vouchers?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId","host":["/"],"path":["referral-vouchers"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1507"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:12:00 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"01973e73-4fa0-790d-8f09-215996230505\",\n    \"voucherCode\": \"Major\",\n    \"voucherStatus\": \"Redeemed\",\n    \"purchasedDate\": \"2025-06-05T05:19:14.197226Z\",\n    \"redeemedDate\": \"2025-06-12T06:01:44.195666Z\",\n    \"amount\": 20,\n    \"reward\": {\n        \"id\": \"01973e72-97da-7d69-ba8a-c1a1e9da80e1\",\n        \"name\": \"Special Discount\",\n        \"status\": \"Active\",\n        \"description\": \"Get a 50% discount on all items during the holiday season!\",\n        \"termsConditions\": \"Valid from December 22, 2024, to December 31, 2024. No minimum purchase required. Cannot be combined with other offers.\",\n        \"minPurchaseAmount\": 0,\n        \"maxPurchaseAmount\": 0,\n        \"percentage\": 0,\n        \"url\": \"https://example.com/holiday-discount\",\n        \"merchantId\": \"01973e6e-4835-71dd-a9bc-bee09efbf7f1\",\n        \"issueVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"issueVoucherTo\": \"2026-05-14T17:01:37.628Z\",\n        \"redemptionVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"redemptionVoucherTo\": \"2026-05-30T17:01:37.628Z\",\n        \"redemptionValue\": 0,\n        \"itemPricePoints\": 120,\n        \"isUnlimitedRedemption\": true,\n        \"maxVouchersPerCustomer\": 0,\n        \"maxVouchersPerPeriod\": \"ThreeMonths\",\n        \"periodPerDays\": 90,\n        \"merchantName\": \"Starbucks\",\n        \"merchantCategoryName\": \"Food\",\n        \"bannerImageId\": \"01973e72-9858-7590-a3a5-0e0dfc70596a\",\n        \"voucherSource\": \"Internal\",\n        \"voucherType\": [],\n        \"redemptionType\": [],\n        \"redemptionSteps\": \"redemptions in english\",\n        \"isHotOffer\": false,\n        \"rewardType\": \"GiftCard\",\n        \"isLimitedDiscount\": false,\n        \"isGiftCardRange\": true,\n        \"currencyId\": \"019739fd-3ac9-7793-ad9a-5d7a29b63545\",\n        \"giftCardMaxValue\": 200,\n        \"giftCardMinValue\": 40,\n        \"giftCardFixedOptions\": [],\n        \"isBasedOnDenomination\": false\n    }\n}"},{"id":"9b27f864-fe4e-48db-8ea5-ea7b13ff50ea","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"//referral-vouchers?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId","host":["/"],"path":["referral-vouchers"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"201476bf-8f86-4bfd-b477-696b38d6124f","name":"422 - Unprocessable Entity","originalRequest":{"method":"GET","header":[],"url":{"raw":"//referral-vouchers?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId","host":["/"],"path":["referral-vouchers"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null}]}},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Unprocessable Entity\",\r\n    \"status\": 422,\r\n    \"invalidParams\": [\r\n        {\r\n            \"description\": \"CustomerId is required\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"b8cf0ede-4af9-4430-b6cf-4cb43fe950ea"}],"id":"7a6c80b5-e1fc-4db3-8fba-a6ad18dffee7","description":"<p>This section contains API endpoints related to retrieving Customer referrals.</p>\n","_postman_id":"7a6c80b5-e1fc-4db3-8fba-a6ad18dffee7"},{"name":"Transactions","item":[{"name":"Buy Neons","item":[{"name":"buy neons","id":"ad1cfac3-3ebe-4dd5-81a8-48d9e76fe86d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"068540ce-742b-4e13-ad73-0bee1bc64920\",\n  \"exchangeRateId\": \"019619ef-bf53-7d13-bac8-9ded4fddcabc\",\n  \"numberOfPoints\": 5,\n  \"amountPaid\": 5,\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//buying-transactions","description":"<p>Create a buy transaction as pending and sends and OTP via SMS to the customer if the transaction requires OTP, otherwise it validates the transaction details and creates a successfull transaction.</p>\n","urlObject":{"path":["buying-transactions"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"4f595621-af72-4d15-a3a3-b8b269643800","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"exchangeRateId\": \"f5bdfcd1-8ce4-4417-a43e-ad9231ec1f08\",\r\n  \"numberOfPoints\": 100,\r\n  \"amountPaid\": 500,\r\n  \"loyaltyId\": \"45272783\",\r\n  \"phoneNumber\": \"\",\r\n  \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//buying-transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"122"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:15:03 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"df128e07-3da1-477d-8583-b9d4c594a5a0\",\n    \"transactionRequestId\": \"068540ce-742b-4e13-ad73-0bee1bc64920\",\n    \"requiresOTP\": true\n}"},{"id":"11585037-42cc-4fe5-aa19-7ee8a0acf902","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"exchangeRateId\": \"f5bdfcd1-8ce4-4417-a43e-ad9231ec1f08\",\r\n  \"numberOfPoints\": 100,\r\n  \"amountPaid\": 500,\r\n  \"loyaltyId\": \"45272783\",\r\n  \"phoneNumber\": \"\",\r\n  \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//buying-transactions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Mon, 21 Apr 2025 05:20:10 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\""},{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"38d48792-05b4-4dc9-8206-6dc3674c9f53","name":"403 - ForBidden","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"exchangeRateId\": \"f5bdfcd1-8ce4-4417-a43e-ad9231ec1f08\",\r\n  \"numberOfPoints\": 100,\r\n  \"amountPaid\": 500,\r\n  \"loyaltyId\": \"45272783\",\r\n  \"phoneNumber\": \"\",\r\n  \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//buying-transactions"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:17:50 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Forbidden\",\n    \"status\": 403,\n    \"detail\": \"You are trying to buy neons for another client\"\n}"},{"id":"9e1d115f-83c6-4401-8a3a-e835d06813a3","name":"404 - NotFound","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"exchangeRateId\": \"f5bdfcd1-8ce4-4417-a43e-ad9231ec1f08\",\r\n  \"numberOfPoints\": 100,\r\n  \"amountPaid\": 500,\r\n  \"loyaltyId\": \"45272783\",\r\n  \"phoneNumber\": \"\",\r\n  \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//buying-transactions"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:18:55 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"client - Not Found\"\n}"},{"id":"98a6e59d-8d8f-4936-9abd-aa3672cfb6a2","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"exchangeRateId\": \"f5bdfcd1-8ce4-4417-a43e-ad9231ec1f08\",\n  \"numberOfPoints\": 100,\n  \"amountPaid\": 500,\r\n  \"loyaltyId\": \"45272783\",\r\n  \"phoneNumber\": \"\",\r\n  \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//buying-transactions"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"Transaction failed due to client having an insufficient balance\"\n        }\n    ]\n}"}],"_postman_id":"ad1cfac3-3ebe-4dd5-81a8-48d9e76fe86d"},{"name":"validate otp for buy neons","id":"f74993e5-78cf-4173-a0af-12ea7d74e9cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"PUT","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\", \"otp\": \"87594\", \"loyaltyId\": \"45272783\", \"phoneNumber\": \"\", \"uniqueIdentifier\": \"\"}","options":{"raw":{"language":"json"}}},"url":"//buying-transactions","description":"<p>Verifies the OTP entered by the customer and updates the buy transaction status accordingly</p>\n","urlObject":{"path":["buying-transactions"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"798b1703-57ae-495b-b8bb-297cb9e4d68b","name":"200 - OK","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\", \"otp\": \"87594\", \"loyaltyId\": \"45272783\", \"phoneNumber\": \"\", \"uniqueIdentifier\": \"\"}","options":{"raw":{"language":"json"}}},"url":"//buying-transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"99"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:22:50 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"df128e07-3da1-477d-8583-b9d4c594a5a0\",\n    \"transactionRequestId\": \"068540ce-742b-4e13-ad73-0bee1bc64920\",\n    \"balance\": 2500\n}"},{"id":"ea7ff5e0-b50f-417a-bad7-feb1a91ec88c","name":"422 - Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"otp\": \"87594\", \"loyaltyId\": \"45272783\", \"phoneNumber\": \"\", \"uniqueIdentifier\": \r\n\"\"}","options":{"raw":{"language":"json"}}},"url":"//buying-transactions"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:26:35 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"OTP is required\"\n        }\n    ]\n}\n"},{"id":"19b71a45-bb8c-4c99-b5db-6921adc9d294","name":"401 - Unauthorized","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"otp\": \"87594\",\r\n  \"loyaltyId\": \"45272783\",\r\n  \"phoneNumber\": \"\",\r\n  \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//buying-transactions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Mon, 21 Apr 2025 05:20:10 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\""},{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"0af33d6d-5479-4ed1-a46d-06960730c712","name":"403 - ForBidden","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"otp\": \"87594\",\r\n  \"loyaltyId\": \"45272783\",\r\n  \"phoneNumber\": \"\",\r\n  \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//buying-transactions"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:17:50 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Forbidden\",\n    \"status\": 403,\n    \"detail\": \"You are trying to validate transaction for another client\"\n}"},{"id":"ab13c370-7cc8-4972-953c-db31af89f418","name":"404 - NotFound","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"otp\": \"87594\",\r\n  \"loyaltyId\": \"45272783\",\r\n  \"phoneNumber\": \"\",\r\n  \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//buying-transactions"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:24:57 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Customer - Not Found\"\n}"}],"_postman_id":"f74993e5-78cf-4173-a0af-12ea7d74e9cc"}],"id":"73b51747-1421-4fb8-aaa8-70364c29954e","description":"<p>This section contains API endpoints related to buy neons.</p>\n","_postman_id":"73b51747-1421-4fb8-aaa8-70364c29954e"},{"name":"Sell Neons","item":[{"name":"sell neons","id":"259e2eb8-ab3e-41cc-abca-9784f5734918","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"exchangeRateId\": \"f5bdfcd1-8ce4-4417-a43e-ad9231ec1f08\",\n  \"numberOfPoints\": 100,\n  \"amountReceived\": 500,\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//selling-transactions","description":"<p>Create a sell transaction as pending and sends and OTP via SMS to the customer if the transaction requires OTP, otherwise it validates the transaction details and creates a successful transaction.</p>\n","urlObject":{"path":["selling-transactions"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"c929f604-199e-4df8-a014-67ed2d3344ea","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"exchangeRateId\": \"f5bdfcd1-8ce4-4417-a43e-ad9231ec1f08\",\n  \"numberOfPoints\": 100,\n  \"amountReceived\": 500,\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//selling-transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"df128e07-3da1-477d-8583-b9d4c594a5a0\",\n    \"transactionRequestId\": \"068540ce-742b-4e13-ad73-0bee1bc64920\",\n    \"requiresOTP\": true\n}"},{"id":"d0bc09b3-68bf-42ff-a225-13d02809235f","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"exchangeRateId\": \"f5bdfcd1-8ce4-4417-a43e-ad9231ec1f08\",\n  \"numberOfPoints\": 100,\n  \"amountReceived\": 500,\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//selling-transactions"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"280"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:00:17 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"Transaction failed due to customer having an insufficient balance\"\n        }\n    ]\n}"},{"id":"96b3d33c-ab47-40f0-a1ab-b46442fb7aa6","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"exchangeRateId\": \"f5bdfcd1-8ce4-4417-a43e-ad9231ec1f08\",\n  \"numberOfPoints\": 100,\n  \"amountReceived\": 500,\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//selling-transactions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 22 Apr 2025 09:51:06 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '04/22/2025 04:52:23'\""}],"cookie":[],"responseTime":null,"body":""},{"id":"c56237c8-1cae-4f56-98eb-316c86e9def5","name":"406 - NotAcceptable","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"exchangeRateId\": \"f5bdfcd1-8ce4-4417-a43e-ad9231ec1f08\",\n  \"numberOfPoints\": 100,\n  \"amountReceived\": 500,\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//selling-transactions"},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 09:54:45 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Acceptable\",\n    \"status\": 406,\n    \"detail\": \"The language code is not supported\"\n}"},{"id":"a756399a-88a0-4019-a7e5-99d7674e7f95","name":"404 - NotFound","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"exchangeRateId\": \"f5bdfcd1-8ce4-4417-a43e-ad9231ec1f08\",\n  \"numberOfPoints\": 100,\n  \"amountReceived\": 500,\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//selling-transactions"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Found\",\r\n    \"status\": 404,\r\n    \"detail\": \"customer - Not Found\"\r\n}"}],"_postman_id":"259e2eb8-ab3e-41cc-abca-9784f5734918"},{"name":"validate otp for sell neons","id":"20e76230-27da-4acc-80fd-b04de0793845","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"PUT","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//selling-transactions","description":"<p>Verifies the OTP entered by the customer and updates the sell transaction status accordingly</p>\n","urlObject":{"path":["selling-transactions"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"a50d7f6a-460c-4e56-83f1-57d9634d1283","name":"200 - OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//selling-transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"217"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 09:56:58 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"e67ac284-5147-493b-9bc6-096e909b6733\",\n    \"transactionRequestId\": \"dc9dfb2c-9841-4e54-99a9-a1ded5c0e692\",\n    \"Balance\": 1500\n}"},{"id":"a4818b57-ff16-4cdc-8429-96b172301e1a","name":"422 - Unprocessable Entity","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//selling-transactions"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"280"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 09:59:42 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"OTP is required\"\n        }\n    ]\n}"},{"id":"d9bf26be-4a92-45aa-b16a-9de8b232b28c","name":"401 - Unauthorized","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//selling-transactions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 22 Apr 2025 09:51:16 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '04/22/2025 04:52:23'\""}],"cookie":[],"responseTime":null,"body":""},{"id":"4f63e5ce-b684-4558-90c8-4198a8deeab6","name":"403 - ForBidden","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//selling-transactions"},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 09:56:18 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Acceptable\",\n    \"status\": 406,\n    \"detail\": \"The language code is not supported\"\n}"},{"id":"a704ca6b-8813-4c72-9d1d-c60f41b2fe28","name":"404 - NotFound","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//selling-transactions"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"customer - Not Found\"\n}"}],"_postman_id":"20e76230-27da-4acc-80fd-b04de0793845"}],"id":"a8202aa4-6214-48df-8cb9-0a63c0b5edb8","description":"<p>This section contains API endpoints related to sell neons.</p>\n","_postman_id":"a8202aa4-6214-48df-8cb9-0a63c0b5edb8"},{"name":"Withdraw Neons","item":[{"name":"withdraw neons","id":"fdf97f83-3fbe-4791-92ac-7698d634d3bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"numberOfPoints\": 100,\n  \"customField\": {  \"invoiceNo\": \"46464646\",  \"uniqueIdentifier\": \"naskdaslkd\",    \"additionalProp3\": \"string\"  },\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//withdraw-transactions","description":"<p>Create a withdraw transaction as pending and sends and OTP via SMS to the customer if the withdraw requires OTP, otherwise it validates the withdrawing details and creates a successful transaction.</p>\n","urlObject":{"path":["withdraw-transactions"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"22a530f9-cb2d-4700-b0f7-52054ba58c80","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n    \"numberOfPoints\": 100,\r\n    \"customField\": {\r\n        \"invoiceNo\": \"46464646\",\r\n        \"uniqueIdentifier\": \"naskdaslkd\",\r\n        \"additionalProp3\": \"string\"\r\n    },\r\n    \"loyaltyId\": \"45272783\",\r\n    \"phoneNumber\": \"\",\r\n    \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//withdraw-transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"52"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:23:41 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"cf10725a-ba9f-4b4c-b55c-1d373714094a\",\n    \"transactionRequestId\": \"fd0a0eed-80bd-4162-b781-fb39e71b12c8\",\n    \"requiresOTP\": false,\n    \"balance\": 1365,\n    \"numberOfPoints\": 5\n}\n"},{"id":"bd3ce071-51fb-4e89-bad6-842926204ad5","name":"403 - ForBidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n    \"numberOfPoints\": 100,\r\n    \"customField\": {\r\n        \"invoiceNo\": \"46464646\",\r\n        \"uniqueIdentifier\": \"naskdaslkd\",\r\n        \"additionalProp3\": \"string\"\r\n    },\r\n    \"loyaltyId\": \"45272783\",\r\n    \"phoneNumber\": \"\",\r\n    \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//withdraw-transactions"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:34:59 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Forbidden\",\n    \"status\": 403,\n    \"detail\": \"You are trying to withdraw neons for another client\"\n}"},{"id":"84667daa-3bf6-46eb-8dde-84ad20f1f3cf","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n    \"numberOfPoints\": 100,\r\n    \"customField\": {\r\n        \"invoiceNo\": \"46464646\",\r\n        \"uniqueIdentifier\": \"naskdaslkd\",\r\n        \"additionalProp3\": \"string\"\r\n    },\r\n    \"loyaltyId\": \"45272783\",\r\n    \"phoneNumber\": \"\",\r\n    \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//withdraw-transactions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"34ecbce3-5695-42aa-9732-93e885afcbe4","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n    \"numberOfPoints\": 100,\r\n    \"customField\": {\r\n        \"invoiceNo\": \"46464646\",\r\n        \"uniqueIdentifier\": \"naskdaslkd\",\r\n        \"additionalProp3\": \"string\"\r\n    },\r\n    \"loyaltyId\": \"45272783\",\r\n    \"phoneNumber\": \"\",\r\n    \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//withdraw-transactions"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:45:28 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"RequestID already exists\"\n        }\n    ]\n}"},{"id":"d9ed2c52-c48b-4823-b16a-1a0e6806d6be","name":"404 - NotFound","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n    \"numberOfPoints\": 100,\r\n    \"customField\": {\r\n        \"invoiceNo\": \"46464646\",\r\n        \"uniqueIdentifier\": \"naskdaslkd\",\r\n        \"additionalProp3\": \"string\"\r\n    },\r\n    \"loyaltyId\": \"45272783\",\r\n    \"phoneNumber\": \"\",\r\n    \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//withdraw-transactions"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Found\",\r\n    \"status\": 404,\r\n    \"detail\": \"client - Not Found\"\r\n}"}],"_postman_id":"fdf97f83-3fbe-4791-92ac-7698d634d3bd"},{"name":"validate otp for withdraw neons","id":"f079c62e-ac0b-4ef4-804d-c1bfda7afb38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"PUT","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//withdraw-transactions","description":"<p>Verifies the OTP entered by the customer and updates the withdraw transaction status accordingly</p>\n","urlObject":{"path":["withdraw-transactions"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"4e2d86df-8bed-4239-80f2-f52a14c2475f","name":"200 - OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//withdraw-transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"147"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 11:17:16 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"e67ac284-5147-493b-9bc6-096e909b6733\",\n    \"transactionRequestId\": \"dc9dfb2c-9841-4e54-99a9-a1ded5c0e692\",\n    \"Balance\": 1500,\n    \"numberOfPoints\": 5\n}"},{"id":"39bc2ea5-727b-4ff5-8175-5f5f84455295","name":"400 - BadRequest","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//withdraw-transactions"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:06:16 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"OTP is required\"\n        }\n    ]\n}"},{"id":"d74021da-015f-4747-9977-05bbd6d200ae","name":"401 - Unauthorized","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//withdraw-transactions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 22 Apr 2025 09:49:10 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '04/22/2025 04:52:23'\""}],"cookie":[],"responseTime":null,"body":""},{"id":"8a6af9b5-530a-471b-83a9-64a49e1882b6","name":"403 - ForBidden","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//withdraw-transactions"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Forbidden\",\r\n    \"status\": 403,\r\n    \"detail\": \"You are trying to validate transaction for another client\"\r\n}"},{"id":"1064665d-c1a6-45d7-8ab2-01a56089dedc","name":"404 - NotFound","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//withdraw-transactions"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 11:46:48 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"client - Not Found\"\n}"}],"_postman_id":"f079c62e-ac0b-4ef4-804d-c1bfda7afb38"}],"id":"e35c4147-3a30-475e-86c6-ebacea5eba0a","description":"<p>This section contains API endpoints related to withdrawing neons.</p>\n","_postman_id":"e35c4147-3a30-475e-86c6-ebacea5eba0a"},{"name":"Transfer Neons","item":[{"name":"transfer neons","id":"333332d9-61cb-49f0-b80b-65b35020c63c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"numberOfPoints\": 100,\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\",\n  \"receiverLoyaltyId\": \"45272784\",\n  \"receiverPhoneNumber\": \"\",\n  \"receiverUniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//transferring-transactions","description":"<p>Create a transfer transaction between to customers as pending and sends and OTP via SMS to the customer if the transfer requires OTP, otherwise it validates the transfer details and creates a successful transaction.<br />Must provide the recipient customer identifier</p>\n","urlObject":{"path":["transferring-transactions"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"f41fe146-ba18-44f1-af8a-ee27adb6c67d","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"numberOfPoints\": 100,\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\",\n  \"receiverLoyaltyId\": \"45272784\",\n  \"receiverPhoneNumber\": \"\",\n  \"receiverUniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//transferring-transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"142"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 11:41:45 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"df128e07-3da1-477d-8583-b9d4c594a5a0\",\n    \"transactionRequestId\": \"068540ce-742b-4e13-ad73-0bee1bc64920\",\n    \"requiresOTP\": true\n}"},{"id":"f967ad21-6beb-485a-8571-89c5633482db","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"numberOfPoints\": 100,\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\",\n  \"receiverLoyaltyId\": \"45272784\",\n  \"receiverPhoneNumber\": \"\",\n  \"receiverUniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//transferring-transactions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"cf7bbff9-8cbd-43b6-9f1d-7df60b4609d1","name":"406 - NotAcceptable","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"numberOfPoints\": 100,\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\",\n  \"receiverLoyaltyId\": \"45272784\",\n  \"receiverPhoneNumber\": \"\",\n  \"receiverUniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//transferring-transactions"},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 15:53:47 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Acceptable\",\n    \"status\": 406,\n    \"detail\": \"The language code is not supported\"\n}"},{"id":"c2271e84-a3e7-47dc-bc71-f3eea4b49e9b","name":"404 - NotFound","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"numberOfPoints\": 100,\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\",\n  \"receiverLoyaltyId\": \"45272784\",\n  \"receiverPhoneNumber\": \"\",\n  \"receiverUniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//transferring-transactions"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Found\",\r\n    \"status\": 404,\r\n    \"detail\": \"client - Not Found\"\r\n}"},{"id":"311b8d72-136a-4c45-b988-637b0f8e7861","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"numberOfPoints\": 100,\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\",\n  \"receiverLoyaltyId\": \"45272784\",\n  \"receiverPhoneNumber\": \"\",\n  \"receiverUniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//transferring-transactions"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Unprocessable Entity\",\r\n    \"status\": 422,\r\n    \"invalidParams\": [\r\n        {\r\n            \"description\": \"CustomerId is required\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"333332d9-61cb-49f0-b80b-65b35020c63c"},{"name":"validate otp for transfer neons","id":"81cb50e3-f09f-4b59-a3f1-fe27a2149a04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"PUT","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//transferring-transactions","description":"<p>Verifies the OTP entered by the customer and updates the transfer transaction status accordingly</p>\n","urlObject":{"path":["transferring-transactions"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"63a693dd-18c8-467b-a29c-a1ac594ff4be","name":"200 - OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n  \"otp\": \"87594\",\r\n  \"loyaltyId\": \"45272783\",\r\n  \"phoneNumber\": \"\",\r\n  \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//transferring-transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"916"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 11:54:56 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"e67ac284-5147-493b-9bc6-096e909b6733\",\n    \"transactionRequestId\": \"dc9dfb2c-9841-4e54-99a9-a1ded5c0e692\",\n    \"Balance\": 1500\",\n    \"numberOfPoints\": 5\n}"},{"id":"898dc9b6-1829-487a-aede-947b50e037e2","name":"401 - Unauthorized","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//transferring-transactions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"c36957d6-2b12-4207-9882-6097a5aaaa58","name":"403 - ForBidden","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//transferring-transactions"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Forbidden\",\r\n    \"status\": 403,\r\n    \"detail\": \"You are trying to sell neons for another client\"\r\n}"},{"id":"25f7fd72-dea7-490d-aa96-e89cc3ce60cd","name":"404 - NotFound","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//transferring-transactions"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Found\",\r\n    \"status\": 404,\r\n    \"detail\": \"client - Not Found\"\r\n}"},{"id":"d8e84eec-004a-4409-829f-1110961d9239","name":"422 - Unprocessable Entity","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"otp\": \"87594\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//transferring-transactions"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Unprocessable Entity\",\r\n    \"status\": 422,\r\n    \"invalidParams\": [\r\n        {\r\n            \"description\": \"CustomerId is required\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"81cb50e3-f09f-4b59-a3f1-fe27a2149a04"}],"id":"8458fbb8-5f96-443b-a61a-6d6c50c7c6e4","description":"<p>This section contains API endpoints related to transfer neons.</p>\n","_postman_id":"8458fbb8-5f96-443b-a61a-6d6c50c7c6e4"},{"name":"Exchange Neons","item":[{"name":"exchange from neons","id":"448691d2-292f-4d0c-a5f4-1bdbd004f405","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c006\",\n    \"exchangeRateId\": \"0195fc50-ba19-7273-9d71-1cf675cfd858\",\n    \"neons\": 100,\n    \"destinationPoints\": 202,\n    \"loyaltyId\": \"45272783\",\n    \"phoneNumber\": \"\",\n    \"uniqueIdentifier\": \"\"\n,    \"partnerCustomerId\": \"27880705\"\n}","options":{"raw":{"language":"json"}}},"url":"//exchange-from-neons","description":"<p>Exchange points from other loyalty system currencies to Neons.<br />Creates an exchange transaction as pending and sends and OTP via SMS to the customer if the exchange requires OTP, otherwise it validates the exchange details and creates a successful transaction.</p>\n","urlObject":{"path":["exchange-from-neons"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"bd19a0ba-b49d-440b-8148-d9c42bd5bd67","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c006\",\r\n    \"exchangeRateId\": \"0195fc50-ba19-7273-9d71-1cf675cfd858\",\r\n    \"neons\": 100,\r\n    \"destinationPoints\": 202\r\n}","options":{"raw":{"language":"json"}}},"url":"//exchange-from-neons"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"844"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:42:18 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"df128e07-3da1-477d-8583-b9d4c594a5a0\",\n    \"transactionRequestId\": \"068540ce-742b-4e13-ad73-0bee1bc64920\",\n    \"requiresOTP\": true\n}"},{"id":"5b35cc12-2bba-41ee-8d8b-a698166aa4fe","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\n    \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c006\",\n    \"exchangeRateId\": \"0195fc50-ba19-7273-9d71-1cf675cfd858\",\n    \"neons\": 100,\n    \"destinationPoints\": 202,\n    \"loyaltyId\": \"45272783\",\n    \"phoneNumber\": \"\",\n    \"uniqueIdentifier\": \"\",\n    \"partnerCustomerId\": \"27880705\"\n}","options":{"raw":{"language":"json"}}},"url":"//exchange-from-neons"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"df03d128-e155-4186-9884-4c4b83ef20a7","name":"406 - NotAcceptable","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\n    \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c006\",\n    \"exchangeRateId\": \"0195fc50-ba19-7273-9d71-1cf675cfd858\",\n    \"neons\": 100,\n    \"destinationPoints\": 202,\n    \"loyaltyId\": \"45272783\",\n    \"phoneNumber\": \"\",\n    \"uniqueIdentifier\": \"\",\n    \"partnerCustomerId\": \"27880705\"\n}","options":{"raw":{"language":"json"}}},"url":"//exchange-from-neons"},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Acceptable\",\r\n    \"status\": 406,\r\n    \"detail\": \"The language code is not supported\"\r\n}"},{"id":"8f1ab83b-4227-499e-af01-9423f6972f8d","name":"404 - NotFound","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\n    \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c006\",\n    \"exchangeRateId\": \"0195fc50-ba19-7273-9d71-1cf675cfd858\",\n    \"neons\": 100,\n    \"destinationPoints\": 202,\n    \"loyaltyId\": \"45272783\",\n    \"phoneNumber\": \"\",\n    \"uniqueIdentifier\": \"\",\n    \"partnerCustomerId\": \"27880705\"\n}","options":{"raw":{"language":"json"}}},"url":"//exchange-from-neons"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Found\",\r\n    \"status\": 404,\r\n    \"detail\": \"client - Not Found\"\r\n}"},{"id":"8fbea972-f42f-4c3f-8a18-08504dc68ff0","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\n    \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c006\",\n    \"exchangeRateId\": \"0195fc50-ba19-7273-9d71-1cf675cfd858\",\n    \"neons\": 100,\n    \"destinationPoints\": 202,\n    \"loyaltyId\": \"45272783\",\n    \"phoneNumber\": \"\",\n    \"uniqueIdentifier\": \"\",\n    \"partnerCustomerId\": \"27880705\"\n}","options":{"raw":{"language":"json"}}},"url":"//exchange-from-neons"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Unprocessable Entity\",\r\n    \"status\": 422,\r\n    \"invalidParams\": [\r\n        {\r\n            \"description\": \"RequestID is required\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"448691d2-292f-4d0c-a5f4-1bdbd004f405"},{"name":"exchange to neons","id":"316818e7-0f9b-4a76-b359-f6cfe2e4900e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c706\",\n    \"exchangeRateId\": \"0195fc50-ba19-7273-9d71-1cf675cfd858\",\n    \"sourcePoints\": 12,\n    \"neons\": 12,\n    \"loyaltyId\": \"45272783\",\n    \"phoneNumber\": \"\",\n    \"uniqueIdentifier\": \"\",\n    \"partnerCustomerId\": \"27880705\"\n}","options":{"raw":{"language":"json"}}},"url":"//exchange-to-neons","description":"<p>Exchange points from Neons to other loyalty system currencies.<br />Creates an exchange transaction as pending and sends and OTP via SMS to the customer if the exchange requires OTP, otherwise it validates the exchange details and creates a successful transaction.</p>\n","urlObject":{"path":["exchange-to-neons"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"39380af5-e399-49a9-bb5a-f60e65f89a8c","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c006\",\r\n    \"exchangeRateId\": \"0195fc50-ba19-7273-9d71-1cf675cfd858\",\r\n    \"neons\": 100,\r\n    \"sourcePoints\": 202\r\n}","options":{"raw":{"language":"json"}}},"url":"//exchange-to-neons"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"844"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:42:18 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"df128e07-3da1-477d-8583-b9d4c594a5a0\",\n    \"transactionRequestId\": \"068540ce-742b-4e13-ad73-0bee1bc64920\",\n    \"requiresOTP\": true\n}"},{"id":"8f25ffaa-09b8-4cf7-ace0-f2d761cee503","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\r\n    \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c706\",\r\n    \"exchangeRateId\": \"0195fc50-ba19-7273-9d71-1cf675cfd858\",\r\n    \"sourcePoints\": 12,\r\n    \"neons\": 12,\r\n    \"loyaltyId\": \"45272783\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"//exchange-to-neons"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"52318001-7b53-4527-bd18-4274142b36bd","name":"406 - NotAcceptable","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c706\",\r\n  \"exchangeRateId\": \"0195fc50-ba19-7273-9d71-1cf675cfd858\",\r\n  \"sourcePoints\": 12,\r\n  \"neons\": 12,\r\n  \"loyaltyId\": \"45272783\",\r\n  \"phoneNumber\": null,\r\n  \"uniqueIdentifier\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"//exchange-to-neons"},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Acceptable\",\r\n    \"status\": 406,\r\n    \"detail\": \"The language code is not supported\"\r\n}"},{"id":"24eeeb29-bdd5-4967-a5ba-8e51bbedb989","name":"404 - NotFound","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c706\",\r\n  \"exchangeRateId\": \"0195fc50-ba19-7273-9d71-1cf675cfd858\",\r\n  \"sourcePoints\": 12,\r\n  \"neons\": 12,\r\n  \"loyaltyId\": \"45272783\",\r\n  \"phoneNumber\": null,\r\n  \"uniqueIdentifier\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"//exchange-to-neons"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Found\",\r\n    \"status\": 404,\r\n    \"detail\": \"client - Not Found\"\r\n}"},{"id":"6432445b-008d-47ad-bb51-5c04ebf0fce0","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c706\",\r\n  \"exchangeRateId\": \"0195fc50-ba19-7273-9d71-1cf675cfd858\",\r\n  \"sourcePoints\": 12,\r\n  \"neons\": 12,\r\n  \"loyaltyId\": \"45272783\",\r\n  \"phoneNumber\": null,\r\n  \"uniqueIdentifier\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"//exchange-to-neons"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Unprocessable Entity\",\r\n    \"status\": 422,\r\n    \"invalidParams\": [\r\n        {\r\n            \"description\": \"RequestID already exists\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"316818e7-0f9b-4a76-b359-f6cfe2e4900e"},{"name":"validate otp for exchange","id":"449b40d8-8675-495c-acb1-71823c293ac2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"PUT","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c706\",\n  \"otp\": \"1253\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\",\n  \"partnerCustomerId\": \"27880705\"\n}","options":{"raw":{"language":"json"}}},"url":"//exchange","description":"<p>Verifies the OTP entered by the customer and updates the exchange transaction status accordingly</p>\n","urlObject":{"path":["exchange"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"5a5a60a2-032c-4f3f-b4d2-d4f1e9f2b8c3","name":"200 - OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c706\",\r\n  \"otp\": \"1253\",\r\n  \"loyaltyId\": \"45272783\",\r\n  \"phoneNumber\": \"\",\r\n  \"uniqueIdentifier\": \"\",\r\n  \"partnerCustomerId\": \"27880705\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//exchange"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"82"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 21 Apr 2025 05:39:33 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"e67ac284-5147-493b-9bc6-096e909b6733\",\n    \"transactionRequestId\": \"dc9dfb2c-9841-4e54-99a9-a1ded5c0e692\",\n    \"Balance\": 1500\n}"},{"id":"4c7d2792-b349-4b2f-8350-2a96cd714e07","name":"401 - Unauthorized","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c706\",\n  \"otp\": \"1253\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\",\n    \"partnerCustomerId\": \"27880705\"\n}","options":{"raw":{"language":"json"}}},"url":"//exchange"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"fe76cb66-7488-48c4-8b3f-5be4a5489cc4","name":"403 - ForBidden","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c706\",\n  \"otp\": \"1253\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"//exchange"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Forbidden\",\r\n    \"status\": 403,\r\n    \"detail\": \"You are trying to validate exchange transaction for another client\"\r\n}"},{"id":"2aea5a3a-7254-4ce3-b833-2413148f2fe7","name":"404 - NotFound","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c706\",\n  \"otp\": \"1253\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\",\n    \"partnerCustomerId\": \"27880705\"\n}","options":{"raw":{"language":"json"}}},"url":"//exchange"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Found\",\r\n    \"status\": 404,\r\n    \"detail\": \"client - Not Found\"\r\n}"},{"id":"eec46b2d-18cd-4cd6-a019-b44997965189","name":"422 - Unprocessable Entity","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c706\",\n  \"otp\": \"1253\",\n  \"loyaltyId\": \"45272783\",\n  \"phoneNumber\": \"\",\n  \"uniqueIdentifier\": \"\",\n    \"partnerCustomerId\": \"27880705\"\n}","options":{"raw":{"language":"json"}}},"url":"//exchange"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Unprocessable Entity\",\r\n    \"status\": 422,\r\n    \"invalidParams\": [\r\n        {\r\n            \"description\": \"RequestID is required\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"449b40d8-8675-495c-acb1-71823c293ac2"}],"id":"67f9ada1-0eff-48c3-9103-baa330044ccf","description":"<p>This section contains API endpoints related to exchange neons with other loyalty currencies. Our system integrates with 3rd party loyalty systems and allows users of both systems to exchange points to and/or from each other based on a defined exchange rate in the system.</p>\n","_postman_id":"67f9ada1-0eff-48c3-9103-baa330044ccf"},{"name":"Revert Neons","item":[{"name":"revert neons","id":"4df2a420-d60c-4ced-a88c-c3ef2f04ab16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"PUT","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"reversionReason\": \"Balance not updated\",\n  \"numberOfPoints\": 100\n}","options":{"raw":{"language":"json"}}},"url":"//revert-transactions","description":"<p>Reverts a successful transaction, and updates the status to reverted.</p>\n","urlObject":{"path":["revert-transactions"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"5c03090a-7267-4ee2-a2ac-5114ce0326b2","name":"200 - OK","originalRequest":{"method":"PUT","header":[{"key":"Accept-Language","value":"en","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"reversionReason\": \"Balance not updated\",\n  \"numberOfPoints\": 100\n}","options":{"raw":{"language":"json"}}},"url":"//revert-transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1989"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:03:57 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n    \"balance\": 1500,\n    \"numberOfPoints\": 100,\n    \"date\": \"2025-04-21T05:57:49.4416961Z\",\n    \"status\": \"Reverted\"\n}"},{"id":"02d8e0a6-2616-4c4c-a8d6-d22be8fd12ef","name":"422 - Unprocessable Entity","originalRequest":{"method":"PUT","header":[{"key":"Accept-Language","value":"en","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"reversionReason\": \"Balance not updated\",\n  \"numberOfPoints\": 100\n}","options":{"raw":{"language":"json"}}},"url":"//revert-transactions"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"Reversion Reason is required\"\n        }\n    ]\n}"},{"id":"558ae21e-d2d8-454e-be46-61b92d610ecf","name":"401 - Unauthorized","originalRequest":{"method":"PUT","header":[{"key":"Accept-Language","value":"en","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"reversionReason\": \"Balance not updated\",\n  \"numberOfPoints\": 100\n}","options":{"raw":{"language":"json"}}},"url":"//revert-transactions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 22 Apr 2025 09:48:31 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '04/22/2025 04:52:23'\""}],"cookie":[],"responseTime":null,"body":""},{"id":"59293603-efa0-41e3-aada-564c2a3d73b5","name":"403 - ForBidden","originalRequest":{"method":"PUT","header":[{"key":"Accept-Language","value":"en","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"reversionReason\": \"Balance not updated\",\n  \"numberOfPoints\": 100\n}","options":{"raw":{"language":"json"}}},"url":"//revert-transactions"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Forbidden\",\r\n    \"status\": 403,\r\n    \"detail\": \"You are trying to revert neons for another client\"\r\n}"},{"id":"e911e107-b097-4580-8b4e-4e8aca82d146","name":"404 - NotFound","originalRequest":{"method":"PUT","header":[{"key":"Accept-Language","value":"en","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"reversionReason\": \"Balance not updated\",\n  \"numberOfPoints\": 100\n}","options":{"raw":{"language":"json"}}},"url":"//revert-transactions"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:07:03 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"client - Not Found\"\n}"},{"id":"37244705-b09e-408b-ac47-c930c76817fe","name":"400 - BadRequest","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"transactionId\": \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\n  \"reversionReason\": \"Balance not updated\",\n  \"numberOfPoints\": 100\n}","options":{"raw":{"language":"json"}}},"url":"//revert-transactions"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Bad Request\",\r\n    \"status\": 400,\r\n    \"invalidParams\": [\r\n        {\r\n            \"description\": \"Transaction cannot be reverted\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"4df2a420-d60c-4ced-a88c-c3ef2f04ab16"}],"id":"1b107018-7c8b-4bae-b3c3-a9b3720058d9","description":"<p>This section contains an API endpoint to revert a successful transaction.</p>\n","_postman_id":"1b107018-7c8b-4bae-b3c3-a9b3720058d9"},{"name":"Get Transaction","item":[{"name":"get transaction status","id":"23a87c26-8fcf-4144-bae8-cfc575af589b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":"//transaction-requests/{{transactionRequestId}}/statuses?phoneNumber&uniqueIdentifier&loyaltyId","description":"<p>Gets transaction status</p>\n","urlObject":{"path":["transaction-requests","{{transactionRequestId}}","statuses"],"host":["/"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":null},{"key":"loyaltyId","value":null}],"variable":[]}},"response":[{"id":"03f7549a-f87a-4efe-ae4b-1a1e62080962","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"us-en","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"//transaction-requests/{{transactionRequestId}}/statuses?phoneNumber&uniqueIdentifier&loyaltyId","host":["/"],"path":["transaction-requests","{{transactionRequestId}}","statuses"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":null},{"key":"loyaltyId","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1507"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:12:00 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"61745ba0-c698-4d93-a2d6-ef1860e5a6f4\",\n    \"status\": \"Success\",\n    \"reason\": \"Transaction Successful\"\n}"},{"id":"94ec9481-b92e-41dd-a068-44d6959e0584","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"//transaction-requests/{{transactionRequestId}}/statuses?phoneNumber&uniqueIdentifier&loyaltyId","host":["/"],"path":["transaction-requests","{{transactionRequestId}}","statuses"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":null},{"key":"loyaltyId","value":null}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"c798aa37-0105-4fd9-876b-6931d1b442cb","name":"403 - ForBidden","originalRequest":{"method":"GET","header":[],"url":{"raw":"//transaction-requests/{{transactionRequestId}}/statuses?phoneNumber&uniqueIdentifier&loyaltyId","host":["/"],"path":["transaction-requests","{{transactionRequestId}}","statuses"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":null},{"key":"loyaltyId","value":null}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Forbidden\",\r\n    \"status\": 403,\r\n    \"detail\": \"You are trying to get transaction for another client\"\r\n}"},{"id":"76b9255c-0f1e-4233-8475-f4b4c9a4656e","name":"404 - NotFound","originalRequest":{"method":"GET","header":[],"url":{"raw":"//transaction-requests/{{transactionRequestId}}/statuses?phoneNumber&uniqueIdentifier&loyaltyId","host":["/"],"path":["transaction-requests","{{transactionRequestId}}","statuses"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":null},{"key":"loyaltyId","value":null}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Found\",\r\n    \"status\": 404,\r\n    \"detail\": \"client - Not Found\"\r\n}"},{"id":"c20eff76-c324-4193-b7de-d0092c8c8e43","name":"422 - Unprocessable Entity","originalRequest":{"method":"GET","header":[],"url":{"raw":"//transaction-requests/{{transactionRequestId}}/statuses?phoneNumber&uniqueIdentifier&loyaltyId","host":["/"],"path":["transaction-requests","{{transactionRequestId}}","statuses"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":null},{"key":"loyaltyId","value":null}]}},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Unprocessable Entity\",\r\n    \"status\": 422,\r\n    \"invalidParams\": [\r\n        {\r\n            \"description\": \"CustomerId is required\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"23a87c26-8fcf-4144-bae8-cfc575af589b"}],"id":"1c1c1b93-b00c-4633-bc81-2b019cf1358d","description":"<p>This section contains API endpoints related to retrieving neons transaction status.</p>\n","_postman_id":"1c1c1b93-b00c-4633-bc81-2b019cf1358d"},{"name":"Resend Otp For Transaction","item":[{"name":"transaction otp resending","id":"ac9bf7c7-6803-482b-8512-401f598ecea7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c712\"\n}","options":{"raw":{"language":"json"}}},"url":"//transaction-otp-resending","description":"<p>Resends the OTP for any valid transaction.<br />You can only resend 3 times, with a 30 seconds window between each resend.</p>\n","urlObject":{"path":["transaction-otp-resending"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"40d68982-68b0-4ced-8cd9-a743191508b3","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c712\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//transaction-otp-resending"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Length","value":"925"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:46:10 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"d7e9f7c1-76e4-47f8-9b1e-e78b4cbad576\",\n    \"transactionRequestId\": \"b8f7e5a3-2e8d-4f02-a2c8-2cb86f0a76c2\",\n    \"requiresOTP\": true,\n    \"balance\": 100.50,\n    \"numberOfPoints\": 250\n}"},{"id":"c6847015-69ff-42d5-8be0-47bcd0c63f14","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c712\"\n}","options":{"raw":{"language":"json"}}},"url":"//transaction-otp-resending"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"dc920e7c-1fc8-4c8c-b82b-d1a6791ff2e1","name":"406 - NotAcceptable","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c712\"\n}","options":{"raw":{"language":"json"}}},"url":"//transaction-otp-resending"},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Acceptable\",\r\n    \"status\": 406,\r\n    \"detail\": \"The language code is not supported\"\r\n}"},{"id":"e2014783-6f29-420a-b4b8-e2ed72f9303a","name":"404 - NotFound","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c712\"\n}","options":{"raw":{"language":"json"}}},"url":"//transaction-otp-resending"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"client - Not Found\"\n}"},{"id":"75662332-62fe-45af-b576-f2cecb4fa7f3","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"body":{"mode":"raw","raw":"{\n  \"transactionRequestId\": \"278d709e-86c8-4aba-8d09-876c90e6c712\"\n}","options":{"raw":{"language":"json"}}},"url":"//transaction-otp-resending"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Unprocessable Entity\",\r\n    \"status\": 422,\r\n    \"invalidParams\": [\r\n        {\r\n            \"description\": \"Invalid transaction\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"ac9bf7c7-6803-482b-8512-401f598ecea7"}],"id":"d5c73c3d-c1cf-4461-bcfa-bc2e7a7bd1cd","description":"<p>This section contains API endpoints related to resending otp for transactions.</p>\n","_postman_id":"d5c73c3d-c1cf-4461-bcfa-bc2e7a7bd1cd"},{"name":"Get Transactions","item":[{"name":"get all transactions","id":"1ee70227-2f06-4a79-a6ae-9ac608390ae3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":"//transactions?pageNumber=1&pageSize=10&loyaltyId=12121212","urlObject":{"path":["transactions"],"host":["/"],"query":[{"key":"pageNumber","value":"1"},{"disabled":true,"key":"transactionType","value":"earn"},{"disabled":true,"key":"status","value":"pending"},{"disabled":true,"key":"fromDate","value":"2025-01-12T19:10:30.772Z"},{"disabled":true,"key":"toDate","value":"2025-05-12T19:10:30.772Z"},{"disabled":true,"key":"label","value":""},{"disabled":true,"key":"points","value":"100"},{"disabled":true,"key":"phoneNumber","value":null},{"disabled":true,"key":"uniqueIdentifier","value":null},{"key":"pageSize","value":"10"},{"key":"loyaltyId","value":"12121212"}],"variable":[]}},"response":[{"id":"c1b61869-db8b-40bd-a901-815f70d108e3","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"//transactions?pageNumber=1&pageSize=10&loyaltyId=12121212","host":["/"],"path":["transactions"],"query":[{"key":"pageNumber","value":"1"},{"key":"transactionType","value":"earn","disabled":true},{"key":"status","value":"pending","disabled":true},{"key":"fromDate","value":"2025-01-12T19:10:30.772Z","disabled":true},{"key":"toDate","value":"2025-05-12T19:10:30.772Z","disabled":true},{"key":"phoneNumber","value":null,"disabled":true},{"key":"uniqueIdentifier","value":null,"disabled":true},{"key":"pageSize","value":"10"},{"key":"loyaltyId","value":"12121212"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"2256"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 30 May 2025 06:59:07 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"transactionId\": \"f0f0d156-d23e-474a-984b-8bea5629cdc1\",\n            \"date\": \"2025-05-26T15:53:08.670726Z\",\n            \"status\": \"Success\",\n            \"points\": 5,\n            \"transactionType\": \"Burn\",\n            \"subType\": \"BurnTransaction\",\n            \"customerId\": \"0196ed71-a6ef-74fd-956c-58a605ed51db\",\n            \"label\": \"reason1\",\n            \"customerName\": \"John Doe\",\n            \"mobileNumber\": \"+966532145428\",\n            \"merchantLogoUrl\": \"http://example.com/merchant-logo.jpg\"\n        },\n        {\n            \"transactionId\": \"56316566-1392-4234-8d12-55fab590b178\",\n            \"date\": \"2025-05-26T15:51:16.671474Z\",\n            \"status\": \"Success\",\n            \"points\": 5,\n            \"transactionType\": \"Earn\",\n            \"subType\": \"EarnTransaction\",\n            \"customerId\": \"0196ed71-a6ef-74fd-956c-58a605ed51db\",\n            \"label\": \"reason2\",\n            \"customerName\": \"Jane Smith\",\n            \"mobileNumber\": \"+966532145429\",\n            \"merchantLogoUrl\": \"http://example.com/merchant-logo-2.jpg\"\n        }\n    ],\n    \"page\": 1,\n    \"pageSize\": 10,\n    \"totalCount\": 20,\n    \"hasNextPage\": true,\n    \"hasPreviousPage\": false\n}"},{"id":"ee7e9bf4-0b05-4bed-b18f-758709ff4d76","name":"404 - NotFound","originalRequest":{"method":"GET","header":[],"url":{"raw":"//transactions?pageNumber=1&pageSize=10&loyaltyId=121212121","host":["/"],"path":["transactions"],"query":[{"key":"pageNumber","value":"1"},{"key":"transactionType","value":"earn","disabled":true},{"key":"status","value":"pending","disabled":true},{"key":"fromDate","value":"2025-01-12T19:10:30.772Z","disabled":true},{"key":"toDate","value":"2025-05-12T19:10:30.772Z","disabled":true},{"key":"phoneNumber","value":null,"disabled":true},{"key":"uniqueIdentifier","value":null,"disabled":true},{"key":"pageSize","value":"10"},{"key":"loyaltyId","value":"121212121"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 30 May 2025 07:03:24 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Person - Not Found\"\n}"},{"id":"8512f31c-191a-4f5d-a90e-88986681eacd","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"uniqueIdentifier\" : \"5623R34F\",\r\n    \"loyaltyId\":null,\r\n    \"phoneNumber\": null,\r\n    \"actionType\": \"Onboarding\",\r\n    \"request\": {\r\n        \"KPIItems\": {\r\n            \"kPI\": \"transaction\",\r\n            \"amount\": \"2000\",\r\n            \"category\": \"Card\",\r\n            \"action\": \"Pay\",\r\n            \"cardType\": \"Global\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"//transactions?pageNumber=1&pageSize=10&loyaltyId=12121212","host":["/"],"path":["transactions"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"loyaltyId","value":"12121212"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 30 May 2025 07:00:56 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The signature key was not found\""}],"cookie":[],"responseTime":null,"body":""},{"id":"d1be1694-00da-46cb-9a3f-08804f7c68db","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"//transactions?pageNumber=1&loyaltyId=12121212","host":["/"],"path":["transactions"],"query":[{"key":"pageNumber","value":"1"},{"key":"transactionType","value":"earn","disabled":true},{"key":"status","value":"pending","disabled":true},{"key":"fromDate","value":"2025-01-12T19:10:30.772Z","disabled":true},{"key":"toDate","value":"2025-05-12T19:10:30.772Z","disabled":true},{"key":"phoneNumber","value":null,"disabled":true},{"key":"uniqueIdentifier","value":null,"disabled":true},{"key":"pageSize","value":"10","disabled":true},{"key":"loyaltyId","value":"12121212"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 30 May 2025 07:05:27 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"PageSize must be positive number\"\n        }\n    ]\n}"}],"_postman_id":"1ee70227-2f06-4a79-a6ae-9ac608390ae3"},{"name":"get transaction details","id":"fb6fe492-7c96-4717-bf05-1d5c895cceda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"RequestId","value":"","type":"text"},{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":"//transaction-details/{{transactionId}}?loyaltyId={{loyaltyId}}","description":"<p>Get transaction details by transactionId with customer identification via query parameters. You can identify the customer using one of: customerId, loyaltyId, phoneNumber, or uniqueIdentifier.</p>\n","urlObject":{"path":["transaction-details","{{transactionId}}"],"host":["/"],"query":[{"description":{"content":"<p>The customer loyalty ID (alternative to customerId)</p>\n","type":"text/plain"},"key":"loyaltyId","value":"{{loyaltyId}}"},{"disabled":true,"description":{"content":"<p>The customer phone number (alternative to customerId)</p>\n","type":"text/plain"},"key":"phoneNumber","value":"{{phoneNumber}}"},{"disabled":true,"description":{"content":"<p>The customer unique identifier (alternative to customerId)</p>\n","type":"text/plain"},"key":"uniqueIdentifier","value":"{{uniqueIdentifier}}"}],"variable":[]}},"response":[{"id":"a520e801-17a0-43a1-b665-a88522252b37","name":"200 - Buy Transaction","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"Buy Neons\",\n  \"label\": \"Buy Neons\",\n  \"movement\": \"Earn\",\n  \"currency\": \"USD\",\n  \"neonsAmount\": 100,\n  \"cashAmount\": 50,\n  \"date\": \"2025-09-16T12:00:00Z\",\n  \"clientName\": \"Demo Client\"\n}\n"},{"id":"5c6bbe92-4951-4bb9-ab79-ce8876ad0389","name":"200 - Sell Transaction","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"Sell Neons\",\n  \"label\": \"Convert Neons to Cash\",\n  \"movement\": \"Burn\",\n  \"currency\": \"EUR\",\n  \"neonsAmount\": 80,\n  \"cashAmount\": 40,\n  \"date\": \"2025-09-16T12:00:00Z\",\n  \"clientName\": \"Demo Client\"\n}\n"},{"id":"f9edf1ea-c1ee-479d-a2a3-df9fb0462397","name":"200 - Transfer Transaction","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"Transfer From\",\n  \"label\": \"Transfer\",\n  \"movement\": \"Burn\",\n  \"neonsAmount\": 25,\n  \"senderName\": \"Alice\",\n  \"receiverName\": \"Bob\",\n  \"senderMobile\": \"+11111111\",\n  \"receiverMobile\": \"+22222222\",\n  \"transferNotes\": \"Birthday Gift\",\n  \"transferReason\": \"Gift\",\n  \"date\": \"2025-09-16T12:00:00Z\",\n  \"clientName\": \"Demo Client\"\n}\n"},{"id":"eb367f93-a915-42df-87a2-0b19e29c1e19","name":"200 - Exchange From Neons Transaction","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"Exchange From Neons\",\n  \"label\": \"Exchange\",\n  \"movement\": \"Burn\",\n  \"neonsAmount\": 500,\n  \"otherLoyaltySystemPoints\": 200,\n  \"otherLoyaltySystemCurrency\": \"PartnerPoints\",\n  \"date\": \"2025-09-16T12:00:00Z\",\n  \"clientName\": \"Demo Client\"\n}"},{"id":"3573a104-1c2f-49b3-9d0c-c6036e02b080","name":"200 - Exchange To Neons Transaction","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"Exchange To Neons\",\n    \"label\": \"Exchange\",\n    \"movement\": \"Earn\",\n    \"date\": \"2025-01-15T10:30:00Z\",\n    \"clientName\": \"Demo Client\",\n    \"neonsAmount\": 200.0,\n    \"otherLoyaltySystemPoints\": 400.0,\n    \"otherLoyaltySystemCurrency\": \"PartnerPoints\"\n}"},{"id":"7005a44d-dc1e-4218-8d66-cf71c3a80858","name":"200 - Recommendation Evaluation Transaction","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"Recommendation Evaluation\",\n    \"label\": \"Local Transaction\",\n    \"movement\": \"Earn\",\n    \"date\": \"2025-01-15T10:30:00Z\",\n    \"clientName\": \"Demo Client\",\n    \"neonsAmount\": 50.0,\n    \"evaluationParams\": [\n        {\n            \"parameterName\": \"Transaction Amount\",\n            \"parameterValue\": \"$150.00\"\n        },\n        {\n            \"parameterName\": \"Merchant Category\",\n            \"parameterValue\": \"Restaurants\"\n        }\n    ]\n}"},{"id":"26c24711-6116-4fce-b6e4-f8e83fa2df13","name":"200 - Request Transaction","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"Request Neons\",\n  \"label\": \"Request Neons\",\n  \"movement\": \"Earn\",\n  \"requesterName\": \"John\",\n  \"requesterMobile\": \"+11111111\",\n  \"reviewerName\": \"Mary\",\n  \"reviewerMobile\": \"+22222222\",\n  \"neonsAmount\": 150,\n  \"date\": \"2025-09-16T12:00:00Z\",\n  \"clientName\": \"Demo Client\"\n}\n"},{"id":"858d3aa0-c5d2-443a-a0de-8abb216617b3","name":"200 - Withdraw Transaction","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"Withdraw\",\n  \"label\": \"Burn Neons with NEO\",\n  \"movement\": \"Burn\",\n  \"neonsAmount\": 200,\n  \"customFields\": [\n    { \"id\": \"11111111-1111-1111-1111-111111111111\", \"key\": \"Bank\", \"value\": \"ABC Bank\" },\n    { \"id\": \"22222222-2222-2222-2222-222222222222\", \"key\": \"Account\", \"value\": \"123456\" }\n  ],\n  \"date\": \"2025-09-16T12:00:00Z\",\n  \"clientName\": \"Demo Client\"\n}\n"},{"id":"9b9d2cb8-c187-4608-8906-5572d3665134","name":"200 - Transaction with Reversions","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"Buy Neons\",\n    \"label\": \"Purchase Neons\",\n    \"movement\": \"Earn\",\n    \"date\": \"2025-01-15T10:30:00Z\",\n    \"clientName\": \"Demo Client\",\n    \"neonsAmount\": 100.0,\n    \"currency\": \"USD\",\n    \"cashAmount\": 50.0,\n    \"reversions\": [\n        {\n            \"reversionId\": \"019a1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c\",\n            \"reversionDate\": \"2025-01-16T14:45:00Z\",\n            \"reversionReason\": \"Customer Request\",\n            \"reversedAmount\": 100.0\n        }\n    ]\n}"},{"id":"d78eee85-a9e2-45f5-b6cd-3b7d69c33bbb","name":"200 - Product Referral","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"Product Referral\",\n  \"label\": \"Referral Reward\",\n  \"movement\": \"Earn\",\n  \"neonsAmount\": 75,\n  \"rewardName\": \"Special Discount\",\n  \"rewardId\": \"33333333-3333-3333-3333-333333333333\",\n  \"merchantName\": \"Demo Merchant\",\n  \"merchantId\": \"44444444-4444-4444-4444-444444444444\",\n  \"categoryName\": \"Electronics\",\n  \"categoryId\": \"55555555-5555-5555-5555-555555555555\",\n  \"date\": \"2025-09-16T12:00:00Z\",\n  \"clientName\": \"Demo Client\"\n}"},{"id":"f55d4afe-de93-4366-b19b-b85b53dbcd5e","name":"200 - Personal Referral","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"Registration Referral\",\n  \"label\": \"Registration Referral\",\n  \"movement\": \"Earn\",\n  \"neonsAmount\": 100,\n  \"referredCustomerName\": \"Referred Friend\",\n  \"date\": \"2025-09-16T12:00:00Z\",\n  \"clientName\": \"Demo Client\"\n}"},{"id":"5ef6e3dc-3a07-4033-a5e2-eeed262269dc","name":"200 - Influencer Referral","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"Influencer Referral\",\n  \"label\": \"Influencer Referral\",\n  \"movement\": \"Earn\",\n  \"neonsAmount\": 300,\n  \"date\": \"2025-09-16T12:00:00Z\",\n  \"clientName\": \"Demo Client\"\n}\n"},{"id":"4866d18b-ae21-4c0a-934d-ceac699e80ef","name":"200 - Lock Points Transaction","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"Lock Points\",\n  \"label\": \"Lock Points\",\n  \"movement\": \"Burn\",\n  \"neonsAmount\": 180,\n  \"reason\": \"Pending verification\",\n  \"date\": \"2025-09-16T12:00:00Z\",\n  \"clientName\": \"Demo Client\"\n}"},{"id":"49530556-6811-4147-862e-1254bc54b7e2","name":"200 - Manual Removal Transaction","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"Remove Neons\",\n  \"label\": \"Remove Neons\",\n  \"movement\": \"Burn\",\n  \"neonsAmount\": 50,\n  \"reason\": \"Fraud detected\",\n  \"date\": \"2025-09-16T12:00:00Z\",\n  \"clientName\": \"Demo Client\"\n}"},{"id":"e108743d-ee18-4975-afe3-e54c11bc59b2","name":"200 - Purchase Reward","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"Purchase Reward\",\n    \"label\": \"Purchase Reward\",\n    \"movement\": \"Burn\",\n    \"date\": \"2025-01-15T10:30:00Z\",\n    \"clientName\": \"Demo Client\",\n    \"neonsAmount\": 500.0,\n    \"rewardDetails\": {\n        \"id\": \"123e4567-e89b-12d3-a456-426614174002\",\n        \"status\": \"Active\",\n        \"nameEn\": \"50% Off Electronics\",\n        \"nameAr\": \"خصم 50% على الإلكترونيات\",\n        \"descriptionEn\": \"Get 50% discount on all electronics\",\n        \"descriptionAr\": \"احصل على خصم 50% على جميع الإلكترونيات\",\n        \"termsConditionsEn\": \"Valid for 30 days. Cannot be combined with other offers.\",\n        \"termsConditionsAr\": \"صالح لمدة 30 يوماً. لا يمكن دمجه مع عروض أخرى.\",\n        \"url\": \"https://techstore.com/discount\",\n        \"merchantName\": \"TechStore Plus\",\n        \"categoryName\": \"Electronics\",\n        \"redemptionType\": [\"Online\", \"InStore\"]\n    }\n}"},{"id":"9d3b6a65-cfb2-425c-b04a-e4b6aaad4b27","name":"200 - Minimal Transaction Response","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"string"}],"url":"//transaction-details/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"Buy Neons\",\n    \"date\": \"2025-01-15T10:30:00Z\",\n    \"neonsAmount\": 100.0\n}"},{"id":"1da71e18-4c55-4b0e-8151-51f87be13746","name":"200 - Point Request Transaction","originalRequest":{"method":"GET","header":[{"key":"RequestId","value":"","type":"text"},{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//transaction-details/{{transactionId}}","host":["/"],"path":["transaction-details","{{transactionId}}"],"query":[{"key":"loyaltyId","value":"{{loyaltyId}}","description":"The customer loyalty ID (alternative to customerId)","disabled":true},{"key":"phoneNumber","value":"{{phoneNumber}}","description":"The customer phone number (alternative to customerId)","disabled":true},{"key":"uniqueIdentifier","value":"{{uniqueIdentifier}}","description":"The customer unique identifier (alternative to customerId)","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n  \"type\": \"Points Request\",\r\n  \"label\": \"Points Request\",\r\n  \"movement\": \"Earn\",\r\n  \"neonsAmount\": 200,\r\n  \"reason\": \"Special campaign\",\r\n  \"date\": \"2025-09-16T12:00:00Z\",\r\n  \"clientName\": \"Demo Client\"\r\n}"},{"id":"431f9347-0c92-4abe-8258-12a81337fcdf","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":"//transaction-details/{{transactionId}}"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\""}],"cookie":[],"responseTime":null,"body":""},{"id":"054298a3-69e6-422c-8ffa-36fa170e7f97","name":"403 - Forbidden","originalRequest":{"method":"GET","header":[],"url":"//transaction-details/{{transactionId}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Forbidden\",\n    \"status\": 403,\n    \"detail\": \"You are trying to view the transaction details for another customer\"\n}"},{"id":"6a968e0c-6796-4a1e-89a5-7a82bc4bcb17","name":"404 - Not Found","originalRequest":{"method":"GET","header":[],"url":"//transaction-details/{{transactionId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Transaction not found\"\n}"},{"id":"10cf41a7-8318-436c-ad68-925b3c0a8bc7","name":"422 - Unprocessable Entity","originalRequest":{"method":"GET","header":[],"url":"//transaction-details/{{transactionId}}"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"Invalid customer ID format\"\n        }\n    ]\n}"},{"id":"ae2d4c78-5ecc-4695-bb09-8d3da094e458","name":"200 OK - AR","originalRequest":{"method":"GET","header":[{"key":"RequestId","value":"","type":"text"},{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//transaction-details/{{transactionId}}?loyaltyId={{loyaltyId}}","host":["/"],"path":["transaction-details","{{transactionId}}"],"query":[{"key":"loyaltyId","value":"{{loyaltyId}}","description":"The customer loyalty ID (alternative to customerId)"},{"key":"phoneNumber","value":"{{phoneNumber}}","description":"The customer phone number (alternative to customerId)","disabled":true},{"key":"uniqueIdentifier","value":"{{uniqueIdentifier}}","description":"The customer unique identifier (alternative to customerId)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"275"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 29 Dec 2025 03:14:59 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-Id","value":"e23d27b0-c10e-4d81-9f74-d2add40a1b00"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"Transfer From\",\n    \"date\": \"2025-12-29T03:05:28.6708174Z\",\n    \"clientName\": \"Client HP\",\n    \"senderName\": \"Gaston Bailey\",\n    \"reason\": \"Transaction Successful\",\n    \"status\": \"Success\",\n    \"neonsAmount\": 50,\n    \"movement\": \"Burn\",\n    \"label\": \"تحويل نيونز\",\n    \"receiverName\": \"Vincenza Buckridge\"\n}"},{"id":"5bc1c65a-0e14-4d61-ace7-059105dceb63","name":"200 OK - EN - 30-12-2025 Sell","originalRequest":{"method":"GET","header":[{"key":"RequestId","value":"","type":"text"},{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//transaction-details/{{transactionId}}?loyaltyId={{loyaltyId}}","host":["/"],"path":["transaction-details","{{transactionId}}"],"query":[{"key":"loyaltyId","value":"{{loyaltyId}}","description":"The customer loyalty ID (alternative to customerId)"},{"key":"phoneNumber","value":"{{phoneNumber}}","description":"The customer phone number (alternative to customerId)","disabled":true},{"key":"uniqueIdentifier","value":"{{uniqueIdentifier}}","description":"The customer unique identifier (alternative to customerId)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"420"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 30 Dec 2025 07:00:16 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-Id","value":"e98d0cea-382c-485b-b2b7-0d2519467cb3"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"Sell Neons\",\n    \"date\": \"2025-12-29T02:59:28.5988303Z\",\n    \"clientName\": \"Client HP\",\n    \"status\": \"Success\",\n    \"rate\": 10,\n    \"neonsAmount\": 5,\n    \"movement\": \"Burn\",\n    \"currency\": \"LBP\",\n    \"cashAmount\": 100,\n    \"label\": \"Convert Neons to Cash\",\n    \"fields\": [\n        {\n            \"label\": \"NumberOfPoints\",\n            \"value\": \"5.00\"\n        },\n        {\n            \"label\": \"Amount\",\n            \"value\": \"100.00\"\n        },\n        {\n            \"label\": \"Rate\",\n            \"value\": \"10.00\"\n        },\n        {\n            \"label\": \"CurrencyCode\",\n            \"value\": \"LBP\"\n        },\n        {\n            \"label\": \"Status\",\n            \"value\": \"Success\"\n        }\n    ]\n}"},{"id":"c4cb39b6-ba77-4b32-932e-08b362bc72d1","name":"200 OK - AR - 30-12-2025 Sell","originalRequest":{"method":"GET","header":[{"key":"RequestId","value":"","type":"text"},{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//transaction-details/{{transactionId}}?loyaltyId={{loyaltyId}}","host":["/"],"path":["transaction-details","{{transactionId}}"],"query":[{"key":"loyaltyId","value":"{{loyaltyId}}","description":"The customer loyalty ID (alternative to customerId)"},{"key":"phoneNumber","value":"{{phoneNumber}}","description":"The customer phone number (alternative to customerId)","disabled":true},{"key":"uniqueIdentifier","value":"{{uniqueIdentifier}}","description":"The customer unique identifier (alternative to customerId)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"460"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 30 Dec 2025 07:01:15 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-Id","value":"c4183155-66d9-440a-9852-c3104e992430"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"Sell Neons\",\n    \"date\": \"2025-12-29T02:59:28.5988303Z\",\n    \"clientName\": \"Client HP\",\n    \"status\": \"Success\",\n    \"rate\": 10,\n    \"neonsAmount\": 5,\n    \"movement\": \"Burn\",\n    \"currency\": \"LBP\",\n    \"cashAmount\": 100,\n    \"label\": \"تحويل النيونات إلى نقد\",\n    \"fields\": [\n        {\n            \"label\": \"عدد النقاط\",\n            \"value\": \"5.00\"\n        },\n        {\n            \"label\": \"كمية\",\n            \"value\": \"100.00\"\n        },\n        {\n            \"label\": \"معدل\",\n            \"value\": \"10.00\"\n        },\n        {\n            \"label\": \"رمز العملة\",\n            \"value\": \"LBP\"\n        },\n        {\n            \"label\": \"حالة\",\n            \"value\": \"Success\"\n        }\n    ]\n}"},{"id":"858a79fd-2fcd-4c2b-9274-da604b3e0859","name":"200 OK - Sell Neons","originalRequest":{"method":"GET","header":[{"key":"RequestId","value":"","type":"text"},{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//transaction-details/{{transactionId}}?loyaltyId={{loyaltyId}}","host":["/"],"path":["transaction-details","{{transactionId}}"],"query":[{"key":"loyaltyId","value":"{{loyaltyId}}","description":"The customer loyalty ID (alternative to customerId)"},{"key":"phoneNumber","value":"{{phoneNumber}}","description":"The customer phone number (alternative to customerId)","disabled":true},{"key":"uniqueIdentifier","value":"{{uniqueIdentifier}}","description":"The customer unique identifier (alternative to customerId)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"480"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 09 Jan 2026 04:24:29 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-Id","value":"82cad0f9-15e4-44fc-9d00-5a649dafc272"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"Sell Neons\",\n    \"date\": \"2026-01-01T06:48:46.8468036Z\",\n    \"clientName\": \"CLIENT-HP-01-01\",\n    \"status\": \"Success\",\n    \"rate\": 10,\n    \"neonsAmount\": 100,\n    \"movement\": \"Burn\",\n    \"currency\": \"LBP\",\n    \"cashAmount\": 2000,\n    \"label\": \"Convert Neons to Cash\",\n    \"fields\": [\n        {\n            \"label\": \"NumberOfPoints\",\n            \"value\": \"100.00\"\n        },\n        {\n            \"label\": \"Rate\",\n            \"value\": \"10.00\"\n        },\n        {\n            \"label\": \"Status\",\n            \"value\": \"Success\"\n        },\n        {\n            \"label\": \"CurrencyCode\",\n            \"value\": \"LBP\"\n        },\n        {\n            \"label\": \"Amount\",\n            \"value\": \"2000.00\"\n        }\n    ],\n    \"description\": \"Neons converted to Saudi Riyals\"\n}"}],"_postman_id":"fb6fe492-7c96-4717-bf05-1d5c895cceda"}],"id":"108556df-3786-48f8-ad89-e0ef9f25c6d2","description":"<p>This section contains API endpoints related to getting transaction histories.</p>\n","_postman_id":"108556df-3786-48f8-ad89-e0ef9f25c6d2"},{"name":"Lock Neons","item":[{"name":"lock neons","id":"47e1b83b-3169-4275-9fe8-0c988bfa2328","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"068540ce-742b-4e13-ad73-0bee1bc64921\",\r\n  \"numberOfPoints\": 100,\r\n  \"loyaltyId\": \"12121212\",\r\n  \"phoneNumber\": \"\",\r\n  \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//locked-points-transactions","description":"<p>Creates a Lock points Transaction to lock customer's points.</p>\n","urlObject":{"path":["locked-points-transactions"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"3f4c054c-7718-4ab2-942c-3b99259a5f09","name":"200 - Ok","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"068540ce-742b-4e13-ad73-0bee1bc64921\",\r\n  \"numberOfPoints\": 100,\r\n  \"loyaltyId\": \"12121212\",\r\n  \"phoneNumber\": \"\",\r\n  \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//locked-points-transactions"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"181"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 12 Aug 2025 08:01:33 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Request-ID","value":"dc878b81-4ffd-46e0-9578-8f63fc92d41f"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"transactionId\": \"452b99ad-e977-4297-8034-f8d8342a60d1\",\n    \"transactionRequestId\": \"068540ce-742b-4e13-ad73-0bee1bc64921\",\n    \"requiresOTP\": false,\n    \"balance\": 2552411,\n    \"numberOfPoints\": 100\n}"},{"id":"e62977a2-f618-442a-aea3-2eb5033446aa","name":"404 - NotFound","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"068540ce-742b-4e13-ad73-0bee1bc64921\",\r\n  \"numberOfPoints\": 100,\r\n  \"loyaltyId\": \"12121213\",\r\n  \"phoneNumber\": \"\",\r\n  \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//locked-points-transactions"},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 12 Aug 2025 08:04:51 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Person - Not Found\"\n}"},{"id":"be81393d-da8c-4f95-83a6-b5274b69e424","name":"422 - Unprocessable Entity","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"068540ce-742b-4e13-ad73-0bee1bc64921\",\r\n  \"numberOfPoints\": 100,\r\n  \"loyaltyId\": \"12121212\",\r\n  \"phoneNumber\": \"\",\r\n  \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//locked-points-transactions"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 12 Aug 2025 08:07:11 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"TransactionRequestID already exists\"\n        }\n    ]\n}"},{"id":"30adfd2a-ace3-4432-b9b8-1e1021b3d724","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"transactionRequestId\": \"068540ce-742b-4e13-ad73-0bee1bc64921\",\r\n  \"numberOfPoints\": 100,\r\n  \"loyaltyId\": \"12121212\",\r\n  \"phoneNumber\": \"\",\r\n  \"uniqueIdentifier\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//locked-points-transactions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"47e1b83b-3169-4275-9fe8-0c988bfa2328"}],"id":"151f55bf-1e8f-4e02-82e3-e66e569c1c2b","description":"<p>This section contains API endpoints related to deduct neons on campaign initiation.</p>\n","_postman_id":"151f55bf-1e8f-4e02-82e3-e66e569c1c2b"}],"id":"60532a6f-193d-4d8d-b0b6-44f86f519115","_postman_id":"60532a6f-193d-4d8d-b0b6-44f86f519115","description":""},{"name":"Promo Codes","item":[{"name":"validate promo code","id":"4f61456f-7bd9-4b90-b442-ac23c5c7cbec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":"//promo-codes/{{promoCode}}/validations?loyaltyId=30394544","description":"<p>Validates a promo code.</p>\n","urlObject":{"path":["promo-codes","{{promoCode}}","validations"],"host":["/"],"query":[{"key":"loyaltyId","value":"30394544"}],"variable":[]}},"response":[{"id":"74296072-c248-49e6-a435-a8dc599292f9","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//promo-codes/{{promoCode}}/validations?loyaltyId=30394544","host":["/"],"path":["promo-codes","{{promoCode}}","validations"],"query":[{"key":"loyaltyId","value":"30394544"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"157"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 05 Sep 2025 07:05:18 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"415b3bc7-7f1a-4ca4-95db-99f91c972368"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"isValid\": true,\n    \"promoCode\": \"SAVE20\",\n    \"startDate\": \"2025-09-05T00:00:00Z\",\n    \"endDate\": \"2025-10-05T00:00:00Z\",\n    \"type\": \"Percentage\",\n    \"amount\": 20,\n    \"errorMessage\": \"\"\n}"},{"id":"d160dfea-fe3e-4b9b-84c1-1f949c55c07e","name":"404 - NotFound","originalRequest":{"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//promo-codes/{{promoCode}}/validations?loyaltyId=30394544","host":["/"],"path":["promo-codes","{{promoCode}}","validations"],"query":[{"key":"loyaltyId","value":"30394544"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 05 Sep 2025 07:06:15 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Customer - Not Found\"\n}"},{"id":"6126f930-7fae-4454-a522-25799863b239","name":"422 - Unprocessable Entity","originalRequest":{"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//promo-codes/{{promoCode}}/validations?loyaltyId=30394544","host":["/"],"path":["promo-codes","{{promoCode}}","validations"],"query":[{"key":"loyaltyId","value":"30394544"}]}},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 05 Sep 2025 07:07:18 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"Phone Number is invalid\"\n        }\n    ]\n}"},{"id":"2d97b3c9-2fa7-4e0a-8df2-5c647f47b74b","name":"401 - Unauthorized Copy","originalRequest":{"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//promo-codes/{{promoCode}}/validations?loyaltyId=30394544","host":["/"],"path":["promo-codes","{{promoCode}}","validations"],"query":[{"key":"loyaltyId","value":"30394544"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4f61456f-7bd9-4b90-b442-ac23c5c7cbec"}],"id":"5dc5f080-d3dd-4b3c-8c33-7ea1254b5104","description":"<p>This section provides API endpoints for promo codes. Codes that give users a predefined discount or reward when applied during a purchase.</p>\n","_postman_id":"5dc5f080-d3dd-4b3c-8c33-7ea1254b5104"},{"name":"Campaigns","item":[{"name":"get customer campaigns","id":"8821dfda-1240-471b-a5b2-ac12569f8d23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":"//campaigns?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId","description":"<p>Gets the list of published/active campaigns for the current client sorted from oldest published date to newest published date.</p>\n","urlObject":{"path":["campaigns"],"host":["/"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null}],"variable":[]}},"response":[{"id":"731db634-0f4b-4af7-aa35-7bee319244e9","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//campaigns?loyaltyId=23124571","host":["/"],"path":["campaigns"],"query":[{"key":"phoneNumber","value":null,"disabled":true},{"key":"uniqueIdentifier","value":"5623R54E","disabled":true},{"key":"loyaltyId","value":"23124571"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"172"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 06 Jan 2026 11:40:30 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"eab1f275-8f6a-48b8-9a7a-88d82dc076f4"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"b987cbe9-7bdc-4cc3-1377-08de485f39c9\",\n        \"name\": \"Campaign 4\",\n        \"startDate\": \"2025-12-28T01:21:45Z\",\n        \"endDate\": \"2028-12-16T01:21:45Z\",\n        \"publishDate\": \"2025-12-28T01:21:45Z\"\n    }\n]"},{"id":"48f5a695-ad74-4a6e-969d-a03f859be901","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//campaigns?loyaltyId=23124571","host":["/"],"path":["campaigns"],"query":[{"key":"phoneNumber","value":null,"disabled":true},{"key":"uniqueIdentifier","value":"5623R54E","disabled":true},{"key":"loyaltyId","value":"23124571"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 06 Jan 2026 11:41:21 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"09789917-9850-4273-841a-23afd6a18cc0"}],"cookie":[],"responseTime":null,"body":""},{"id":"30f10705-5b9e-45e5-b441-56480a1327b7","name":"404 - NotFound","originalRequest":{"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//campaigns?loyaltyId=23124572","host":["/"],"path":["campaigns"],"query":[{"key":"phoneNumber","value":null,"disabled":true},{"key":"uniqueIdentifier","value":"5623R54E","disabled":true},{"key":"loyaltyId","value":"23124572"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 06 Jan 2026 11:42:29 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Customer not found\"\n}"}],"_postman_id":"8821dfda-1240-471b-a5b2-ac12569f8d23"},{"name":"get configurations","id":"efea0566-21d2-4432-9d40-d77fefe6a655","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":"//campaigns/{{campaignId}}/configurations?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId&pageNumber=1&pageSize=10","description":"<p>Retrieves the list of campaign configurations (moments) for the logged-in user based and the specified campaign ID</p>\n","urlObject":{"path":["campaigns","{{campaignId}}","configurations"],"host":["/"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"disabled":true,"key":"categoryIds","value":null},{"disabled":true,"key":"actionTypes","value":null},{"disabled":true,"key":"rewardTypes","value":null}],"variable":[]}},"response":[{"id":"66fb780f-dae6-4be8-9e25-75a35ac69299","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//campaigns/{{campaignId}}/configurations?loyaltyId=36972467&pageNumber=1&pageSize=10","host":["/"],"path":["campaigns","{{campaignId}}","configurations"],"query":[{"key":"phoneNumber","value":null,"disabled":true},{"key":"uniqueIdentifier","value":"5623R54E","disabled":true},{"key":"loyaltyId","value":"36972467"},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"3180"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 06 Jan 2026 13:07:34 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"dc96917a-ef83-4ef0-966d-db8e98c5faff"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"configurationId\": \"703dbdbd-dd10-404b-f12d-08de4d1c3b43\",\n            \"startDate\": \"2025-02-02T05:14:35.473Z\",\n            \"endDate\": \"2025-03-03T05:14:35.473Z\",\n            \"actionType\": \"VoucherPurchase\",\n            \"rewardType\": \"Voucher\",\n            \"metadata\": {\n                \"id\": \"b71c95f2-9a40-44b0-edf6-08de485e5b18\",\n                \"priceDiscountPercentage\": 20,\n                \"configDescription\": \"description for configuration\",\n                \"howToUse\": \"Get configuration code\",\n                \"configImageUrl\": \"http://localhost:8000/files/public?filename=13566d89-732b-48cb-950b-f070a010ce55.jpg\",\n                \"customFields\": [\n                    {\n                        \"name\": \"TermsAndConditions\",\n                        \"type\": \"String\",\n                        \"value\": \"TERMS AND CONDITIONS\"\n                    }\n                ],\n                \"name\": \"Holiday Discount\",\n                \"status\": \"Active\",\n                \"description\": \"Get a 50% discount on all items during the holiday season!\",\n                \"termsConditions\": [\n                    \"Valid from December 22, 2024, to December 31, 2024. No minimum purchase required. Cannot be combined with other offers.\"\n                ],\n                \"voucherRetrievalSteps\": [\n                    \"step1\",\n                    \"step2\"\n                ],\n                \"minPurchaseAmount\": 0,\n                \"maxPurchaseAmount\": 0,\n                \"percentage\": 0,\n                \"url\": \"https://example.com/holiday-discount\",\n                \"merchantId\": \"6f7a31f7-9339-4220-a454-08de485ce607\",\n                \"issueVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n                \"issueVoucherTo\": \"2026-05-14T17:01:37.628Z\",\n                \"redemptionVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n                \"redemptionVoucherTo\": \"2026-05-30T17:01:37.628Z\",\n                \"itemPricePoints\": 120,\n                \"isUnlimitedRedemption\": true,\n                \"voucherNumberPerCustomer\": 0,\n                \"periodPerDays\": 90,\n                \"merchantName\": \"ElectroMart\",\n                \"merchantCategoryName\": \"Electronics\",\n                \"voucherSource\": \"Internal\",\n                \"voucherType\": [\n                    \"Pin\"\n                ],\n                \"redemptionType\": [\n                    \"Online\"\n                ],\n                \"redemptionSteps\": [\n                    \"first step\",\n                    \"second step\"\n                ],\n                \"isHotOffer\": false,\n                \"rewardType\": \"FreeItem\",\n                \"isGiftCardRange\": false,\n                \"currencyId\": \"bd31d482-174d-419e-a3bd-fbdfcf883c9b\",\n                \"itemValue\": 50,\n                \"isEligibleForReferrals\": true\n            }\n        },\n        {\n            \"configurationId\": \"703dbdbd-dd10-404b-f12d-08de4d1c3b43\",\n            \"startDate\": \"2025-02-02T05:14:35.473Z\",\n            \"endDate\": \"2025-03-03T05:14:35.473Z\",\n            \"actionType\": \"VoucherPurchase\",\n            \"rewardType\": \"Voucher\",\n            \"metadata\": {\n                \"id\": \"8c4280dd-61a6-4a83-edf7-08de485e5b18\",\n                \"priceDiscountPercentage\": 20,\n                \"configDescription\": \"description for configuration\",\n                \"howToUse\": \"Get configuration code\",\n                \"configImageUrl\": \"http://localhost:8000/files/public?filename=13566d89-732b-48cb-950b-f070a010ce55.jpg\",\n                \"customFields\": [\n                    {\n                        \"name\": \"TermsAndConditions\",\n                        \"type\": \"String\",\n                        \"value\": \"TERMS AND CONDITIONS\"\n                    }\n                ],\n                \"name\": \"Holiday Discount\",\n                \"status\": \"Active\",\n                \"description\": \"Get a 50% discount on all items during the holiday season!\",\n                \"termsConditions\": [\n                    \"Valid from December 22, 2024, to December 31, 2024. No minimum purchase required. Cannot be combined with other offers.\"\n                ],\n                \"voucherRetrievalSteps\": [\n                    \"step1\",\n                    \"step2\"\n                ],\n                \"minPurchaseAmount\": 0,\n                \"maxPurchaseAmount\": 0,\n                \"percentage\": 0,\n                \"url\": \"https://example.com/holiday-discount\",\n                \"merchantId\": \"6f7a31f7-9339-4220-a454-08de485ce607\",\n                \"issueVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n                \"issueVoucherTo\": \"2026-05-14T17:01:37.628Z\",\n                \"redemptionVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n                \"redemptionVoucherTo\": \"2026-05-30T17:01:37.628Z\",\n                \"itemPricePoints\": 120,\n                \"isUnlimitedRedemption\": true,\n                \"voucherNumberPerCustomer\": 0,\n                \"periodPerDays\": 90,\n                \"merchantName\": \"ElectroMart\",\n                \"merchantCategoryName\": \"Electronics\",\n                \"voucherSource\": \"Internal\",\n                \"voucherType\": [\n                    \"Pin\"\n                ],\n                \"redemptionType\": [\n                    \"Online\"\n                ],\n                \"redemptionSteps\": [\n                    \"first step\",\n                    \"second step\"\n                ],\n                \"isHotOffer\": false,\n                \"rewardType\": \"FreeItem\",\n                \"isGiftCardRange\": false,\n                \"currencyId\": \"bd31d482-174d-419e-a3bd-fbdfcf883c9b\",\n                \"itemValue\": 50,\n                \"isEligibleForReferrals\": true\n            }\n        },\n        {\n            \"configurationId\": \"e6e3a3e3-c541-49e5-f12c-08de4d1c3b43\",\n            \"startDate\": \"2025-12-31T05:14:35.473Z\",\n            \"endDate\": \"2025-02-01T05:14:35.473Z\",\n            \"actionType\": \"CardTransaction\",\n            \"rewardType\": \"Discount\",\n            \"metadata\": {\n                \"id\": \"48cb56df-c9ce-4124-dd77-08de4cfb24ac\",\n                \"name\": \"Super Market\",\n                \"priceDiscountPercentage\": 10,\n                \"configDescription\": \"description for configuration\",\n                \"howToUse\": \"Get configuration code\",\n                \"configImageUrl\": \"http://localhost:8000/files/public?filename=99fbb5a8-798e-4263-b474-ef803cc200a7.jpg\",\n                \"customFields\": [\n                    {\n                        \"name\": \"TermsAndConditions\",\n                        \"type\": \"String\",\n                        \"value\": \"TERMS AND CONDITIONS\"\n                    }\n                ],\n                \"merchantLogoUrl\": \"http://localhost:8000/files/public?filename=d6c06918-90be-4a0d-a8a3-4dd5fa92e73d.jpg\",\n                \"cardTypes\": [\n                    \"Platinum Elite Card\"\n                ]\n            }\n        },\n        {\n            \"configurationId\": \"94378d4e-6751-4566-7cbc-08de4daf5811\",\n            \"startDate\": \"2026-03-15T05:14:35.473Z\",\n            \"endDate\": \"2026-04-04T05:14:35.473Z\",\n            \"actionType\": \"VoucherPurchase\",\n            \"rewardType\": \"Voucher\",\n            \"metadata\": {\n                \"id\": \"8c4280dd-61a6-4a83-edf7-08de485e5b18\",\n                \"cashBackPercentage\": 10,\n                \"configDescription\": \"description for configuration\",\n                \"howToUse\": \"Get configuration code\",\n                \"customFields\": [\n                    {\n                        \"name\": \"TermsAndConditions\",\n                        \"type\": \"String\",\n                        \"value\": \"TERMS AND CONDITIONS\"\n                    }\n                ],\n                \"name\": \"Holiday Discount\",\n                \"status\": \"Active\",\n                \"description\": \"Get a 50% discount on all items during the holiday season!\",\n                \"termsConditions\": [\n                    \"Valid from December 22, 2024, to December 31, 2024. No minimum purchase required. Cannot be combined with other offers.\"\n                ],\n                \"voucherRetrievalSteps\": [\n                    \"step1\",\n                    \"step2\"\n                ],\n                \"minPurchaseAmount\": 0,\n                \"maxPurchaseAmount\": 0,\n                \"percentage\": 0,\n                \"url\": \"https://example.com/holiday-discount\",\n                \"merchantId\": \"6f7a31f7-9339-4220-a454-08de485ce607\",\n                \"issueVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n                \"issueVoucherTo\": \"2026-05-14T17:01:37.628Z\",\n                \"redemptionVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n                \"redemptionVoucherTo\": \"2026-05-30T17:01:37.628Z\",\n                \"itemPricePoints\": 120,\n                \"isUnlimitedRedemption\": true,\n                \"voucherNumberPerCustomer\": 0,\n                \"periodPerDays\": 90,\n                \"merchantName\": \"ElectroMart\",\n                \"merchantCategoryName\": \"Electronics\",\n                \"voucherSource\": \"Internal\",\n                \"voucherType\": [\n                    \"Pin\"\n                ],\n                \"redemptionType\": [\n                    \"Online\"\n                ],\n                \"redemptionSteps\": [\n                    \"first step\",\n                    \"second step\"\n                ],\n                \"isHotOffer\": false,\n                \"rewardType\": \"FreeItem\",\n                \"isGiftCardRange\": false,\n                \"currencyId\": \"bd31d482-174d-419e-a3bd-fbdfcf883c9b\",\n                \"itemValue\": 50,\n                \"isEligibleForReferrals\": true\n            }\n        },\n        {\n            \"configurationId\": \"94378d4e-6751-4566-7cbc-08de4daf5811\",\n            \"startDate\": \"2026-03-15T05:14:35.473Z\",\n            \"endDate\": \"2026-04-04T05:14:35.473Z\",\n            \"actionType\": \"VoucherPurchase\",\n            \"rewardType\": \"Voucher\",\n            \"metadata\": {\n                \"id\": \"b71c95f2-9a40-44b0-edf6-08de485e5b18\",\n                \"cashBackPercentage\": 10,\n                \"configDescription\": \"description for configuration\",\n                \"howToUse\": \"Get configuration code\",\n                \"customFields\": [\n                    {\n                        \"name\": \"TermsAndConditions\",\n                        \"type\": \"String\",\n                        \"value\": \"TERMS AND CONDITIONS\"\n                    }\n                ],\n                \"name\": \"Holiday Discount\",\n                \"status\": \"Active\",\n                \"description\": \"Get a 50% discount on all items during the holiday season!\",\n                \"termsConditions\": [\n                    \"Valid from December 22, 2024, to December 31, 2024. No minimum purchase required. Cannot be combined with other offers.\"\n                ],\n                \"voucherRetrievalSteps\": [\n                    \"step1\",\n                    \"step2\"\n                ],\n                \"minPurchaseAmount\": 0,\n                \"maxPurchaseAmount\": 0,\n                \"percentage\": 0,\n                \"url\": \"https://example.com/holiday-discount\",\n                \"merchantId\": \"6f7a31f7-9339-4220-a454-08de485ce607\",\n                \"issueVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n                \"issueVoucherTo\": \"2026-05-14T17:01:37.628Z\",\n                \"redemptionVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n                \"redemptionVoucherTo\": \"2026-05-30T17:01:37.628Z\",\n                \"itemPricePoints\": 120,\n                \"isUnlimitedRedemption\": true,\n                \"voucherNumberPerCustomer\": 0,\n                \"periodPerDays\": 90,\n                \"merchantName\": \"ElectroMart\",\n                \"merchantCategoryName\": \"Electronics\",\n                \"voucherSource\": \"Internal\",\n                \"voucherType\": [\n                    \"Pin\"\n                ],\n                \"redemptionType\": [\n                    \"Online\"\n                ],\n                \"redemptionSteps\": [\n                    \"first step\",\n                    \"second step\"\n                ],\n                \"isHotOffer\": false,\n                \"rewardType\": \"FreeItem\",\n                \"isGiftCardRange\": false,\n                \"currencyId\": \"bd31d482-174d-419e-a3bd-fbdfcf883c9b\",\n                \"itemValue\": 50,\n                \"isEligibleForReferrals\": true\n            }\n        },\n        {\n            \"configurationId\": \"56fbfcce-fc21-4111-7cbd-08de4daf5811\",\n            \"startDate\": \"2026-06-15T05:14:35.473Z\",\n            \"endDate\": \"2026-07-04T05:14:35.473Z\",\n            \"actionType\": \"CardTransaction\",\n            \"rewardType\": \"Discount\",\n            \"metadata\": {\n                \"id\": \"48cb56df-c9ce-4124-dd77-08de4cfb24ac\",\n                \"name\": \"Super Market\",\n                \"priceDiscountPercentage\": 10,\n                \"configDescription\": \"description for configuration\",\n                \"howToUse\": \"Get configuration code\",\n                \"customFields\": [\n                    {\n                        \"name\": \"TermsAndConditions\",\n                        \"type\": \"String\",\n                        \"value\": \"TERMS AND CONDITIONS\"\n                    }\n                ],\n                \"merchantLogoUrl\": \"http://localhost:8000/files/public?filename=d6c06918-90be-4a0d-a8a3-4dd5fa92e73d.jpg\",\n                \"cardTypes\": [\n                    \"Platinum Elite Card\"\n                ]\n            }\n        },\n        {\n            \"configurationId\": \"56fbfcce-fc21-4111-7cbd-08de4daf5811\",\n            \"startDate\": \"2026-06-15T05:14:35.473Z\",\n            \"endDate\": \"2026-07-04T05:14:35.473Z\",\n            \"actionType\": \"CardTransaction\",\n            \"rewardType\": \"Discount\",\n            \"metadata\": {\n                \"id\": \"a8021170-c7ce-461b-dd78-08de4cfb24ac\",\n                \"name\": \"Super Market 1\",\n                \"priceDiscountPercentage\": 10,\n                \"configDescription\": \"description for configuration\",\n                \"howToUse\": \"Get configuration code\",\n                \"customFields\": [\n                    {\n                        \"name\": \"TermsAndConditions\",\n                        \"type\": \"String\",\n                        \"value\": \"TERMS AND CONDITIONS\"\n                    }\n                ],\n                \"merchantLogoUrl\": \"http://localhost:8000/files/public?filename=7ef940fb-2e46-48a5-ae6a-aaaec4a17370.jpg\",\n                \"cardTypes\": [\n                    \"Platinum Elite Card\"\n                ]\n            }\n        }\n    ],\n    \"page\": 1,\n    \"pageSize\": 10,\n    \"totalCount\": 7,\n    \"hasNextPage\": false,\n    \"hasPreviousPage\": false\n}"},{"id":"4cec8dbc-cdfc-4c6a-9814-f805730d7112","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//campaigns/{{campaignId}}/configurations?loyaltyId=36972467&pageNumber=1&pageSize=10","host":["/"],"path":["campaigns","{{campaignId}}","configurations"],"query":[{"key":"phoneNumber","value":null,"disabled":true},{"key":"uniqueIdentifier","value":"5623R54E","disabled":true},{"key":"loyaltyId","value":"36972467"},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 06 Jan 2026 12:13:46 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '01/06/2026 12:07:12'\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"b7c932da-e95b-46e9-adb5-b9b65c817d98"}],"cookie":[],"responseTime":null,"body":""},{"id":"c44f5048-72a0-46cc-b2bf-79833c7493a2","name":"404 - NotFound","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//campaigns/{{campaignId}}/configurations?loyaltyId=36972461&pageNumber=1&pageSize=10","host":["/"],"path":["campaigns","{{campaignId}}","configurations"],"query":[{"key":"phoneNumber","value":null,"disabled":true},{"key":"uniqueIdentifier","value":"5623R54E","disabled":true},{"key":"loyaltyId","value":"36972461"},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 06 Jan 2026 13:08:30 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Customer not found\"\n}"},{"id":"0ff80a88-fbab-4ac2-af05-abe05e3b729e","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//campaigns/{{campaignId}}/configurations?loyaltyId=36972467&pageNumber=1","host":["/"],"path":["campaigns","{{campaignId}}","configurations"],"query":[{"key":"phoneNumber","value":null,"disabled":true},{"key":"uniqueIdentifier","value":"5623R54E","disabled":true},{"key":"loyaltyId","value":"36972467"},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 06 Jan 2026 13:15:25 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"PageSize must be positive number\",\n            \"errorCode\": \"Burnings_PagesizeMustBePositive\",\n            \"parameters\": null\n        }\n    ]\n}"}],"_postman_id":"efea0566-21d2-4432-9d40-d77fefe6a655"},{"name":"get campaign configuration by id","id":"839891d0-ccdb-4781-bcc6-8ac1d0c03a50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"//campaigns/{{campaignId}}/configurations/{{configurationId}}/rewards/{{rewardId}}?loyaltyId=37520793","urlObject":{"path":["campaigns","{{campaignId}}","configurations","{{configurationId}}","rewards","{{rewardId}}"],"host":["/"],"query":[{"key":"loyaltyId","value":"37520793"}],"variable":[]}},"response":[{"id":"36bf0a3f-151b-4ba2-99f5-d9e6c758a41f","name":"404 - CampaignNotFound","originalRequest":{"method":"GET","header":[],"url":{"raw":"//campaigns/{{campaignId}}/configurations/{{configurationId}}/rewards/{{rewardId}}?loyaltyId=37520793","host":["/"],"path":["campaigns","{{campaignId}}","configurations","{{configurationId}}","rewards","{{rewardId}}"],"query":[{"key":"loyaltyId","value":"37520793"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 07 Jan 2026 10:39:26 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Campaign - Not Found\"\n}"},{"id":"7201ffd6-dbd3-4205-a4e7-2c8a7a1d49c9","name":"404 - CampaignConfigurationNotFound","originalRequest":{"method":"GET","header":[],"url":{"raw":"//campaigns/{{campaignId}}/configurations/{{configurationId}}/rewards/{{rewardId}}?loyaltyId=37520793","host":["/"],"path":["campaigns","{{campaignId}}","configurations","{{configurationId}}","rewards","{{rewardId}}"],"query":[{"key":"loyaltyId","value":"37520793"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 07 Jan 2026 10:40:30 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"CampaignConfiguration - Not Found\"\n}"},{"id":"2d5a0b38-327b-4826-86b3-ba9765edab1a","name":"200 OK - VoucherPurchase","originalRequest":{"method":"GET","header":[],"url":{"raw":"//campaigns/{{campaignId}}/configurations/{{configurationId}}/rewards/{{rewardId}}?loyaltyId=37520793","host":["/"],"path":["campaigns","{{campaignId}}","configurations","{{configurationId}}","rewards","{{rewardId}}"],"query":[{"key":"loyaltyId","value":"37520793"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"1392"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 09 Jan 2026 12:16:03 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-Id","value":"a314fc73-e0f9-40a2-9887-f8ba70f52866"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"configurationId\": \"1c1b9b0c-a3db-4c1e-7127-08de49f946fd\",\n    \"startDate\": \"2025-12-01T05:58:33.235Z\",\n    \"endDate\": \"2025-12-10T05:58:33.235Z\",\n    \"actionType\": \"VoucherPurchase\",\n    \"rewardType\": \"Voucher\",\n    \"metadata\": {\n        \"id\": \"ab279609-bae3-489a-5a08-08de49c32b1e\",\n        \"priceDiscountPoints\": 1,\n        \"customFields\": [],\n        \"name\": \"Holiday Discount\",\n        \"status\": \"Active\",\n        \"description\": \"Get a 50% discount on all items during the holiday season!\",\n        \"termsConditions\": [\n            \"Valid from December 22, 2024, to December 31, 2024. No minimum purchase required. Cannot be combined with other offers.\"\n        ],\n        \"voucherRetrievalSteps\": [\n            \"step1\",\n            \"step2\"\n        ],\n        \"minPurchaseAmount\": 0,\n        \"maxPurchaseAmount\": 0,\n        \"percentage\": 0,\n        \"url\": \"https://example.com/holiday-discount\",\n        \"merchantId\": \"0ce51ffb-a341-411b-126e-08de49c28cee\",\n        \"issueVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"issueVoucherTo\": \"2026-05-14T17:01:37.628Z\",\n        \"redemptionVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"redemptionVoucherTo\": \"2026-05-30T17:01:37.628Z\",\n        \"itemPricePoints\": 120,\n        \"isUnlimitedRedemption\": true,\n        \"voucherNumberPerCustomer\": 0,\n        \"periodPerDays\": 90,\n        \"merchantName\": \"Starbucks\",\n        \"merchantCategoryName\": \"Food\",\n        \"voucherSource\": \"Internal\",\n        \"voucherType\": [\n            \"Pin\"\n        ],\n        \"redemptionType\": [\n            \"Online\"\n        ],\n        \"redemptionSteps\": [\n            \"first step\",\n            \"second step\"\n        ],\n        \"isHotOffer\": false,\n        \"rewardType\": \"FreeItem\",\n        \"isGiftCardRange\": false,\n        \"currencyId\": \"58b4dc82-a0cc-47c1-a36c-bc5129843b32\",\n        \"itemValue\": 50,\n        \"isEligibleForReferrals\": true\n    }\n}"},{"id":"0e16ff08-af55-4fae-98f5-6386113870b7","name":"200 OK - CardTranscation","originalRequest":{"method":"GET","header":[],"url":{"raw":"//campaigns/{{campaignId}}/configurations/{{configurationId}}/rewards/{{rewardId}}?loyaltyId=37520793","host":["/"],"path":["campaigns","{{campaignId}}","configurations","{{configurationId}}","rewards","{{rewardId}}"],"query":[{"key":"loyaltyId","value":"37520793"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"352"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 09 Jan 2026 12:17:48 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-Id","value":"ab98e58a-e900-4f3a-9176-c031692b7797"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"configurationId\": \"c1ee395d-01e1-4364-7128-08de49f946fd\",\n    \"startDate\": \"2025-12-11T05:14:35.473Z\",\n    \"endDate\": \"2025-12-20T05:14:35.473Z\",\n    \"actionType\": \"CardTransaction\",\n    \"rewardType\": \"NeonsBack\",\n    \"metadata\": {\n        \"id\": \"268e38b0-5636-4e63-151c-08de49be68e1\",\n        \"name\": \"Super Market\",\n        \"cashBackAmount\": 1,\n        \"customFields\": [],\n        \"cardTypes\": [\n            \"Credit Card\",\n            \"Platinum Card\"\n        ]\n    }\n}"}],"_postman_id":"839891d0-ccdb-4781-bcc6-8ac1d0c03a50"},{"name":"collect customer campaign point","id":"4943df1e-e229-4c2d-9248-85173648d20b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"uniqueIdentifier\": null,\r\n    \"loyaltyId\": \"12121212\",\r\n    \"phoneNumber\": null\r\n        }","options":{"raw":{"language":"json"}}},"url":"//campaigns/{{campaignId}}/points-collections","description":"<p>Collects Customer Campaign Points. <strong>Mock API – for testing/integration only.</strong></p>\n","urlObject":{"path":["campaigns","{{campaignId}}","points-collections"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"f6972dcc-ddd8-4ab2-b8cf-dc3626a69bf7","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"uniqueIdentifier\": null,\r\n    \"loyaltyId\": \"12121212\",\r\n    \"phoneNumber\": null\r\n        }","options":{"raw":{"language":"json"}}},"url":"//campaigns/{{campaignId}}/points-collections"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"94"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 18 Jul 2025 11:13:41 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"points\": 500,\n    \"balance\": 2000\n}"},{"id":"8a5f850b-ce27-4ac4-b3dd-cc9ff97027bf","name":"404 - NotFound","originalRequest":{"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"uniqueIdentifier\": null,\r\n    \"loyaltyId\": \"12121212\",\r\n    \"phoneNumber\": null\r\n        }","options":{"raw":{"language":"json"}}},"url":"//campaigns/{{campaignId}}/points-collections"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 18 Jul 2025 11:12:34 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Person - Not Found\"\n}"},{"id":"9d228daf-6448-4302-9f37-45751a5f59f9","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n   \"loyaltyId\": \"12121212\"\r\n        }","options":{"raw":{"language":"json"}}},"url":"//campaigns/{{campaignId}}/points-collections"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 18 Jul 2025 11:15:50 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4943df1e-e229-4c2d-9248-85173648d20b"}],"id":"583938ef-fb0b-4045-8fe9-31b2904406c5","_postman_id":"583938ef-fb0b-4045-8fe9-31b2904406c5","description":""},{"name":"Rewards","item":[{"name":"get customer rewards","id":"611b8347-1fd3-4e68-baee-54136583c439","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":"//rewards?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId&pageNumber=1&pageSize=10&search","description":"<p>Gets reward and voucher details by voucher id</p>\n","urlObject":{"path":["rewards"],"host":["/"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"search","value":null}],"variable":[]}},"response":[{"id":"9861fba0-8750-4007-b1a0-56c6f003236d","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//rewards?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId&pageNumber=1&pageSize=10&search","host":["/"],"path":["rewards"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"search","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"844"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:42:18 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": \"d91cef9d-3af6-4ae0-da54-08ddf52197dc\",\n            \"name\": \"Special 10 %\",\n            \"status\": \"Active\",\n            \"description\": \"10% off Extra\",\n            \"merchantId\": \"03923b2e-a008-4632-43b2-08ddf51e975a\",\n            \"issueVoucherFrom\": \"2025-09-16T13:03:00Z\",\n            \"itemPricePoints\": 10000.00,\n            \"merchantName\": \"McD\",\n            \"merchantCategoryName\": \"Food\",\n            \"merchantLogoUrl\": \"https://storage.googleapis.com/neons-stg-images-bucket/public/40213ad1-3fda-485e-9c36-3baf7ce1926c.jpg\",\n            \"bannerImageUrl\": \"https://storage.googleapis.com/neons-stg-images-bucket/public/73cbc00a-228f-4e8e-aac0-73d5bcf0bb89.jpg\",\n            \"voucherSource\": \"External\",\n            \"voucherType\": [\n                \"Pin\"\n            ],\n            \"redemptionType\": [\n                \"Online\"\n            ],\n            \"rewardRedemptionSteps\": [],\n            \"isUnlimitedRedemption\": true,\n            \"rewardType\": \"FreeItem\",\n            \"isEligibleForReferrals\": false,\n            \"itemValue\": 10.00\n        },\n        {\n            \"id\": \"e2125131-7331-4e8c-8ec8-08ddf5c5d87c\",\n            \"name\": \"Special 20%\",\n            \"status\": \"Active\",\n            \"description\": \"Extra 20% off\",\n            \"merchantId\": \"03923b2e-a008-4632-43b2-08ddf51e975a\",\n            \"issueVoucherFrom\": \"2025-09-17T08:39:00Z\",\n            \"itemPricePoints\": 10.00,\n            \"merchantName\": \"McD\",\n            \"merchantCategoryName\": \"Food\",\n            \"merchantLogoUrl\": \"https://storage.googleapis.com/neons-stg-images-bucket/public/40213ad1-3fda-485e-9c36-3baf7ce1926c.jpg\",\n            \"bannerImageUrl\": \"https://storage.googleapis.com/neons-stg-images-bucket/public/d3977f1f-c542-4d17-9588-91693af0230f.png\",\n            \"voucherSource\": \"Internal\",\n            \"voucherType\": [\n                \"Pin\"\n            ],\n            \"redemptionType\": [\n                \"Online\"\n            ],\n            \"rewardRedemptionSteps\": [],\n            \"isUnlimitedRedemption\": true,\n            \"rewardType\": \"FreeItem\",\n            \"isEligibleForReferrals\": false,\n            \"itemValue\": 10.00\n        }\n    ],\n    \"page\": 1,\n    \"pageSize\": 10,\n    \"totalCount\": 2,\n    \"hasNextPage\": false,\n    \"hasPreviousPage\": false\n}"},{"id":"1c0c2911-704b-4f74-be72-61998b0aa509","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//rewards?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId&pageNumber=1&pageSize=10&search","host":["/"],"path":["rewards"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"search","value":null}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"282"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:43:02 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"CustomerId required\"\n        }\n    ]\n}"},{"id":"3be5eff9-b529-4e1b-8b92-416042e8aff3","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//rewards?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId&pageNumber=1&pageSize=10&search","host":["/"],"path":["rewards"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"search","value":null}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 22 Apr 2025 09:50:36 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '04/22/2025 04:52:23'\""}],"cookie":[],"responseTime":null,"body":""},{"id":"34053363-d08e-4564-8f18-0dcf041b3382","name":"404 - NotFound","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//rewards?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId&pageNumber=1&pageSize=10&search","host":["/"],"path":["rewards"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"search","value":null}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Found\",\r\n    \"status\": 404,\r\n    \"detail\": \"client - Not Found\"\r\n}"}],"_postman_id":"611b8347-1fd3-4e68-baee-54136583c439"},{"name":"get customer reward by reward id","id":"ba0db30b-2d74-4c19-8312-ac31d081d832","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"0":"<0>"},"isInherited":false},"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":"//rewards/{{rewardId}}?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId","description":"<p>Gets reward and voucher details by voucher id</p>\n","urlObject":{"path":["rewards","{{rewardId}}"],"host":["/"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null}],"variable":[]}},"response":[{"id":"e7cb5d2e-bd87-4643-9bfd-05da7fb95ad1","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//rewards/{{rewardId}}?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId","host":["/"],"path":["rewards","{{rewardId}}"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"844"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:42:18 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"01965d02-038b-7164-89c1-2984ce45aead\",\n    \"status\": \"Active\",\n    \"minPurchaseAmount\": 100,\n    \"maxPurchaseAmount\": 500,\n    \"percentage\": 0,\n    \"url\": \"https://example.com/holiday-discount\",\n    \"merchantId\": \"019657ba-26a8-7dc5-a597-1b583d73b83c\",\n    \"issueVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n    \"issueVoucherTo\": \"2025-05-08T17:01:37.628Z\",\n    \"redemptionVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n    \"redemptionVoucherTo\": \"2025-05-08T17:01:37.628Z\",\n    \"redemptionValue\": 0,\n    \"itemPricePoints\": 120,\n    \"isUnlimitedRedemption\": true,\n    \"voucherNumberPerCustomer\": 2,\n    \"periodPerDays\": 90,\n    \"merchantName\": \"Starbucks\",\n    \"merchantCategoryName\": \"Food\",\n    \"voucherSource\": \"Internal\",\n    \"voucherType\": [\n        \"Pin\"\n    ],\n    \"redemptionType\": \"InStore\",\n    \"isHotOffer\": false,\n    \"rewardType\": \"FreeItem\",\n    \"isLimitedDiscount\": false,\n    \"isGiftCardRange\": false,\n    \"currencyId\": \"01961f6b-039c-7f0b-8a16-ba641cfbce57\",\n    \"giftCardFixedOptions\": [],\n    \"IsEligibleForReferrals\": false\n}"},{"id":"0aa7a5f4-9c01-4693-aff8-4e2f514af903","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//rewards/{{rewardId}}?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId","host":["/"],"path":["rewards","{{rewardId}}"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"282"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:43:02 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"CustomerId required\"\n        }\n    ]\n}"},{"id":"77a56b0e-90bf-46fa-9a8d-fa8cbd03285f","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//rewards/{{rewardId}}?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId","host":["/"],"path":["rewards","{{rewardId}}"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 22 Apr 2025 09:50:36 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '04/22/2025 04:52:23'\""}],"cookie":[],"responseTime":null,"body":""},{"id":"e98bb2c4-0286-4b32-8102-dadf0e5c96c6","name":"404 - NotFound","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//rewards/{{rewardId}}?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId","host":["/"],"path":["rewards","{{rewardId}}"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Not Found\",\r\n    \"status\": 404,\r\n    \"detail\": \"client - Not Found\"\r\n}"}],"_postman_id":"ba0db30b-2d74-4c19-8312-ac31d081d832"}],"id":"e94f7159-4b32-4d55-8264-35f749320910","_postman_id":"e94f7159-4b32-4d55-8264-35f749320910","description":""},{"name":"Vouchers","item":[{"name":"purchase voucher","id":"62281691-eca7-437a-b22a-31be451ee098","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"transactionRequestId\" : \"59cc3a50-d239-43e4-b277-862a745e0863\",\r\n    \"loyaltyId\" : \"79633475\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"referralCode\": null,\r\n    \"amount\" : null\r\n}","options":{"raw":{"language":"json"}}},"url":"//rewards/{{rewardId}}/purchases","description":"<p>Purchases voucher for a certain reward by customer id</p>\n","urlObject":{"path":["rewards","{{rewardId}}","purchases"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"f10a40f5-8941-4c9f-a681-e9296b11526d","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"//rewards/{{rewardId}}/purchases"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"147"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 11:17:16 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"52238516-089e-48dd-154d-08ddf5219d3a\",\n    \"voucherCode\": \"ABCD\",\n    \"voucherStatus\": \"Purchased\",\n    \"transactionId\": \"0c8f7c5a-a409-4037-a965-990f2e222cda\",\n    \"purchasedDate\": \"2025-09-17T10:04:42.4917444Z\",\n    \"referrerPoints\": 0.0,\n    \"referredPoints\": 0.0,\n    \"reward\": {\n        \"id\": \"d91cef9d-3af6-4ae0-da54-08ddf52197dc\",\n        \"name\": \"Special 10 %\",\n        \"status\": \"Active\",\n        \"description\": \"Extra 10%\",\n        \"minPurchaseAmount\": 0.00,\n        \"maxPurchaseAmount\": 0.00,\n        \"percentage\": 0.0,\n        \"merchantId\": \"03923b2e-a008-4632-43b2-08ddf51e975a\",\n        \"issueVoucherFrom\": \"2025-09-16T13:03:00Z\",\n        \"redemptionVoucherFrom\": \"2025-09-16T13:03:00Z\",\n        \"itemPricePoints\": 10000.00,\n        \"isUnlimitedRedemption\": true,\n        \"maxVouchersPerCustomer\": 0,\n        \"maxVouchersPerPeriod\": 0,\n        \"periodPerDays\": 0,\n        \"voucherSource\": \"Internal\",\n        \"voucherType\": [\n            \"Pin\"\n        ],\n        \"redemptionType\": [\n            \"Online\"\n        ],\n        \"redemptionSteps\": [],\n        \"isHotOffer\": false,\n        \"rewardType\": \"FreeItem\",\n        \"isGiftCardRange\": false,\n        \"currencyId\": \"afa42df1-0709-47ec-ae4c-08ddf4372f44\",\n        \"itemValue\": 10.00\n    }\n}"},{"id":"4b025e1e-824f-42cd-9a1d-4ecea2c16d19","name":"400 - BadRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"transactionRequestId\" : \"55c154a7-d74b-48fe-8082-c0b7e1f7352c\",\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"referralCode\": \"JE7G25TH\",\r\n    \"amount\" : null\r\n}","options":{"raw":{"language":"json"}}},"url":"//rewards/{{rewardId}}/purchases"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:06:16 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"UniqueIdentifier is invalid\"\n        }\n    ]\n}"},{"id":"0b945a27-14a9-4f05-bf2b-20f1034269cc","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"//rewards/{{rewardId}}/purchases"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 22 Apr 2025 09:49:10 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '04/22/2025 04:52:23'\""}],"cookie":[],"responseTime":null,"body":""},{"id":"7c1a1522-3762-4298-af78-7cff894364c7","name":"403 - ForBidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"transactionRequestId\" : \"55c154a7-d74b-48fe-8082-c0b7e1f7352c\",\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"referralCode\": \"JE7G25TH\",\r\n    \"amount\" : null\r\n}","options":{"raw":{"language":"json"}}},"url":"//rewards/{{rewardId}}/purchases"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Forbidden\",\r\n    \"status\": 403,\r\n    \"detail\": \"You are trying to purchase a voucher for another client\"\r\n}"},{"id":"e5b7f835-4f22-4506-a90e-35501dc9efad","name":"404 - NotFound","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"transactionRequestId\" : \"55c154a7-d74b-48fe-8082-c0b7e1f7352c\",\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"referralCode\": \"JE7G25TH\",\r\n    \"amount\" : null\r\n}","options":{"raw":{"language":"json"}}},"url":"//rewards/{{rewardId}}/purchases"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 11:46:48 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Reward - Not Found\"\n}"}],"_postman_id":"62281691-eca7-437a-b22a-31be451ee098"},{"name":"validate otp for purchase voucher","id":"858e0808-11f0-4497-bbfc-9e93c59f482e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"PUT","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"transactionRequestId\" : \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n    \"otp\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//rewards/{{rewardId}}/purchases-verifications","description":"<p>Verify otp for purchases voucher</p>\n","urlObject":{"path":["rewards","{{rewardId}}","purchases-verifications"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"c56647f5-fb0b-491c-b2df-fcce46b137c1","name":"200 - OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"//rewards/{{rewardId}}/purchases-verifications"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"147"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 11:17:16 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"01965d35-6b45-757f-8379-728925a2d649\",\n    \"voucherCode\": \"Margaretta\",\n    \"voucherStatus\": \"Purchased\",\n    \"purchasedDate\": \"2025-04-22T11:17:16.6940815Z\"\n}"},{"id":"4d25cdc5-fc32-42aa-8584-6e0e90aa7a00","name":"400 - BadRequest","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"transactionRequestId\" : \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n    \"otp\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//rewards/{{rewardId}}/purchases-verifications"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:06:16 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"UniqueIdentifier is invalid\"\n        }\n    ]\n}"},{"id":"48645ca5-6a77-4c48-9c03-5841b42ca7e1","name":"401 - Unauthorized","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"//rewards/{{rewardId}}/purchases-verifications"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 22 Apr 2025 09:49:10 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '04/22/2025 04:52:23'\""}],"cookie":[],"responseTime":null,"body":""},{"id":"2b238191-b9c5-42b4-910d-ba48666c7bab","name":"403 - ForBidden","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"transactionRequestId\" : \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n    \"otp\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//rewards/{{rewardId}}/purchases-verifications"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Forbidden\",\r\n    \"status\": 403,\r\n    \"detail\": \"You are trying to purchase a voucher for another client\"\r\n}"},{"id":"5b0cd199-5109-47e2-a6aa-1c24d0e1cc5b","name":"404 - NotFound","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"transactionRequestId\" : \"278d709e-86c8-4aba-8d09-876c90e6c7fe\",\r\n    \"otp\": \"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//rewards/{{rewardId}}/purchases-verifications"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 11:46:48 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Reward - Not Found\"\n}"}],"_postman_id":"858e0808-11f0-4497-bbfc-9e93c59f482e"},{"name":"redeem voucher","id":"cd32a559-db6f-4912-a1b5-616601cf794b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null    \r\n}","options":{"raw":{"language":"json"}}},"url":"//vouchers/{{voucherId}}/redemptions","description":"<p>Redeems voucher code by customer id</p>\n","urlObject":{"path":["vouchers","{{voucherId}}","redemptions"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"9b923479-7595-4a0f-b364-46f8acca1867","name":"200 - OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"//vouchers/{{voucherId}}/redemptions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"916"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 11:54:56 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"01965d02-038b-7164-89c1-2984ce45aead\",\n    \"rewardId\": \"01965d02-038b-7164-89c1-2984ce45aead\",\n    \"voucherStatus\": \"Redeemed\",\n    \"redeemedDate\": \"2025-04-22T11:54:54.0533275Z\",\n    \"rewardName\": \"Holiday Discount\",\n    \"rewardStatus\": \"Active\",\n    \"description\": \"Get a 50% discount on all items during the holiday season!\",\n    \"termsConditions\": \"Valid from December 22, 2024, to December 31, 2024. No minimum purchase required. Cannot be combined with other offers.\",\n    \"minPurchaseAmount\": 100,\n    \"maxPurchaseAmount\": 500,\n    \"percentage\": 0,\n    \"url\": \"https://example.com/holiday-discount\",\n    \"merchantId\": \"019657ba-26a8-7dc5-a597-1b583d73b83c\",\n    \"issueVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n    \"issueVoucherTo\": \"2025-05-08T17:01:37.628Z\",\n    \"redemptionVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n    \"redemptionVoucherTo\": \"2025-05-08T17:01:37.628Z\",\n    \"redemptionValue\": 0,\n    \"itemPricePoints\": 120,\n    \"isUnlimitedRedemption\": true,\n    \"voucherNumberPerCustomer\": 2,\n    \"periodPerDays\": 90\n}"},{"id":"ff68fbd8-9174-4a1e-979a-1376fd8ebf8d","name":"400 - BadRequest","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null    \r\n}","options":{"raw":{"language":"json"}}},"url":"//vouchers/{{voucherId}}/redemptions"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"259"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 10:04:52 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"Voucher code is not purchased. Please purchase the voucher before redeeming.\"\n        }\n    ]\n}"},{"id":"a562c4c3-64a1-4c97-bf88-1c7352f97bf0","name":"401 - Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":"//vouchers/{{voucherId}}/redemptions"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 22 Apr 2025 09:49:49 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '04/22/2025 04:52:23'\""}],"cookie":[],"responseTime":null,"body":""},{"id":"5f41a2d7-4a10-40ea-a54b-24f79e74f785","name":"403 - ForBidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null    \r\n}","options":{"raw":{"language":"json"}}},"url":"//vouchers/{{voucherId}}/redemptions"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Forbidden\",\n    \"status\": 403,\n    \"detail\": \"You are trying to redeem a voucher for another client\"\n}"},{"id":"95e2c829-e0c7-475c-a490-d4060426f5ff","name":"404 -NotFound","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null    \r\n}","options":{"raw":{"language":"json"}}},"url":"//vouchers/{{voucherId}}/redemptions"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:00:02 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Voucher - Not Found\"\n}"}],"_postman_id":"cd32a559-db6f-4912-a1b5-616601cf794b"},{"name":"external purchase","id":"ad59fd38-ec61-4f04-b169-867234c4e7e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"0":"<0>","token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"RequestId","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"loyaltyId\" : \"67236821\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"requestId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\", \r\n    \"referralCode\": \"J4K25YP90DHC\",\r\n    \"rewardId\": \"01965d02-038b-7164-89c1-2984ce45aead\",\r\n    \"merchantId\": \"01971029-c933-70a5-913d-9dac0c636093\",\r\n    \"merchantCategoryId\": \"019657ba-26a8-7dc5-a597-1b583d73b83c\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//external-purchases","description":"<p>Purchases external product.</p>\n<p>This functionality is intended for clients who are using a different marketplace but still wish to leverage our referral system.<br />It allows them to configure rewards for referral codes and generate referral codes for external products.</p>\n","urlObject":{"path":["external-purchases"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"f9abd269-1c49-4a30-9feb-d237c1213ea7","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"us-en","type":"text"}],"url":"//external-purchases"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1507"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:12:00 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"b2b9d3c1-1399-4d7e-8b89-c6f578f1a5c2\",\n    \"customerId\": \"f7e4c0a2-4d38-45c6-b537-0c6c8f42b717\",\n    \"clientId\": \"be5a678b-87d6-4a42-934e-9a11023a3ad9\",\n    \"requestId\": \"123d4567-e89b-12d3-a456-426614174001\",\n    \"referralCode\": \"RC12345678\",\n    \"rewardId\": \"reward123\",\n    \"merchantId\": \"merchant001\",\n    \"merchantCategoryId\": \"category01\",\n    \"referrerPoints\": 100.50,\n    \"referredPoints\": 50.75\n}"},{"id":"2078a837-683c-4bf5-a30c-55d3782e4ccd","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"us-en","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"//external-purchases"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 22 Apr 2025 09:48:51 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '04/22/2025 04:52:23'\""}],"cookie":[],"responseTime":null,"body":""},{"id":"f08b8fc8-099d-4d67-b603-f476c0e686bf","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"us-en","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"//external-purchases"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:08:59 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"Invalid Referral Code\"\n        }\n    ]\n}"}],"_postman_id":"ad59fd38-ec61-4f04-b169-867234c4e7e5"},{"name":"get customer vouchers","id":"f2929ff2-f6a1-486d-bd75-1086449fbb6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"text"},{"key":"RequestId","value":"","type":"text"}],"url":"//vouchers?phoneNumber&uniqueIdentifier=&loyaltyId=67236821&status=Redeemed&pageSize=10&pageNumber=1&search=Holiday&merchantName=Amazon&merchantCategoryName=Laptop","description":"<p>Search the list of vouchers purchased by a customer using their customer ID.</p>\n<p>Filter the results using the following optional query parameters:</p>\n<ul>\n<li><p><strong><code>status</code></strong> – Filter vouchers based on their status:<strong>Active, Purchased, Redeemed</strong></p>\n</li>\n<li><p><strong><code>search</code></strong> – Search by voucher name in either <strong>English</strong> (<code>NameEn</code>) or <strong>Arabic</strong> (<code>NameAr</code>).</p>\n</li>\n<li><p><strong><code>merchantname</code></strong> – Filter vouchers by the <strong>merchant’s name</strong>.</p>\n</li>\n<li><p><strong><code>merchantcategoryname</code></strong> – Filter vouchers based on the <strong>merchant category name</strong>.</p>\n</li>\n</ul>\n","urlObject":{"path":["vouchers"],"host":["/"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":""},{"key":"loyaltyId","value":"67236821"},{"key":"status","value":"Redeemed"},{"key":"pageSize","value":"10"},{"key":"pageNumber","value":"1"},{"key":"search","value":"Holiday"},{"key":"merchantName","value":"Amazon"},{"key":"merchantCategoryName","value":"Laptop"}],"variable":[]}},"response":[{"id":"96181376-b9f8-4aec-a8ec-299e54d9a639","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"text"}],"url":{"raw":"//vouchers?phoneNumber&uniqueIdentifier=&loyaltyId=67236821&status=Redeemed&pageSize=10&pageNumber=1&search=Holiday&merchantName=Amazon&merchantCategoryName=Laptop","host":["/"],"path":["vouchers"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":""},{"key":"loyaltyId","value":"67236821"},{"key":"status","value":"Redeemed"},{"key":"pageSize","value":"10"},{"key":"pageNumber","value":"1"},{"key":"search","value":"Holiday"},{"key":"merchantName","value":"Amazon"},{"key":"merchantCategoryName","value":"Laptop"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1989"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:03:57 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n       {\n            \"id\": \"52238516-089e-48dd-154d-08ddf5219d3a\",\n            \"rewardId\": \"d91cef9d-3af6-4ae0-da54-08ddf52197dc\",\n            \"name\": \"Special 10 %\",\n            \"rewardStatus\": \"Active\",\n            \"voucherStatus\": \"Purchased\",\n            \"description\": \"Extra 10%\",\n            \"minPurchaseAmount\": 0.00,\n            \"maxPurchaseAmount\": 0.00,\n            \"merchantId\": \"03923b2e-a008-4632-43b2-08ddf51e975a\",\n            \"issueVoucherFrom\": \"2025-09-16T13:03:00Z\",\n            \"issueVoucherTo\": \"0001-01-01T00:00:00\",\n            \"redemptionVoucherFrom\": \"2025-09-16T13:03:00Z\",\n            \"redemptionVoucherTo\": \"0001-01-01T00:00:00\",\n            \"redemptionValue\": 0.0,\n            \"itemPricePoints\": 10000,\n            \"isUnlimitedRedemption\": true,\n            \"voucherNumberPerCustomer\": 0,\n            \"periodPerDays\": 0,\n            \"merchantName\": \"McD\",\n            \"merchantCategoryName\": \"Food New\",\n            \"merchantLogoUrl\": \"https://storage.googleapis.com/neons-stg-images-bucket/public/40213ad1-3fda-485e-9c36-3baf7ce1926c.jpg\",\n            \"bannerImageId\": \"daa60b15-4628-40ce-ca8c-08ddf5219e7c\",\n            \"bannerImageUrl\": \"https://storage.googleapis.com/neons-stg-images-bucket/public/73cbc00a-228f-4e8e-aac0-73d5bcf0bb89.jpg\",\n            \"voucherCode\": \"ABCD\",\n            \"purchasedDate\": \"2025-09-17T10:04:42.4917444Z\",\n            \"rewardType\": \"FreeItem\",\n            \"itemValue\": 10.00\n        }\n    ],\n    \"page\": 1,\n    \"pageSize\": 10,\n    \"totalCount\": 2,\n    \"hasNextPage\": false,\n    \"hasPreviousPage\": false\n}"},{"id":"1e31e207-2bda-41b1-8617-1e6e9e880f28","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"text"}],"url":{"raw":"//vouchers?phoneNumber&uniqueIdentifier=&loyaltyId=67236821&status=Redeemed&pageSize=10&pageNumber=1&search=Holiday&merchantName=Amazon&merchantCategoryName=Laptop","host":["/"],"path":["vouchers"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":""},{"key":"loyaltyId","value":"67236821"},{"key":"status","value":"Redeemed"},{"key":"pageSize","value":"10"},{"key":"pageNumber","value":"1"},{"key":"search","value":"Holiday"},{"key":"merchantName","value":"Amazon"},{"key":"merchantCategoryName","value":"Laptop"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"2f626c23-ae0f-49b1-9555-93aa6c5f02d0","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"text"}],"url":{"raw":"//vouchers?phoneNumber&uniqueIdentifier=&loyaltyId=67236821&status=Redeemed&pageSize=10&pageNumber=1&search=Holiday&merchantName=Amazon&merchantCategoryName=Laptop","host":["/"],"path":["vouchers"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":""},{"key":"loyaltyId","value":"67236821"},{"key":"status","value":"Redeemed"},{"key":"pageSize","value":"10"},{"key":"pageNumber","value":"1"},{"key":"search","value":"Holiday"},{"key":"merchantName","value":"Amazon"},{"key":"merchantCategoryName","value":"Laptop"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 22 Apr 2025 09:48:31 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '04/22/2025 04:52:23'\""}],"cookie":[],"responseTime":null,"body":""},{"id":"edd8e231-50e2-4930-a091-d30a71e0d982","name":"403 - ForBidden","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"text"}],"url":{"raw":"//vouchers?phoneNumber&uniqueIdentifier=&loyaltyId=67236821&status=Redeemed&pageSize=10&pageNumber=1&search=Holiday&merchantName=Amazon&merchantCategoryName=Laptop","host":["/"],"path":["vouchers"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":""},{"key":"loyaltyId","value":"67236821"},{"key":"status","value":"Redeemed"},{"key":"pageSize","value":"10"},{"key":"pageNumber","value":"1"},{"key":"search","value":"Holiday"},{"key":"merchantName","value":"Amazon"},{"key":"merchantCategoryName","value":"Laptop"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"title\": \"Forbidden\",\r\n    \"status\": 403,\r\n    \"detail\": \"You are trying to list redeemed vouchers for another client\"\r\n}"},{"id":"cecc7d14-77cb-4157-b01f-7d093e87e966","name":"404 - NotFound","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"en","type":"text"}],"url":{"raw":"//vouchers?phoneNumber&uniqueIdentifier=&loyaltyId=67236821&status=Redeemed&pageSize=10&pageNumber=1&search=Holiday&merchantName=Amazon&merchantCategoryName=Laptop","host":["/"],"path":["vouchers"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":""},{"key":"loyaltyId","value":"67236821"},{"key":"status","value":"Redeemed"},{"key":"pageSize","value":"10"},{"key":"pageNumber","value":"1"},{"key":"search","value":"Holiday"},{"key":"merchantName","value":"Amazon"},{"key":"merchantCategoryName","value":"Laptop"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:07:03 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"client - Not Found\"\n}"}],"_postman_id":"f2929ff2-f6a1-486d-bd75-1086449fbb6a"},{"name":"get voucher details by voucher id","event":[{"listen":"prerequest","script":{"exec":["pm.variables.set(\"phoneNumber\", encodeURIComponent(pm.variables.get(\"phoneNumber\")));\r"],"type":"text/javascript","packages":{},"id":"733edc20-304e-4f44-aba8-8cc36cd5938d"}}],"id":"89eb31c2-d363-4fd3-ad58-efd0860b055b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":"//vouchers/{{voucherId}}?loyaltyId&phoneNumber={{phoneNumber}}&uniqueIdentifier","description":"<p>Gets reward and voucher details by voucher id</p>\n","urlObject":{"path":["vouchers","{{voucherId}}"],"host":["/"],"query":[{"key":"loyaltyId","value":null},{"key":"phoneNumber","value":"{{phoneNumber}}"},{"key":"uniqueIdentifier","value":null}],"variable":[]}},"response":[{"id":"b44e3c69-265e-452c-a148-a271e54c3de8","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//vouchers/{{voucherId}}?phoneNumber&uniqueIdentifier&loyaltyId","host":["/"],"path":["vouchers","{{voucherId}}"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":null},{"key":"loyaltyId","value":null}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 28 May 2025 13:23:54 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"Atmost one of the following identifiers must be provided: Phone Number, Unique Identifier, or Loyalty Id.\"\n        }\n    ]\n}"},{"id":"2eea24c7-fa2a-442f-949f-824e3945b71f","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//vouchers/{{voucherId}}?loyaltyId=81998808","host":["/"],"path":["vouchers","{{voucherId}}"],"query":[{"key":"loyaltyId","value":"81998808"},{"key":"phoneNumber","value":"{{phoneNumber}}","disabled":true},{"key":"uniqueIdentifier","value":"5623R34L","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1491"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 12 Jun 2025 06:07:14 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"01973e73-4fa0-790d-8f09-215996230505\",\n    \"voucherCode\": \"Major\",\n    \"voucherStatus\": \"Redeemed\",\n    \"purchasedDate\": \"2025-06-05T05:19:14.197226Z\",\n    \"redeemedDate\": \"2025-06-12T06:01:44.195666Z\",\n    \"amount\": 20,\n    \"reward\": {\n        \"id\": \"01973e72-97da-7d69-ba8a-c1a1e9da80e1\",\n        \"name\": \"Special Discount\",\n        \"status\": \"Active\",\n        \"description\": \"Get a 50% discount on all items during the holiday season!\",\n        \"termsConditions\": \"Valid from December 22, 2024, to December 31, 2024. No minimum purchase required. Cannot be combined with other offers.\",\n        \"minPurchaseAmount\": 0,\n        \"maxPurchaseAmount\": 0,\n        \"percentage\": 0,\n        \"url\": \"https://example.com/holiday-discount\",\n        \"merchantId\": \"01973e6e-4835-71dd-a9bc-bee09efbf7f1\",\n        \"issueVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"issueVoucherTo\": \"2026-05-14T17:01:37.628Z\",\n        \"redemptionVoucherFrom\": \"2025-01-12T19:10:30.772Z\",\n        \"redemptionVoucherTo\": \"2026-05-30T17:01:37.628Z\",\n        \"redemptionValue\": 0,\n        \"itemPricePoints\": 120,\n        \"isUnlimitedRedemption\": true,\n        \"maxVouchersPerCustomer\": 0,\n        \"maxVouchersPerPeriod\": \"ThreeMonths\",\n        \"periodPerDays\": 90,\n        \"merchantName\": \"Starbucks\",\n        \"merchantCategoryName\": \"Food\",\n        \"bannerImageId\": \"01973e72-9858-7590-a3a5-0e0dfc70596a\",\n        \"voucherSource\": \"Internal\",\n        \"voucherType\": [],\n        \"redemptionType\": [],\n        \"redemptionSteps\": \"redemptions in english\",\n        \"isHotOffer\": false,\n        \"rewardType\": \"GiftCard\",\n        \"isLimitedDiscount\": false,\n        \"isGiftCardRange\": true,\n        \"currencyId\": \"019739fd-3ac9-7793-ad9a-5d7a29b63545\",\n        \"giftCardMaxValue\": 200,\n        \"giftCardMinValue\": 40,\n        \"giftCardFixedOptions\": [],\n        \"isBasedOnDenomination\": false\n    }\n}"},{"id":"947a7d81-a29a-4664-9641-ad2bdaeb2c2c","name":"404 - NotFound","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//vouchers/{{voucherId}}?phoneNumber=%2B966532145422&uniqueIdentifier&loyaltyId","host":["/"],"path":["vouchers","{{voucherId}}"],"query":[{"key":"phoneNumber","value":"%2B966532145422"},{"key":"uniqueIdentifier","value":null},{"key":"loyaltyId","value":null}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 28 May 2025 13:28:22 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Customer - Not Found\"\n}"},{"id":"2f3bf3eb-abad-4821-abdf-feb4b16bb558","name":"406 - Not Acceptable","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//vouchers/{{voucherId}}?phoneNumber=%2B966532145422&uniqueIdentifier&loyaltyId","host":["/"],"path":["vouchers","{{voucherId}}"],"query":[{"key":"phoneNumber","value":"%2B966532145422"},{"key":"uniqueIdentifier","value":null},{"key":"loyaltyId","value":null}]}},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 28 May 2025 13:29:26 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Acceptable\",\n    \"status\": 406,\n    \"detail\": \"The language code is not supported\"\n}"},{"id":"97b1477e-609b-46ac-80c1-3cd1e120d780","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//vouchers/{{voucherId}}?phoneNumber=%2B966532145422&uniqueIdentifier&loyaltyId","host":["/"],"path":["vouchers","{{voucherId}}"],"query":[{"key":"phoneNumber","value":"%2B966532145422"},{"key":"uniqueIdentifier","value":null},{"key":"loyaltyId","value":null}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Wed, 28 May 2025 13:30:47 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\""}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"89eb31c2-d363-4fd3-ad58-efd0860b055b"},{"name":"update voucher status","id":"70271592-fc0e-40cc-aad9-ac4836f0dafb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n     \"loyaltyId\" : \"30394544\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"status\" : \"Purchased\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//vouchers/{{voucherId}}/status","urlObject":{"path":["vouchers","{{voucherId}}","status"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"1255cbcc-b4d9-4ea9-b15e-bc6f0513b498","name":"200 - OK","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n     \"loyaltyId\" : \"30394544\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"status\" : \"Purchased\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//vouchers/{{voucherId}}/status"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 22 Aug 2025 11:20:56 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"284fbd09-3caa-4ebe-a6d3-597a78b43174"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": \"0198d14c-3e25-7530-bd8c-8809a9c1e1e2\",\r\n    \"rewardId\": \"0198d14a-05c8-7232-a381-ac0f445227b1\",\r\n    \"voucherStatus\": \"Redeemed\",\r\n    \"rewardStatus\": \"Active\"\r\n}"},{"id":"a55d5a7e-151b-4949-8407-b2d3f18ac907","name":"422 - Unprocessable Entity","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n     \"loyaltyId\" : \"30394544\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"status\" : \"Purchased\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//vouchers/{{voucherId}}/status"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 22 Aug 2025 12:44:58 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"invalidParams\": [\n        {\n            \"description\": \"Voucher already has the specified status\"\n        }\n    ]\n}"},{"id":"8df051f4-2c6c-4abf-ad0c-c3757362e640","name":"404 - NotFound","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n     \"loyaltyId\" : \"30394544\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"status\" : \"Purchased\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//vouchers/{{voucherId}}/status"},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 22 Aug 2025 12:53:25 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"voucher - Not Found\"\n}"},{"id":"c4bfd837-39b8-4583-b7b2-8564a5c0a1f0","name":"401 - Unauthorized","originalRequest":{"method":"PUT","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n     \"loyaltyId\" : \"30394544\",\r\n    \"phoneNumber\": null,\r\n    \"uniqueIdentifier\" : null,\r\n    \"status\" : \"Redeemed\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//vouchers/{{voucherId}}/status"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Wed, 28 May 2025 13:30:47 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\""}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"70271592-fc0e-40cc-aad9-ac4836f0dafb"}],"id":"29485fb4-6a40-4c57-9062-86c2e3d0dbbb","description":"<p>This section contains API endpoints related to purchase, redeem, and retrieving details for vouchers.</p>\n","_postman_id":"29485fb4-6a40-4c57-9062-86c2e3d0dbbb"},{"name":"Leaderboards","item":[{"name":"get active leaderboards","id":"31723eba-ec9b-4a2a-aca8-18902e6d3a0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"//leaderboards?loyaltyId=88702008","urlObject":{"path":["leaderboards"],"host":["/"],"query":[{"key":"loyaltyId","value":"88702008"}],"variable":[]}},"response":[{"id":"48e49f68-d244-4339-b75c-9d51be44e0c6","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"//leaderboards?loyaltyId=88702008","host":["/"],"path":["leaderboards"],"query":[{"key":"loyaltyId","value":"88702008"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"363"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 13 Jan 2026 12:27:05 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"34d80a84-8e1e-46b7-b76b-d410cbf5b62c"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"019bb72b-c2ea-7a2f-971e-2d6b0f447fc9\",\n    \"name\": \"Internal Transfer\",\n    \"startDate\": \"2026-01-13T18:49:00Z\",\n    \"endDate\": \"2026-03-31T23:59:59Z\",\n    \"rewardNeons\": 700,\n    \"customerRank\": 47,\n    \"action\": \"Purchase\"\n  },\n  {\n    \"id\": \"019bb729-5eda-7ed9-a83c-96cce54f7dc9\",\n    \"name\": \"Top Customers Leaderboard\",\n    \"startDate\": \"2026-01-13T18:49:00Z\",\n    \"endDate\": \"2026-01-31T23:59:59Z\",\n    \"rewardNeons\": 500,\n    \"customerRank\": 20,\n    \"action\": \"Purchase\",\n    \"nextOccurrence\": \"2026-02-01T23:59:59Z\",\n    \"schedule\": \"Monthly\"\n  }\n]"},{"id":"19ab4bea-6d5b-48d2-a7e5-b38584be600f","name":"404 - NotFound","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//leaderboards?loyaltyId=88702008","host":["/"],"path":["leaderboards"],"query":[{"key":"loyaltyId","value":"88702008"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 22 Apr 2025 12:15:26 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"client - Not Found\"\n}"},{"id":"0797289e-e273-4977-a59f-68c734b35d98","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"string"}],"url":{"raw":"//leaderboards?loyaltyId=88702008","host":["/"],"path":["leaderboards"],"query":[{"key":"loyaltyId","value":"88702008"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Tue, 22 Apr 2025 09:50:20 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '04/22/2025 04:52:23'\""}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"31723eba-ec9b-4a2a-aca8-18902e6d3a0d"},{"name":"get previous leaderboards","id":"c04ec82f-ceaa-4351-90ad-5b22422116b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"//leaderboards/history?startdate=2025-09-09&pagenumber=1&pagesize=1&loyaltyId=88702009","urlObject":{"path":["leaderboards","history"],"host":["/"],"query":[{"key":"startdate","value":"2025-09-09"},{"disabled":true,"key":"enddate","value":"2025-12-11"},{"key":"pagenumber","value":"1"},{"key":"pagesize","value":"1"},{"key":"loyaltyId","value":"88702009"}],"variable":[]}},"response":[{"id":"62a75b5c-5c09-4dc8-87d9-22f6ca91f2dd","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"//leaderboards/history?loyaltyId=88702008","host":["/"],"path":["leaderboards","history"],"query":[{"key":"loyaltyId","value":"88702008"}]}},"status":"- OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"444"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 15 Jan 2026 10:26:45 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"d9d2c237-2818-4c92-b22a-52f3bb23439e"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": \"019bb729-5eda-7ed9-a83c-96cce54f7dc9\",\n            \"name\": \"Top Customers Leaderboard\",\n            \"startDate\": \"2025-12-01T18:49:00Z\",\n            \"endDate\": \"2025-12-31T18:49:00Z\",\n            \"customerRank\": 10\n        },\n        {\n            \"id\": \"019bb729-5eda-7ed9-a83c-96cce54f7dc9\",\n            \"name\": \"Top Customers Leaderboard\",\n            \"startDate\": \"2025-11-01T18:49:00Z\",\n            \"endDate\": \"2025-11-30T18:49:00Z\",\n            \"rewardNeons\": 500,\n            \"customerRank\": 2\n        }\n    ],\n    \"page\": 1,\n    \"pageSize\": 10,\n    \"totalCount\": 2,\n    \"hasNextPage\": false,\n    \"hasPreviousPage\": false\n}"},{"id":"df5ab791-684a-416e-a721-862b4b67ccd9","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"//leaderboards/history?loyaltyId=88702008&startdate=2025-09-09&pagenumber=1&pagesize=1","host":["/"],"path":["leaderboards","history"],"query":[{"key":"loyaltyId","value":"88702008"},{"key":"startdate","value":"2025-09-09"},{"key":"enddate","value":"2025-12-11","disabled":true},{"key":"pagenumber","value":"1"},{"key":"pagesize","value":"1"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Thu, 15 Jan 2026 10:30:32 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"e28dac47-dd8a-4e7b-ae37-9c1ce6aa932f"}],"cookie":[],"responseTime":null,"body":""},{"id":"2ea6b111-6a20-4c99-b0ca-245c07b48798","name":"404 - NotFound","originalRequest":{"method":"GET","header":[],"url":{"raw":"//leaderboards/history?startdate=2025-09-09&pagenumber=1&pagesize=1&loyaltyId=88702009","host":["/"],"path":["leaderboards","history"],"query":[{"key":"startdate","value":"2025-09-09"},{"key":"enddate","value":"2025-12-11","disabled":true},{"key":"pagenumber","value":"1"},{"key":"pagesize","value":"1"},{"key":"loyaltyId","value":"88702009"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 15 Jan 2026 10:31:00 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Customer not found\"\n}"},{"id":"78a2484c-e0a3-4a2a-8ad2-0563b223caec","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"//leaderboards/history?startdate=2025-09-09&enddate=2025-02-11&pagenumber=1&loyaltyId=88702008","host":["/"],"path":["leaderboards","history"],"query":[{"key":"startdate","value":"2025-09-09"},{"key":"enddate","value":"2025-02-11"},{"key":"pagenumber","value":"1"},{"key":"pagesize","value":"1","disabled":true},{"key":"loyaltyId","value":"88702008"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 15 Jan 2026 11:27:50 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"EndDate is invalid\",\n            \"errorCode\": \"Customers_EnddateIsInvalid\",\n            \"parameters\": null\n        }\n    ]\n}"}],"_postman_id":"c04ec82f-ceaa-4351-90ad-5b22422116b9"},{"name":"get leaderboard history","id":"98a64b4f-a215-478f-bddd-b8d8d791ab0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"//leaderboards/{{leaderboardId}}/history?phoneNumber&uniqueIdentifier=5623R54E&loyaltyId&pageNumber=1&pageSize=10&startDate=2024-01-01&endDate=2024-12-31","description":"<p>Gets a paged list of leaderboard periods for the specified leaderboard with optional date filters</p>\n","urlObject":{"path":["leaderboards","{{leaderboardId}}","history"],"host":["/"],"query":[{"key":"phoneNumber","value":null},{"key":"uniqueIdentifier","value":"5623R54E"},{"key":"loyaltyId","value":null},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"startDate","value":"2024-01-01"},{"key":"endDate","value":"2024-12-31"}],"variable":[]}},"response":[{"id":"ab6390f1-1198-47b1-ac85-642ac6584ceb","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"//leaderboards/{{leaderboardId}}/history?loyaltyId=36972467&pageNumber=1&pageSize=10","host":["/"],"path":["leaderboards","{{leaderboardId}}","history"],"query":[{"key":"phoneNumber","value":null,"disabled":true},{"key":"uniqueIdentifier","value":"5623R54E","disabled":true},{"key":"loyaltyId","value":"36972467"},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"startDate","value":"2024-01-01","disabled":true},{"key":"endDate","value":"2024-12-31","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1395"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 16 Jan 2026 11:46:07 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"138f0477-9f6c-4164-b7cb-fa21fe9fd729"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"occurrenceName\": \"Test Period 2\",\n            \"startDate\": \"2026-01-12T00:00:00Z\",\n            \"endDate\": \"2026-01-15T00:00:00Z\",\n            \"rank\": 1,\n            \"transactionCount\": 12\n        },\n        {\n            \"occurrenceName\": \"Test Period 3\",\n            \"startDate\": \"2026-01-08T00:00:00Z\",\n            \"endDate\": \"2026-01-11T00:00:00Z\",\n            \"rank\": 2,\n            \"transactionCount\": 11\n        },\n        {\n            \"occurrenceName\": \"Test Period 18\",\n            \"startDate\": \"2025-11-09T00:00:00Z\",\n            \"endDate\": \"2025-11-12T00:00:00Z\",\n            \"rank\": 3,\n            \"transactionCount\": 10\n        },\n        {\n            \"occurrenceName\": \"Test Period 10\",\n            \"startDate\": \"2025-12-11T00:00:00Z\",\n            \"endDate\": \"2025-12-14T00:00:00Z\",\n            \"rank\": 4,\n            \"transactionCount\": 9\n        },\n        {\n            \"occurrenceName\": \"Test Period 20\",\n            \"startDate\": \"2025-11-01T00:00:00Z\",\n            \"endDate\": \"2025-11-04T00:00:00Z\",\n            \"rank\": 5,\n            \"transactionCount\": 8\n        },\n        {\n            \"occurrenceName\": \"Test Period 16\",\n            \"startDate\": \"2025-11-17T00:00:00Z\",\n            \"endDate\": \"2025-11-20T00:00:00Z\",\n            \"rank\": 6,\n            \"transactionCount\": 8\n        },\n        {\n            \"occurrenceName\": \"Test Period 11\",\n            \"startDate\": \"2025-12-07T00:00:00Z\",\n            \"endDate\": \"2025-12-10T00:00:00Z\",\n            \"rank\": 7,\n            \"transactionCount\": 7\n        },\n        {\n            \"occurrenceName\": \"Test Period 17\",\n            \"startDate\": \"2025-11-13T00:00:00Z\",\n            \"endDate\": \"2025-11-16T00:00:00Z\",\n            \"rank\": 8,\n            \"transactionCount\": 7\n        },\n        {\n            \"occurrenceName\": \"Test Period 13\",\n            \"startDate\": \"2025-11-29T00:00:00Z\",\n            \"endDate\": \"2025-12-02T00:00:00Z\",\n            \"rank\": 9,\n            \"transactionCount\": 6\n        },\n        {\n            \"occurrenceName\": \"Test Period 14\",\n            \"startDate\": \"2025-11-25T00:00:00Z\",\n            \"endDate\": \"2025-11-28T00:00:00Z\",\n            \"rank\": 10,\n            \"transactionCount\": 6\n        }\n    ],\n    \"page\": 1,\n    \"pageSize\": 10,\n    \"totalCount\": 20,\n    \"hasNextPage\": true,\n    \"hasPreviousPage\": false\n}"},{"id":"8a505234-976c-4661-a8ff-a853da881350","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"//leaderboards/{{leaderboardId}}/history?loyaltyId=36972467&pageNumber=1&pageSize=10","host":["/"],"path":["leaderboards","{{leaderboardId}}","history"],"query":[{"key":"phoneNumber","value":null,"disabled":true},{"key":"uniqueIdentifier","value":"5623R54E","disabled":true},{"key":"loyaltyId","value":"36972467"},{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"},{"key":"startDate","value":"2024-01-01","disabled":true},{"key":"endDate","value":"2024-12-31","disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 16 Jan 2026 11:46:49 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"92f7760d-734e-45ef-a071-caf906d73e63"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"98a64b4f-a215-478f-bddd-b8d8d791ab0e"},{"name":"get leaderboard details","id":"aed9f26b-2c00-487f-8cf7-cdc712f2f656","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"//leaderboards/{{leaderboardId}}?loyaltyId=42992792&search=42992792","urlObject":{"path":["leaderboards","{{leaderboardId}}"],"host":["/"],"query":[{"key":"loyaltyId","value":"42992792"},{"key":"search","value":"42992792"}],"variable":[]}},"response":[{"id":"2f25eaad-4838-449f-be15-8215927a4e9e","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"ar","type":"text","disabled":true}],"url":{"raw":"//leaderboards/{{leaderboardId}}?loyaltyId=42992792&search=42992790","host":["/"],"path":["leaderboards","{{leaderboardId}}"],"query":[{"key":"loyaltyId","value":"42992792"},{"key":"search","value":"42992790"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Mon, 19 Jan 2026 07:14:35 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '01/19/2026 06:22:26'\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-Id","value":"8a684724-cada-49f0-84cd-543e7227ac5e"}],"cookie":[],"responseTime":null,"body":""},{"id":"0555a87f-58e0-43e8-9757-27ff3274fbd4","name":"404 -NotFound","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"ar","type":"text","disabled":true}],"url":{"raw":"//leaderboards/{{leaderboardId}}?loyaltyId=42992792&search=42992792","host":["/"],"path":["leaderboards","{{leaderboardId}}"],"query":[{"key":"loyaltyId","value":"42992792"},{"key":"search","value":"42992792"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 19 Jan 2026 08:26:01 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Leaderboard with ID '019bc5ac-5836-7c64-b3a0-99dd6efad519' was not found. - Not Found\"\n}"},{"id":"b619678b-7cab-4768-b64a-336f1ffb3f71","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"ar","type":"text","disabled":true}],"url":{"raw":"//leaderboards/{{leaderboardId}}?loyaltyId=42992792&search=42992792","host":["/"],"path":["leaderboards","{{leaderboardId}}"],"query":[{"key":"loyaltyId","value":"42992792"},{"key":"search","value":"42992792"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"685"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 19 Jan 2026 08:51:51 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-Id","value":"2fb0f455-a7aa-4a82-86d2-e8b353b0f25b"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"January Leaderboard\",\n    \"description\": \"Leaderboard for January campaign\",\n    \"termsAndConditions\": \"Points will be calculated based on transactions.\",\n    \"occurrenceName\": \"January 2026 Leaderboard\",\n    \"startDate\": \"2026-01-01T00:00:00Z\",\n    \"endDate\": \"2026-01-31T23:59:59Z\",\n    \"nextOccurrence\": \"2026-02-01T23:59:59Z\",\n    \"rewards\": [\n        {\n            \"name\": \"Gold Reward\",\n            \"description\": \"Top rank reward\",\n            \"pointTransactionLabel\": \"Leaderboard Reward\",\n            \"rankType\": \"Range\",\n            \"minRank\": 1,\n            \"maxRank\": 1,\n            \"rewardType\": \"Neons\",\n            \"points\": 5000\n        }\n    ],\n    \"rankings\": [\n        {\n            \"customerId\": \"6898aca2-0aab-4d66-1c5a-08de48f7bc8f\",\n            \"loyaltyId\": \"42992792\",\n            \"rank\": 1,\n            \"transactionCount\": 1\n        }\n    ],\n    \"myRank\": {\n        \"customerId\": \"6898aca2-0aab-4d66-1c5a-08de48f7bc8f\",\n        \"loyaltyId\": \"42992792\",\n        \"rank\": 1,\n        \"transactionCount\": 1\n    }\n}"}],"_postman_id":"aed9f26b-2c00-487f-8cf7-cdc712f2f656"},{"name":"get leaderboard history detail","id":"709ef6fe-14e1-4776-8b8f-c25c2f68d759","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"//leaderboards/{{leaderboardId}}/history/{{historyId}}?loyaltyId=42992792&search=42992792","description":"<p>Gets leaderboard history details for a period</p>\n","urlObject":{"path":["leaderboards","{{leaderboardId}}","history","{{historyId}}"],"host":["/"],"query":[{"key":"loyaltyId","value":"42992792"},{"key":"search","value":"42992792"}],"variable":[]}},"response":[{"id":"09af1ac0-b495-4aae-b50e-70865cb4505d","name":"404 - NotFound","originalRequest":{"method":"GET","header":[],"url":{"raw":"http:////leaderboards/{{leaderboardId}}/history/{{historyId}}?loyaltyId=42992792&search=42992792","protocol":"http","host":["/"],"path":["leaderboards","{{leaderboardId}}","history","{{historyId}}"],"query":[{"key":"loyaltyId","value":"42992792"},{"key":"search","value":"42992792"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 19 Jan 2026 12:50:00 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-cache,no-store"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"Leaderboard with ID '019bc5ac-5836-7c64-b3a0-99dd6efad518' was not found. - Not Found\"\n}"},{"id":"7eddb476-93e8-4e70-999e-1f8ea4aea53a","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"//leaderboards/{{leaderboardId}}/history/{{historyId}}?loyaltyId=42992792&search=42992792","host":["/"],"path":["leaderboards","{{leaderboardId}}","history","{{historyId}}"],"query":[{"key":"loyaltyId","value":"42992792"},{"key":"search","value":"42992792"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"539"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 19 Jan 2026 12:50:38 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-Id","value":"cc44f08a-6ed6-4e70-b83b-10bd617e54ce"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"January Leaderboard\",\n    \"description\": \"Leaderboard for January campaign\",\n    \"termsAndConditions\": \"Points will be calculated based on transactions.\",\n    \"occurrenceName\": \"January 2026 Leaderboard\",\n    \"startDate\": \"2026-01-01T00:00:00Z\",\n    \"endDate\": \"2026-01-31T23:59:59Z\",\n    \"topThreeRanks\": [\n        {\n            \"customerId\": \"6898aca2-0aab-4d66-1c5a-08de48f7bc8f\",\n            \"loyaltyId\": \"42992792\",\n            \"rank\": 1,\n            \"transactionCount\": 12,\n            \"isMyRank\": false\n        }\n    ],\n    \"rankings\": [\n        {\n            \"customerId\": \"6898aca2-0aab-4d66-1c5a-08de48f7bc8f\",\n            \"loyaltyId\": \"42992792\",\n            \"rank\": 1,\n            \"transactionCount\": 12,\n            \"isMyRank\": true\n        }\n    ]\n}"},{"id":"2f1f0d8a-5847-4387-bc93-effd2dd6bd16","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept-Language","value":"ar","type":"text","disabled":true}],"url":{"raw":"//leaderboards/{{leaderboardId}}/history/{{historyId}}?loyaltyId=42992792&search=42992792","host":["/"],"path":["leaderboards","{{leaderboardId}}","history","{{historyId}}"],"query":[{"key":"loyaltyId","value":"42992792"},{"key":"search","value":"42992792"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Mon, 19 Jan 2026 12:53:35 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer error=\"invalid_token\", error_description=\"The token expired at '01/19/2026 12:48:25'\""},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-Id","value":"d4740284-1015-4fab-8e74-4edf97afce26"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"709ef6fe-14e1-4776-8b8f-c25c2f68d759"}],"id":"c907e205-3097-4d7c-be3b-f4cc8507ce7f","description":"<p>This section contains API endpoints related to leaderboards.</p>\n","_postman_id":"c907e205-3097-4d7c-be3b-f4cc8507ce7f"}],"id":"ab917df2-85ce-4c10-aec8-ff206afb8d70","description":"<p>This section contains API endpoints related to handling customers' activities such as creating new customers, logging customer actions, viewing earnings and burnings, buying or selling Neons, etc.</p>\n","_postman_id":"ab917df2-85ce-4c10-aec8-ff206afb8d70"},{"name":"Lookups","item":[{"name":"Partners","item":[{"name":"get partners","id":"49d2aaae-1bdd-47fc-a543-7bc4bc75c1a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"text"},{"key":"RequestId","value":"","type":"text"}],"url":"//partners?pageNumber=1&pageSize=10","description":"<p>Get list of Partners.</p>\n","urlObject":{"path":["partners"],"host":["/"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"}],"variable":[]}},"response":[{"id":"a98af8ad-9826-409f-8661-d0f0f686bf89","name":"200 -  OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"//partners?pageNumber=1&pageSize=10","host":["/"],"path":["partners"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"496"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 04 Jul 2025 10:04:13 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"items\": [\r\n        {\r\n            \"id\": \"9a4c0845-acfb-4ff7-ab3e-932fd92be07e\",\r\n            \"name\": \"Saudia Airlines\",\r\n            \"description\": \"Saudia, formerly known as Saudi Arabian Airlines, is the flag carrier of Saudi Arabia based in Jeddah. The airline's main hubs are the King Abdulaziz International Airport\",\r\n            \"logoUrl\": \"https://storage.googleapis.com/neons-stg-images-bucket/public/3aa20152-aaeb-4479-9b6b-e46650dc5100.jpg\",\r\n            \"currencyId\": \"d46137b8-5c13-4c08-a192-e564280213d2\",\r\n            \"currencyCode\": \"MIL\",\r\n            \"currencySymbol\": \"$\",\r\n            \"exchangeRates\": [\r\n                {\r\n                    \"id\": \"78b6cd6f-7870-44a1-a0cb-3082eaa62480\",\r\n                    \"name\": \"Neons - Miles\",\r\n                    \"buyingRate\": 82.50,\r\n                    \"sellingRate\": 83.20\r\n                }\r\n            ]\r\n            \r\n        }\r\n    ],\r\n    \"page\": 1,\r\n    \"pageSize\": 10,\r\n    \"totalCount\": 1,\r\n    \"hasNextPage\": false,\r\n    \"hasPreviousPage\": false\r\n}"},{"id":"67309d93-e457-4330-9d4d-b222d4610371","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"//partners?pageNumber=1&pageSize=10","host":["/"],"path":["partners"],"query":[{"key":"pageNumber","value":"1"},{"key":"pageSize","value":"10"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 04 Jul 2025 09:54:06 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"49d2aaae-1bdd-47fc-a543-7bc4bc75c1a2"},{"name":"validate customer of a partner","id":"99f59ee8-aeac-4b38-9f27-a2a2e26e7f8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":"//partners/{{partnerId}}/customer-validations?loyaltyId=customer1","description":"<p><strong>Allow to validate if a customer exists under a partner</strong></p>\n","urlObject":{"path":["partners","{{partnerId}}","customer-validations"],"host":["/"],"query":[{"key":"loyaltyId","value":"customer1"}],"variable":[]}},"response":[{"id":"095e3f61-6652-44fb-936d-c697d75d8b4b","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":{"raw":"//partners/{{partnerId}}/customer-validations?loyaltyId=customer1","host":["/"],"path":["partners","{{partnerId}}","customer-validations"],"query":[{"key":"loyaltyId","value":"customer1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"139"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 15 Oct 2025 15:07:11 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"490505d6-2c6c-4dd2-aa2c-1e95fb1c07b5"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"isValid\": true,\n    \"partnerId\": \"a1b2c3d4-1111-7890-abcd-ef1234567890\",\n    \"customerId\": \"customer1\",\n    \"message\": \"Customer is valid for this partner\"\n}"}],"_postman_id":"99f59ee8-aeac-4b38-9f27-a2a2e26e7f8f"},{"name":"get partner exchange rates","id":"567023fb-a89b-46fa-bcf0-b63eb21569f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"Accept-Language","value":"{{languageCode}}","type":"text"},{"key":"RequestId","value":"","type":"text"}],"url":"//partners/{{partnerId}}/exchange-rates","description":"<p>Get Partner Exchange Rates.</p>\n","urlObject":{"path":["partners","{{partnerId}}","exchange-rates"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"5fd600b0-918a-4300-960c-0ade234e2e64","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"//partners/{{partnerId}}/exchange-rates"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"444"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 04 Jul 2025 10:07:03 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": \"a007f131-63c9-4abf-ae80-8c164c95a564\",\r\n    \"name\": \"Saudia Airlines\",\r\n    \"description\": \"Saudia, formerly known as Saudi Arabian Airlines, is the flag carrier of Saudi Arabia based in Jeddah. The airline's main hubs are the King Abdulaziz International Airport\",\r\n    \"logoUrl\": \"https://storage.googleapis.com/neons-stg-images-bucket/public/3aa20152-aaeb-4479-9b6b-e46650dc5100.jpg\",\r\n    \"currencyId\": \"83940251-a2a3-4c38-b3e0-cfbc909e67fc\",\r\n    \"currencyCode\": \"MIL\",\r\n    \"currencySymbol\": \"$\",\r\n    \"exchangeRates\": [\r\n        {\r\n            \"id\": \"312f6e5c-e986-4421-86c7-9239c76adfee\",\r\n            \"buyingRate\": 82.50,\r\n            \"sellingRate\": 83.20\r\n        }\r\n    ]\r\n}"},{"id":"f6006e48-0457-452b-bc32-5727121e870f","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":"//partners/{{partnerId}}/exchange-rates"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 04 Jul 2025 10:06:24 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"567023fb-a89b-46fa-bcf0-b63eb21569f9"}],"id":"20756ad1-e0ef-4127-8cd5-2e145448eecd","description":"<p>This section contains API endpoints related to retrieving Partners and their exchange rates</p>\n","_postman_id":"20756ad1-e0ef-4127-8cd5-2e145448eecd"},{"name":"Vendors","item":[{"name":"Media","item":[{"name":"get logos","id":"01ecb710-38c2-4129-bc86-c7f42264d5fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"//vendors/{{vendorId}}/logos","urlObject":{"path":["vendors","{{vendorId}}","logos"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"62e9bd37-61df-4e0e-8a83-ac68bb9cdc2e","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":"//vendors/{{vendorId}}/logos"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"444"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 04 Jul 2025 10:07:03 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": \"11111111-2222-3333-4444-555555555555\",\n    \"fileName\": \"logo-en.png\",\n    \"contentType\": \"image/png\",\n    \"language\": \"En\",\n    \"url\": \"https://example.com/vendor/logo-en.png\"\n  },\n  {\n    \"id\": \"66666666-7777-8888-9999-000000000000\",\n    \"fileName\": \"logo-fr.png\",\n    \"contentType\": \"image/png\",\n    \"language\": \"Fr\",\n    \"url\": \"https://images.pexels.com/photos/1103970/pexels-photo-1103970.jpeg\"\n  }\n]"},{"id":"045594fc-05bd-4a05-ad80-ca598c748a58","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":"//vendors/{{vendorId}}/logos"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 04 Jul 2025 10:06:24 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"01ecb710-38c2-4129-bc86-c7f42264d5fb"}],"id":"b53be3c8-7dfc-4a7a-95d1-3dbf023b38c8","_postman_id":"b53be3c8-7dfc-4a7a-95d1-3dbf023b38c8","description":""}],"id":"6d467dfa-ce4f-4a61-8efc-22b8e90330f3","description":"<p>This section contains API endpoints related to retrieving Vendor details</p>\n","_postman_id":"6d467dfa-ce4f-4a61-8efc-22b8e90330f3"},{"name":"Exchange Rates","item":[{"name":"get conversion rate of a currency","id":"c178e9f3-9e2a-4710-9b5c-fe1ede48592a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[{"key":"RequestId","value":"","type":"text"}],"url":"//exchange-rates/{{exchangeRateId}}","description":"<p>Allow to get conversion rate of a currency with details.</p>\n","urlObject":{"path":["exchange-rates","{{exchangeRateId}}"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"4cfefbe3-02a9-48ff-afbf-154b8fcbd03c","name":"200 - OK","originalRequest":{"auth":{"type":"bearer","bearer":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJjbGllbnQxQGdtYWlsLmNvbSIsImp0aSI6ImQzMzVjZmM3LTFjZjAtNDIyYi1iMGU4LWJhODRkZmNlZTIwZiIsImh0..."}},"method":"GET","header":[],"url":"//exchange-rates/{{exchangeRateId}}","description":"Allow to get conversion rate of a currency with details."},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"ac09a28e-0b65-4059-2035-08ddf5bdf29c\",\n    \"name\": \"NEONS - LBP1\",\n    \"currencyCode\": \"USD\",\n    \"currencySymbol\": \"$\",\n    \"buyingRate\": 100000.5,\n    \"sellingRate\": 20000,\n    \"status\": \"Active\"\n}"},{"id":"042f2542-e663-4d7e-9b32-2d2a83a288a1","name":"400 - BadRequest","originalRequest":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"method":"GET","header":[],"url":"//exchange-rates/{{exchangeRateId}}","description":"Allow to get conversion rate of a currency with details."},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"exchangeRateId\": [\n            \"Exchange rate is inactive\"\n        ]\n    },\n    \"type\": \"https://tools.ietf.org/html/rfc9110#section-15.5.1\",\n    \"title\": \"One or more validation errors occurred.\",\n    \"status\": 400,\n    \"traceId\": \"00-55582186bb4957be6b1d59497b0c8131-7ef2e34b51a31616-00\"\n}"},{"id":"28f8e9c1-7380-4ff5-a396-c9004fa803d5","name":"404 - NotFound","originalRequest":{"method":"GET","header":[],"url":"//exchange-rates/{{exchangeRateId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Not Found\",\n    \"status\": 404,\n    \"detail\": \"ExchangeRate - Not Found\"\n}"}],"_postman_id":"c178e9f3-9e2a-4710-9b5c-fe1ede48592a"}],"id":"b9a79475-2465-4619-a60f-2fe59275702c","_postman_id":"b9a79475-2465-4619-a60f-2fe59275702c","description":""}],"id":"86bb46a0-1ca9-46ca-844c-792e7df93cc6","description":"<p>This section contains API endpoints related to retrieving currency exchange rates with transaction limits.</p>\n","_postman_id":"86bb46a0-1ca9-46ca-844c-792e7df93cc6"},{"name":"Utilities","item":[{"name":"Codes","item":[{"name":"get barcode","id":"9d250c1c-5963-46fe-a964-e4d378b02ff8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"//barcode?text=","description":"<p>Generates a barcode image from text.</p>\n<p>This endpoint returns either a <strong>PNG file</strong> or a <strong>Base64-encoded JSON response</strong>, depending on the <code>Accept</code> header.</p>\n<ul>\n<li><p>If <code>Accept: application/json</code> is provided, the response will contain the Base64-encoded JSON.</p>\n</li>\n<li><p>Otherwise, a PNG file will be returned.</p>\n</li>\n</ul>\n","urlObject":{"path":["barcode"],"host":["/"],"query":[{"key":"text","value":""}],"variable":[]}},"response":[{"id":"7260f1a2-0b9f-46bd-b7fa-3915aca3c493","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"//barcode?text=","host":["/"],"path":["barcode"],"query":[{"key":"text","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"444"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 04 Jul 2025 10:07:03 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":""},{"id":"a2938a08-2f31-4760-ba4a-c3cde0bedc97","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"//barcode?text=","host":["/"],"path":["barcode"],"query":[{"key":"text","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 04 Jul 2025 10:06:24 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer"}],"cookie":[],"responseTime":null,"body":""},{"id":"b0375cbb-5742-4561-aa93-96e4a8e9a484","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"//barcode?text=jke","host":["/"],"path":["barcode"],"query":[{"key":"text","value":"jke"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 26 Aug 2025 10:15:44 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Cache-Control","value":"no-store, no-cache"},{"key":"Expires","value":"-1"},{"key":"Pragma","value":"no-cache"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"barcode text allowed length is between 5 and 250 character\"\n        }\n    ]\n}"}],"_postman_id":"9d250c1c-5963-46fe-a964-e4d378b02ff8"},{"name":"get qrcode","id":"86b1a0d4-ff09-45be-9b1b-7d67a9a9c7fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"GET","header":[],"url":"//qrcode?text=","description":"<p>Generates a QR code image from text.</p>\n<p>This endpoint returns either a <strong>PNG file</strong> or a <strong>Base64-encoded JSON response</strong>, depending on the <code>Accept</code> header.</p>\n<ul>\n<li><p>If <code>Accept: application/json</code> is provided, the response will contain the Base64-encoded JSON.</p>\n</li>\n<li><p>Otherwise, a PNG file will be returned.</p>\n</li>\n</ul>\n","urlObject":{"path":["qrcode"],"host":["/"],"query":[{"key":"text","value":""}],"variable":[]}},"response":[{"id":"d5494fd8-767e-4134-8503-b4baeb7f66f6","name":"200 - OK","originalRequest":{"method":"GET","header":[],"url":{"raw":"//qrcode?text=","host":["/"],"path":["qrcode"],"query":[{"key":"text","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"444"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 04 Jul 2025 10:07:03 GMT"},{"key":"Server","value":"Kestrel"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":""},{"id":"0b75abb6-5b80-4a73-862c-74d8c06f2f20","name":"401 - Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"//qrcode?text=","host":["/"],"path":["qrcode"],"query":[{"key":"text","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Date","value":"Fri, 04 Jul 2025 10:06:24 GMT"},{"key":"Server","value":"Kestrel"},{"key":"WWW-Authenticate","value":"Bearer"}],"cookie":[],"responseTime":null,"body":""},{"id":"64dc8aa0-ea5e-40a1-816b-fc9552f20392","name":"400 - BadRequest","originalRequest":{"method":"GET","header":[],"url":{"raw":"//qrcode?text=ty","host":["/"],"path":["qrcode"],"query":[{"key":"text","value":"ty"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"invalidParams\": [\n        {\n            \"description\": \"qr text allowed length is between 10 and 250 character\"\n        }\n    ]\n}"}],"_postman_id":"86b1a0d4-ff09-45be-9b1b-7d67a9a9c7fe"}],"id":"0cf99ed7-27d8-4f04-819b-889b5af389d3","description":"<p>This section contains API endpoints related to generate code</p>\n","_postman_id":"0cf99ed7-27d8-4f04-819b-889b5af389d3"},{"name":"SMS","item":[{"name":"send SMS","id":"22128d27-a4f2-4410-91df-ed93f7ecd267","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"PhoneNumber\": \"+966532145425\",\n    \"Template\": \"voucher Code : 98561335\"\n}","options":{"raw":{"language":"json"}}},"url":"//sms","description":"<p>Send SMS message to a phone number with a custom message template.</p>\n<p><strong>Request Body Parameters:</strong></p>\n<ul>\n<li><strong><code>PhoneNumber</code></strong> (required) – The recipient's phone number in international format (e.g., +966532145425)</li>\n<li><strong><code>Template</code></strong> (required) – The SMS message content to be sent</li>\n</ul>\n<p><strong>Authentication:</strong>\nThis endpoint requires authentication with a Bearer token obtained from the Identity service. </p>\n<p><strong>Phone Number Format:</strong>\nPhone numbers must be provided in international format starting with '+' followed by the country code and number.</p>\n<p><strong>Message Template:</strong>\nThe template field contains the actual message content that will be sent to the recipient. This can include:</p>\n<ul>\n<li>Verification codes</li>\n<li>Voucher codes</li>\n<li>Promotional messages</li>\n<li>Account notifications</li>\n<li>Custom text messages</li>\n</ul>\n","urlObject":{"path":["sms"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"cb8e9a38-6d7b-4bd6-86ef-dfae6a27a9dd","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{token}}"}],"body":{"mode":"raw","raw":"{\n    \"PhoneNumber\": \"+966532145425\",\n    \"Template\": \"voucher Code : 98561335\"\n}"},"url":"//sms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"isSent\": true\n}"}],"_postman_id":"22128d27-a4f2-4410-91df-ed93f7ecd267"}],"id":"4d7d8b06-6e8e-4aed-9bb7-7c78a42b70ab","description":"<p>This section contains API endpoints related to SMS messaging functionality. The SMS service allows you to send text messages to customers with custom message content.</p>\n","_postman_id":"4d7d8b06-6e8e-4aed-9bb7-7c78a42b70ab"},{"name":"Identity validation","item":[{"name":"signature-validations","id":"fa06cbb2-fe3f-4b4b-9ae5-aa81d94c1700","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{mobile-token}}"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"signature\": \"MSlJs6foNUTxcw+rlCCied/NAdCxZiKhPW3gHi6zoSzuA8v4NdWOhsM1J+QLxPc7ooWh0yxLCTJQr3+2ix0MNw8IT7ehLoR4uPQfN7UDIFoexSC7i0stM6ukZcmuMRTDjJ7YEfk6vfWo+H9blxVZipMB6jBBOqZ70dHr1cikpiIoX3RlSJo4OFwp3A+kUbexrPg4yJnJ62J87MX+1nT/vFo04VPacSprsAA9X/BsrG7goBwFrTSBGFCaMP/IEBCuWZnxqMo1rDFj71ENdBipnAG+9BCtm9+N1B00u6lz0S9zps7rQZAgTJ/jCZbZjJ1CJvkbIkcl2L408Xl0uzp6kKJVVdvHDnAznJK6byk38Noa24tRn+7/zTeHtFyMuNZMV3lwzCTRnL2ZhsSdhzUJ7cZKkFuRsiHLnaRB/xNVpYbe0F1e5svRvJDOofsycvtzLFJER+0bqlAQkZurbz+1ig+O0QzH98mxvnnuRsrLEhHImNGdSE4i2gpImnr4vAUhvK+fy5MHwTfWM/wdcObxddGP6vcwhMPtuGnTvYZ90LC+ws+sTnGvGq1K2ioYvoG0VIlXFuUrObZgiGRDn1xnpLoMzZA8a4mrbuLzo8nRB6j270afK+TtSAY8jmD4pCXH/uciHxrGMRkUXgUZTDf4a27leAffVmyasAfPW99EgVLfJIEMrN5sEO6D9JgG9mwcORFv27QGaMhS8HrED+QiXtD1tCSSmCO5zoWsYrU3Lwgl69BXCp8O/XZqlpQ8MvmzftThUvBr3kBak40GdxPy0sa3W0r/+LeC/54PWflzMJOad3yDzrMuFgd8FibrRlwFUWoWXmoP3MFavoI5E9yWt77ScroFAnpY4T8YrnXwxtZRcDBfzCcTCmHxq6s+wNsEYmuGSDMet9qgoyGp2iejVyojPO8+vPKM67N+8QM+gxMEe8rHupEN8wMhJtW+U6xy06IPcwY/ww187+3fhFVm9q7NCAlbchC/1jyUzF6QDWndzQdMG+EgSEuQirm6pUUP2mL0VXm8YOFVIvjf3ugoaYJ0/XIqxCw7Z3FU25gaR7dkgyvnMoiSG43FHTJ44+vG9IO3wH2NkSaV1vjt1LjgO9pXYBrAF1YVByUQjfV/Tv9kOzi5/rPrBnZyD40gLFgdn/V6gPHEGpgflaBV1EphyVZheRTjyBcqUqrb0ffuFv0FYQgMM92Wc9ciwQ1kfxhLKEohAoeXzbzDqc3VbvjBqtJjT6Wqey2fieZ2VqJ5EVOT2RhPqL88CgrUvDt8B794OpBZ38GgJwcqGIBW+Yzb+N5DfjhU9mmfvr2WFGmUZZOyIxdtopsIWWoRoQ2ZiWI4utfXLCOa98uOUUVXuKnCQb9Dg+p7z+VRS/dfrUdXifgrJTYHAke1GO4QMmu3gu06ccCoaHUE77/EddJLOff+ioO1Dl4/1LkpHBrVftySeTe6ZaKcbQiLRSWAzpgjD5+aFI9G3kJYVt9vKQ8fUbixf+6UpMAOD06KweHrcNCk/1aPo8+V6tIdxRRXqC1WO+t1B+3z1obhXIwCfK9rt4SnMPMfMjjVJdEppaH2smIpDpXM/1aQa3IpD5oz4cLU90GIR5crkdBlXgRx7+3TvGsPxB+eeIdY+qcyioFvydCBGWQI7FAk5y7wDAgs6PhCOvXHuInksnUJSbgJqLoKvF9XOKU5TVmljpbCZsELMfx1Qb/6FPBW8ZthvStwucUUoiEjEPiXylWOvUYXeYQn18fHHmb2ec0gjcMHKUlaOO6kLdCUbfg6+H2HgBHw2BiZBsdA4MADQ2xj/cqliygfA7e6ckkq/Y3iu8qDDY1SaP/x783Ip2NNagdNPE0=\"\r\n}","options":{"raw":{"language":"json"}}},"url":"//integration/signature-validations","urlObject":{"path":["integration","signature-validations"],"host":["/"],"query":[{"disabled":true,"key":"code","value":"7cybcFMtTBeJd0Cbl7bsTnSgrOHnB7kaaqAfeWULjEtwhiwvddmK5/5aNCsAyZ0RySQyG59uPtQItQfL0xvhJkR2MdsNg7Wn3fO4E+ynMJ0vMtEoBqLuOZAvleLljab+dokVPCYEWDIhkSPm5PPmvbEfqlIzemjQwzR6Z5RM4+W1b91inkUevCwiYmA87EGH+z9AO/WCx27h2D5mN/V1GfvWZNhPx3LaSOqzpvvIEAlMkFwBHxaxyli1ioelR/lwwyVfJEId32NfpeLx3prOFT96RX82GsigYVOHqcm7KwL9YXkC0TuZ/fYr2bnwzvxXcLRBGqwc20AHULacA3o8aXXM8ZsfcQZrKaj0iZwn57iceClfQf7+l3oiaBm3DgntrDrdZkCADpYqfctKTCQEN7XXwSHbsOa5f2hKuwTGcPGlWd8l8nmn1cwgIoiYBQP6e/5FXU6wTvSMfI1NkSvc9cRHNfjN5z1f1aTJnZpBUXBqdSyKF/5TWosgNzH7v4wJ04ixzzwRV/6o8OnEyEbxlzLoP1WmYnDizidCECOaOrlKtEl3oWp3NsIvx5cieptw+C4nD1NBUA3tvSrrZu1YQvKAfJ3YZMe8sXFIGFjcWqPchmh7l7Xf1LXaADJoVHTF9fmeeG05Yl3Aax6fxWZct3k/J/B2BG4B+aenCRwGO5AXQ/BdKm4BX5x7fKrzwBxhy0CK8hasZ9MeYMQelJ4G/VlRF3SHAsP57ss5yrEshttP195Vu8YcpT+og7RsN1ZJRYaQfaZYFKAyKiWkSIDcidy7JHegGQG0siNVHwqPVCbmtexne1TSTyqYcN1SytlpJIfRFM41Wo/4SMWbmNLtNmHre46Zigg5RXGO+MKtnvEucWeylWFAO9WN/GSL76P814SL+MWaNm6JMpUqYJSsS1YDqOVXq7O3+kiGOnaWC6MD0RVn1Ifm+iIMtDzeioM1LHI4a/rE6pZ5FPwcujw7TkaU7Gz6jNA7R5NtNAGqs2TLxs7zejY3/b7ULTsn/FPQWJBlJ9lVPkqmBEoQABnCJ50gnrbFkXFMfu60Uf6ysqJuY4l143STq5PMTD3hJM+TMG61/oaNCUXOXIXcbW0C7egQwMVyimh1ESypfCZxP/Xf68K4Z2L4xjX/mDIPVqjo3VgFNbl6YTysvmGkNPIj2mtN2iGojChp8lJFWgsrToLl6XSTRKsiXeqoX43vM0ku/1cpDrYB7+X5Jq4WPYkdDoMKCji3U/o6D0P7LWDo2bflNW7p+7qKqZn4bimI7zPKoOcF5lw7SZ/XslAT57il7R+u4kQukshBUpIle0Kn2RIMnC8TBIwA6uFQogotxXVb0vFp/mNzd8GmbgXKON7SR2qtxJLcR2qb85KPY10BPc2WiS2Fgic9kfy87jVItXR7jThz8TSmlSNm8Il9dxKHI7j6E3+s978Vy4ohIA8cB+DeasWwHaW50ki2FoCITg/5IWKlEUCYkHOsBUMKuZLgEDnrTSJBjAOQkJKyesg7Xa405FnTHExjl2H3vGreebSeIs+oneq0pnEB7+y6rpXeaC25xbOHF8N1oHYPXQMWbNkgsAAGX+899W+W3YrkdnQS9LOJ1PVbUwFCtCnK06sbej+SvPrbUT1GmAM1pNZT9ygDa4fGInD6O2gkaIeoPPphmqdhPQBYJqjekF6vQAeemW1ZZPd/Z9I1xBFpBDtM1m6WbuK0BmJ4wUtS8tvN1gqNpWJVUFgcf4NW+FErhaTyTf7iJTfLndInMeEhxZaQWiFQmzNkSQS9Jqgv9zb8QOGdusVDlGqG1h1i9uf6LQWWUusaph0YtQHfy9nIybsJ"}],"variable":[]}},"response":[{"id":"e3b9e402-f32a-4d60-aba6-52855818e10d","name":"200 OK","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"signature\": \"MSlJs6foNUTxcw+rlCCied/NAdCxZiKhPW3gHi6zoSzuA8v4NdWOhsM1J+QLxPc7ooWh0yxLCTJQr3+2ix0MNw8IT7ehLoR4uPQfN7UDIFoexSC7i0stM6ukZcmuMRTDjJ7YEfk6vfWo+H9blxVZipMB6jBBOqZ70dHr1cikpiIoX3RlSJo4OFwp3A+kUbexrPg4yJnJ62J87MX+1nT/vFo04VPacSprsAA9X/BsrG7goBwFrTSBGFCaMP/IEBCuWZnxqMo1rDFj71ENdBipnAG+9BCtm9+N1B00u6lz0S9zps7rQZAgTJ/jCZbZjJ1CJvkbIkcl2L408Xl0uzp6kKJVVdvHDnAznJK6byk38Noa24tRn+7/zTeHtFyMuNZMV3lwzCTRnL2ZhsSdhzUJ7cZKkFuRsiHLnaRB/xNVpYbe0F1e5svRvJDOofsycvtzLFJER+0bqlAQkZurbz+1ig+O0QzH98mxvnnuRsrLEhHImNGdSE4i2gpImnr4vAUhvK+fy5MHwTfWM/wdcObxddGP6vcwhMPtuGnTvYZ90LC+ws+sTnGvGq1K2ioYvoG0VIlXFuUrObZgiGRDn1xnpLoMzZA8a4mrbuLzo8nRB6j270afK+TtSAY8jmD4pCXH/uciHxrGMRkUXgUZTDf4a27leAffVmyasAfPW99EgVLfJIEMrN5sEO6D9JgG9mwcORFv27QGaMhS8HrED+QiXtD1tCSSmCO5zoWsYrU3Lwgl69BXCp8O/XZqlpQ8MvmzftThUvBr3kBak40GdxPy0sa3W0r/+LeC/54PWflzMJOad3yDzrMuFgd8FibrRlwFUWoWXmoP3MFavoI5E9yWt77ScroFAnpY4T8YrnXwxtZRcDBfzCcTCmHxq6s+wNsEYmuGSDMet9qgoyGp2iejVyojPO8+vPKM67N+8QM+gxMEe8rHupEN8wMhJtW+U6xy06IPcwY/ww187+3fhFVm9q7NCAlbchC/1jyUzF6QDWndzQdMG+EgSEuQirm6pUUP2mL0VXm8YOFVIvjf3ugoaYJ0/XIqxCw7Z3FU25gaR7dkgyvnMoiSG43FHTJ44+vG9IO3wH2NkSaV1vjt1LjgO9pXYBrAF1YVByUQjfV/Tv9kOzi5/rPrBnZyD40gLFgdn/V6gPHEGpgflaBV1EphyVZheRTjyBcqUqrb0ffuFv0FYQgMM92Wc9ciwQ1kfxhLKEohAoeXzbzDqc3VbvjBqtJjT6Wqey2fieZ2VqJ5EVOT2RhPqL88CgrUvDt8B794OpBZ38GgJwcqGIBW+Yzb+N5DfjhU9mmfvr2WFGmUZZOyIxdtopsIWWoRoQ2ZiWI4utfXLCOa98uOUUVXuKnCQb9Dg+p7z+VRS/dfrUdXifgrJTYHAke1GO4QMmu3gu06ccCoaHUE77/EddJLOff+ioO1Dl4/1LkpHBrVftySeTe6ZaKcbQiLRSWAzpgjD5+aFI9G3kJYVt9vKQ8fUbixf+6UpMAOD06KweHrcNCk/1aPo8+V6tIdxRRXqC1WO+t1B+3z1obhXIwCfK9rt4SnMPMfMjjVJdEppaH2smIpDpXM/1aQa3IpD5oz4cLU90GIR5crkdBlXgRx7+3TvGsPxB+eeIdY+qcyioFvydCBGWQI7FAk5y7wDAgs6PhCOvXHuInksnUJSbgJqLoKvF9XOKU5TVmljpbCZsELMfx1Qb/6FPBW8ZthvStwucUUoiEjEPiXylWOvUYXeYQn18fHHmb2ec0gjcMHKUlaOO6kLdCUbfg6+H2HgBHw2BiZBsdA4MADQ2xj/cqliygfA7e6ckkq/Y3iu8qDDY1SaP/x783Ip2NNagdNPE0=\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"//integration/signature-validations","host":["/"],"path":["integration","signature-validations"],"query":[{"key":"code","value":"7cybcFMtTBeJd0Cbl7bsTnSgrOHnB7kaaqAfeWULjEtwhiwvddmK5/5aNCsAyZ0RySQyG59uPtQItQfL0xvhJkR2MdsNg7Wn3fO4E+ynMJ0vMtEoBqLuOZAvleLljab+dokVPCYEWDIhkSPm5PPmvbEfqlIzemjQwzR6Z5RM4+W1b91inkUevCwiYmA87EGH+z9AO/WCx27h2D5mN/V1GfvWZNhPx3LaSOqzpvvIEAlMkFwBHxaxyli1ioelR/lwwyVfJEId32NfpeLx3prOFT96RX82GsigYVOHqcm7KwL9YXkC0TuZ/fYr2bnwzvxXcLRBGqwc20AHULacA3o8aXXM8ZsfcQZrKaj0iZwn57iceClfQf7+l3oiaBm3DgntrDrdZkCADpYqfctKTCQEN7XXwSHbsOa5f2hKuwTGcPGlWd8l8nmn1cwgIoiYBQP6e/5FXU6wTvSMfI1NkSvc9cRHNfjN5z1f1aTJnZpBUXBqdSyKF/5TWosgNzH7v4wJ04ixzzwRV/6o8OnEyEbxlzLoP1WmYnDizidCECOaOrlKtEl3oWp3NsIvx5cieptw+C4nD1NBUA3tvSrrZu1YQvKAfJ3YZMe8sXFIGFjcWqPchmh7l7Xf1LXaADJoVHTF9fmeeG05Yl3Aax6fxWZct3k/J/B2BG4B+aenCRwGO5AXQ/BdKm4BX5x7fKrzwBxhy0CK8hasZ9MeYMQelJ4G/VlRF3SHAsP57ss5yrEshttP195Vu8YcpT+og7RsN1ZJRYaQfaZYFKAyKiWkSIDcidy7JHegGQG0siNVHwqPVCbmtexne1TSTyqYcN1SytlpJIfRFM41Wo/4SMWbmNLtNmHre46Zigg5RXGO+MKtnvEucWeylWFAO9WN/GSL76P814SL+MWaNm6JMpUqYJSsS1YDqOVXq7O3+kiGOnaWC6MD0RVn1Ifm+iIMtDzeioM1LHI4a/rE6pZ5FPwcujw7TkaU7Gz6jNA7R5NtNAGqs2TLxs7zejY3/b7ULTsn/FPQWJBlJ9lVPkqmBEoQABnCJ50gnrbFkXFMfu60Uf6ysqJuY4l143STq5PMTD3hJM+TMG61/oaNCUXOXIXcbW0C7egQwMVyimh1ESypfCZxP/Xf68K4Z2L4xjX/mDIPVqjo3VgFNbl6YTysvmGkNPIj2mtN2iGojChp8lJFWgsrToLl6XSTRKsiXeqoX43vM0ku/1cpDrYB7+X5Jq4WPYkdDoMKCji3U/o6D0P7LWDo2bflNW7p+7qKqZn4bimI7zPKoOcF5lw7SZ/XslAT57il7R+u4kQukshBUpIle0Kn2RIMnC8TBIwA6uFQogotxXVb0vFp/mNzd8GmbgXKON7SR2qtxJLcR2qb85KPY10BPc2WiS2Fgic9kfy87jVItXR7jThz8TSmlSNm8Il9dxKHI7j6E3+s978Vy4ohIA8cB+DeasWwHaW50ki2FoCITg/5IWKlEUCYkHOsBUMKuZLgEDnrTSJBjAOQkJKyesg7Xa405FnTHExjl2H3vGreebSeIs+oneq0pnEB7+y6rpXeaC25xbOHF8N1oHYPXQMWbNkgsAAGX+899W+W3YrkdnQS9LOJ1PVbUwFCtCnK06sbej+SvPrbUT1GmAM1pNZT9ygDa4fGInD6O2gkaIeoPPphmqdhPQBYJqjekF6vQAeemW1ZZPd/Z9I1xBFpBDtM1m6WbuK0BmJ4wUtS8tvN1gqNpWJVUFgcf4NW+FErhaTyTf7iJTfLndInMeEhxZaQWiFQmzNkSQS9Jqgv9zb8QOGdusVDlGqG1h1i9uf6LQWWUusaph0YtQHfy9nIybsJ","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Length","value":"135"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 24 Nov 2025 08:44:08 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self'"},{"key":"X-Request-ID","value":"7c8617a5-6cba-4613-a043-6c05e0f88d1e"},{"key":"api-supported-versions","value":"1.0"}],"cookie":[],"responseTime":null,"body":"{\n    \"claims\": {\n        \"birthdate\": \"20-01-2020 12:00:00\",\n        \"gender\": \"Male\",\n        \"given_name\": \"mobile\",\n        \"family_name\": \"user_one\",\n        \"username\": \"966164996493\"\n    }\n}"}],"_postman_id":"fa06cbb2-fe3f-4b4b-9ae5-aa81d94c1700"}],"id":"65c80822-c044-44d1-822e-25861d0375f0","_postman_id":"65c80822-c044-44d1-822e-25861d0375f0","description":""}],"id":"bb4365cc-a6f4-4b56-96f6-b442f4864f6e","_postman_id":"bb4365cc-a6f4-4b56-96f6-b442f4864f6e","description":""}],"variable":[{"key":"baseUrl","value":"/"}]}