{"info":{"_postman_id":"17495f11-6a27-473a-bc0c-4ffc6bba328d","name":"GiftKarte Online Redemption Test APIs","description":"<html><head></head><body><p>Welcome to GiftKarte API for Online Redemption of our E-Gift Cards.</p>\n<p>Our API allows you to integrate your website to our platform, giving customers the ability to redeem our <strong>E-Gift Cards</strong> to use our website for payment.</p>\n<p>We use a RESTful endpoint with an API Key which is used to authorize the API. Responses are returned as JSON.</p>\n<p><strong>Note: Each vendor will receive a specific Access Key from GiftKarte.</strong></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"20671950","collectionId":"17495f11-6a27-473a-bc0c-4ffc6bba328d","publishedId":"Uyxkjk19","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-05-20T06:42:43.000Z"},"item":[{"name":"E-Gift Card Validation","event":[{"listen":"prerequest","script":{"id":"627c5ce0-c10d-4f29-9a03-fff46e94ec0f","exec":[""],"type":"text/javascript"}}],"id":"d6ac628f-109c-456f-9a8d-a609c7e15094","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"access_key","value":"{{access_key}}","type":"text","description":"<p>Unique Vendor Access Key</p>\n"},{"key":"e_giftcard","value":"{{e_giftcard}}","type":"text","description":"<p>E-Gift Card Format: GK-Gift Card Number-Security Code</p>\n"},{"key":"cart_amount","value":"{{cart_amount}}","type":"text","description":"<p>Customer Cart Amount</p>\n"}]},"url":"https://www.giftkarte.com/vendor/api/validate","description":"<p>The E-Gift Card Validation API allows you to get E-Gift Card detail.</p>\n<ol>\n<li>If the entered E-Gift Card is correct &amp; valid format, then you'll receive a successful response.</li>\n<li>If the entered E-Gift Card is incorrect/invalid format then you'll receive a unsuccessful response.</li>\n</ol>\n<p><strong>Response Status &amp; Messages</strong></p>\n<p><strong>True</strong> - E-Gift Card successfully applied</p>\n<p><strong>False</strong> - You have entered an invalid E-Gift Card details</p>\n","urlObject":{"protocol":"https","path":["vendor","api","validate"],"host":["www","giftkarte","com"],"query":[],"variable":[]}},"response":[{"id":"95456a32-e390-48d7-b153-9d8770be9763","name":"Successful Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"access_key","value":"c4cf65386dabab4847cb2a0ff5133f87","type":"text","description":"Unique Vendor Access Key"},{"key":"e_giftcard","value":"GK-12345678ABCD-1234","type":"text","description":"E-Gift Card Format: GK-Gift Card Number-Security Code"},{"key":"cart_amount","value":"500","type":"text","description":"Customer Cart Amount"}]},"url":"https://www.giftkarte.com/vendor/api/validate"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": true,\r\n    \"e_giftcard_amount\": 500,\r\n    \"message\": \"E-Gift Card successfully applied\"\r\n}"},{"id":"03a4691f-6fcb-405c-bf20-7d2dc1a36cb6","name":"Unsuccessful Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"access_key","value":"c4cf65386dabab4847cb2a0ff5133f87","type":"text","description":"Unique Vendor Access Key"},{"key":"e_giftcard","value":"GK-12345678ABCD-1234","type":"text","description":"E-Gift Card Format: GK-Gift Card Number-Security Code"},{"key":"cart_amount","value":"500","type":"text","description":"Customer Cart Amount"}]},"url":"https://www.giftkarte.com/vendor/api/validate"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": false,\r\n    \"e_giftcard_amount\": null,\r\n    \"message\": \"You have entered an invalid E-Gift Card details\"\r\n}"}],"_postman_id":"d6ac628f-109c-456f-9a8d-a609c7e15094"},{"name":"E-Gift Card Redeem","event":[{"listen":"prerequest","script":{"id":"34df54ce-eeaf-4a80-83de-e75e5b64d40f","exec":["pm.environment.set(\"order_number\", \"Test-\" + Math.floor(Math.random() * 1000000000));"],"type":"text/javascript"}}],"id":"9cc3fe27-b842-4da0-9915-152bec64b42e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"access_key","value":"{{access_key}}","type":"text","description":"<p>Unique Vendor Access Key</p>\n"},{"key":"e_giftcard","value":"{{e_giftcard}}","type":"text","description":"<p>E-Gift Card Format: GK-Gift Card Number-Security Code</p>\n"},{"key":"cart_amount","value":"{{cart_amount}}","type":"text","description":"<p>Customer Cart Amount</p>\n"},{"key":"order_number","value":"{{order_number}}","type":"text","description":"<p>Customer Order Number</p>\n"}]},"url":"https://www.giftkarte.com/vendor/api/redeem","description":"<p>The E-Gift Card Redemption API allows you to redeem Gift Card.</p>\n<ol>\n<li>If the entered E-Gift Card, receiver's phone number is correct &amp; valid format, then you'll receive a successful response.</li>\n<li>If the entered E-Gift Card, receiver's phone number is incorrect &amp; invalid, then you'll receive a unsuccessful response.</li>\n</ol>\n<p><strong>Response Status &amp; Messages</strong></p>\n<p><strong>True</strong> - E-Gift Card successfully redeem</p>\n<p><strong>False</strong> - You have entered an invalid E-Gift Card details</p>\n","urlObject":{"protocol":"https","path":["vendor","api","redeem"],"host":["www","giftkarte","com"],"query":[],"variable":[]}},"response":[{"id":"27e6685c-b7cb-4a08-a757-af0c7e3f3906","name":"Successful Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"access_key","value":"c4cf65386dabab4847cb2a0ff5133f87","type":"text","description":"Unique Vendor Access Key"},{"key":"e_giftcard","value":"GK-12345678ABCD-1234","type":"text","description":"E-Gift Card Format: GK-Gift Card Number-Security Code"},{"key":"cart_amount","value":"500","type":"text","description":"Customer Cart Amount"},{"key":"order_number","value":"1234ABCD","type":"text","description":"Customer Order Number"}]},"url":"https://www.giftkarte.com/vendor/api/redeem"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": true,\r\n    \"txn\": \"ABCD1234\",\r\n    \"e_giftcard_amount\": 500,\r\n    \"redeemed_amount\": 500,\r\n    \"message\": \"E-Gift Card successfully redeemed\"\r\n}"},{"id":"4f713e2b-f699-4e6d-8c57-bf511e889256","name":"Unsuccessful Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"access_key","value":"c4cf65386dabab4847cb2a0ff5133f87","type":"text","description":"Unique Vendor Access Key"},{"key":"e_giftcard","value":"GK-12345678ABCD-1234","type":"text","description":"E-Gift Card Format: GK-Gift Card Number-Security Code"},{"key":"cart_amount","value":"500","type":"text","description":"Customer Cart Amount"},{"key":"order_number","value":"1234ABCD","type":"text","description":"Customer Order Number"}]},"url":"https://www.giftkarte.com/vendor/api/redeem"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": false,\r\n    \"txn\": null,\r\n    \"e_giftcard_amount\": null,\r\n    \"redeemed_amount\": null,\r\n    \"message\": \"You have entered an invalid E-Gift Card details\"\r\n}"}],"_postman_id":"9cc3fe27-b842-4da0-9915-152bec64b42e"}]}