{"info":{"_postman_id":"55dba743-444a-43a6-b3eb-1da27e47f61c","name":"Sora API","description":"<html><head></head><body><p>This API allows you to integrate your systems with Nagano Rewards' Sora platform.</p>\n<p>For additional documentation regarding authentication, error codes etc., please click here.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"30983649","collectionId":"55dba743-444a-43a6-b3eb-1da27e47f61c","publishedId":"2s9YsQ8V8b","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"5B86C5"},"publishDate":"2025-09-01T20:17:17.000Z"},"item":[{"name":"Account Info","item":[{"name":"Check Account Balances","id":"8a945b04-8182-4400-843c-cfdbd7f4d8f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{URL}}/api/v1/account_balances","description":"<p>Check the balances of your Sora Account.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{KEY_ID}}"},{"key":"password","value":"{{KEY_SECRET}}"}]},"isInherited":true,"source":{"_postman_id":"55dba743-444a-43a6-b3eb-1da27e47f61c","id":"55dba743-444a-43a6-b3eb-1da27e47f61c","name":"Sora API","type":"collection"}},"urlObject":{"path":["api","v1","account_balances"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"398d7d58-cf85-4490-863f-d4a80b7b3f3f","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{URL}}/api/v1/account_balances"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"entity\": \"collection\",\n    \"current_page\": 1,\n    \"total_pages\": 1,\n    \"total_items\": 2,\n    \"items\": [\n        {\n            \"entity\": \"account_balance\",\n            \"currency\": \"GBP\",\n            \"balance\": 7500.0\n        },\n        {\n            \"entity\": \"account_balance\",\n            \"currency\": \"JPY\",\n            \"balance\": 4449.7\n        }\n    ]\n}"}],"_postman_id":"8a945b04-8182-4400-843c-cfdbd7f4d8f9"}],"id":"19e2ebf4-38c9-4fd2-b18c-58dc9512216b","description":"<p>These APIs allow you to fetch information about Sora Account.</p>\n","_postman_id":"19e2ebf4-38c9-4fd2-b18c-58dc9512216b","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{KEY_ID}}"},{"key":"password","value":"{{KEY_SECRET}}"}]},"isInherited":true,"source":{"_postman_id":"55dba743-444a-43a6-b3eb-1da27e47f61c","id":"55dba743-444a-43a6-b3eb-1da27e47f61c","name":"Sora API","type":"collection"}}},{"name":"Brands","item":[{"name":"List Brands","id":"d2df7b6b-8ff1-4427-9fb6-47625b3e1da3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"{{URL}}/api/v1/brands?details=true&items=10&lang=ja","description":"<p>Provides a list of brands that have been activated for your Sora account. This API only provides you with basic information. For detailed information, see Brand Details.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{KEY_ID}}"},{"key":"password","value":"{{KEY_SECRET}}"}]},"isInherited":true,"source":{"_postman_id":"55dba743-444a-43a6-b3eb-1da27e47f61c","id":"55dba743-444a-43a6-b3eb-1da27e47f61c","name":"Sora API","type":"collection"}},"urlObject":{"path":["api","v1","brands"],"host":["{{URL}}"],"query":[{"description":{"content":"<p>When \"true\", it returns details for a brand</p>\n","type":"text/plain"},"key":"details","value":"true"},{"description":{"content":"<p>Number of items per page</p>\n","type":"text/plain"},"key":"items","value":"10"},{"disabled":true,"description":{"content":"<p>Page Number</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>ISO 639-1 language code</p>\n","type":"text/plain"},"key":"lang","value":"ja"},{"disabled":true,"description":{"content":"<p>ISO 3166-2 country code</p>\n","type":"text/plain"},"key":"country","value":"JP"}],"variable":[]}},"response":[{"id":"cfacbec0-f026-49f4-8ece-1048643f6013","name":"Success - List Brands","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{URL}}/api/v1/brands?details=true&lang=jp&items=10&page=1","host":["{{URL}}"],"path":["api","v1","brands"],"query":[{"key":"details","value":"true","description":"When \"true\", it returns details for a brand"},{"key":"lang","value":"jp","description":"Specify which language to return brand details in."},{"key":"items","value":"10","description":"Number of items per page"},{"key":"page","value":"1","description":"Page Number"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Date","value":"Wed, 03 Jul 2024 17:20:52 GMT"},{"key":"Report-To","value":"{\"group\":\"heroku-nel\",\"max_age\":3600,\"endpoints\":[{\"url\":\"https://nel.heroku.com/reports?ts=1720027253&sid=1b10b0ff-8a76-4548-befa-353fc6c6c045&s=zzICAE29WUR9A3x8%2FP%2BMl533TLcPjwedA%2BxIJor5hm8%3D\"}]}"},{"key":"Reporting-Endpoints","value":"heroku-nel=https://nel.heroku.com/reports?ts=1720027253&sid=1b10b0ff-8a76-4548-befa-353fc6c6c045&s=zzICAE29WUR9A3x8%2FP%2BMl533TLcPjwedA%2BxIJor5hm8%3D"},{"key":"Nel","value":"{\"report_to\":\"heroku-nel\",\"max_age\":3600,\"success_fraction\":0.005,\"failure_fraction\":0.05,\"response_headers\":[\"Via\"]}"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Xss-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"36665b64d2d22b7f4a0e53dcd9612673\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"bcfb116b-a3ac-4219-ab8e-68670a888a50"},{"key":"X-Runtime","value":"0.017723"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"entity\": \"collection\",\n    \"current_page\": 1,\n    \"total_pages\": 1,\n    \"total_items\": 1,\n    \"items\": [\n        {\n            \"entity\": \"brand\",\n            \"id\": \"uber-eats\",\n            \"name\": \"Uber Eats\",\n            \"type\": \"gift-card\",\n            \"currency\": \"JPY\",\n            \"countries_served\": [\n                \"JP\"\n            ],\n            \"status\": \"LIVE\",\n            \"delivery_methods\": [\n                \"code\"\n            ],\n            \"discount\": 1.5,\n            \"digital_face_value\": {\n                \"fixed\": {\n                    \"denominations\": [\n                        3000,\n                        5000\n                    ]\n                }\n            },\n            \"category\": \"gourmet\",\n            \"assets\": {\n                \"logo_url\": \"https://sora-sandbox.naganorewards.com/brands/uber-eats/assets/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--a5e6cb5b4530d18ba79f59ab44f92902cda7bb7e/uber-eats-logo.png\",\n                \"gift_card_url\": null\n            },\n            \"languages\": [\n                \"en\",\n                \"jp\"\n            ],\n            \"details\": {\n                \"gc_name\": \"Uber Eats ギフトカード \",\n                \"description\": \"Uber Eats のアプリまたはウェブサイト上で使用可能なギフトカードです。\",\n                \"expiration\": \"3年\",\n                \"usage_instructions\": \"1. Uber Eats アプリが最新版であることを確認\\r\\n2. アプリの [アカウント] をタップ\\r\\n3. [お支払い方法] を選択\\r\\n4. [+ギフトカード]を選択\\r\\n5. ギフトコード (スペース不要) を入力\",\n                \"terms_and_conditions\": \"・ 本カードは日本国内、かつ  Uber Eats のサービスが利用可能な地域でのみ、 Uber Eats アプリ/ウェブサイトを通じて  Uber Eats のサービスの購入にご利用可能です\\r\\n・ 本カードは、本カードの全額をお客様の Uber Cash アカウントにチャージすることによって初めてご利用可能となります。 \\r\\n・ 本カードの有効期限は、ご購入日から 3 年間です。\\r\\n・Uber Cash アカウントにチャージする前の本カードの未使用残高は、購入時に届くメール（ギフトコードの場合）で確認することができます。既に Uber Cash アカウントにチャージ済みの本カードについては、同アカウントへのチャージ画面にPINコードを入力すると既に引き換え済みである旨が表示されます。\\r\\n・Uber Cash アカウントの未使用残高（本カードのご利用により Uber Cash アカウントにチャージされ、同アカウントにおいて未使用となっている残高を言います。）は、お客様の Uber アプリおよび Uber Eats アプリ/ウェブサイト上の「 Uber Cash 」に表示され、Uber または Uber Eats 、どちらのサービスにもご利用いただけます。\\r\\n・ 本カードの再発行、換金、返金、交換等はできません 。転売は禁止されています。\\r\\n・ 本カードの紛失、盗難、不正利用等に関して、Uber および発行会社は一切責任を負いません。\\r\\n・ 全ての利用規約、およびカスタマーサービスに関しては、以下のサイトをご覧ください。本カードの購入および利用には同サイトに掲載された当該利用規約が適用されます。\\r\\n 発行会社 :インコム・ジャパン株式会社\\r\\n（お問い合わせ）uber.com/legal/gift-cards\"\n            },\n            \"updated_at\": \"2024-06-15T12:46:27Z\"\n        }\n    ]\n}"}],"_postman_id":"d2df7b6b-8ff1-4427-9fb6-47625b3e1da3"},{"name":"Single Brand","id":"940e9591-a009-4071-bcab-6702a23e44b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{URL}}/api/v1/brands/{{BRAND_ID}}?details=true&lang=en","description":"<p>Provides detailed information about a brand that has been activated for you. In case the brand is not activated, it will return 404 Not Found error.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{KEY_ID}}"},{"key":"password","value":"{{KEY_SECRET}}"}]},"isInherited":true,"source":{"_postman_id":"55dba743-444a-43a6-b3eb-1da27e47f61c","id":"55dba743-444a-43a6-b3eb-1da27e47f61c","name":"Sora API","type":"collection"}},"urlObject":{"path":["api","v1","brands","{{BRAND_ID}}"],"host":["{{URL}}"],"query":[{"key":"details","value":"true"},{"key":"lang","value":"en"}],"variable":[]}},"response":[{"id":"12cc613e-06d4-4102-9657-7d336229b9f5","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{URL}}/api/v1/brands/apple"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"BAD_REQUEST_ERROR\",\n        \"description\": \"Resource does not exist\",\n        \"source\": \"client\",\n        \"reason\": \"resource_not_found\",\n        \"entity\": \"brand\"\n    }\n}"},{"id":"d26ca3c6-36e4-4789-940e-4e9394d98432","name":"Success - Single Brand","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{URL}}/api/v1/brands/{{BRAND_ID}}?details=true&lang=en","host":["{{URL}}"],"path":["api","v1","brands","{{BRAND_ID}}"],"query":[{"key":"details","value":"true"},{"key":"lang","value":"en"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Content-Length","value":"2076"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Etag","value":"W/\"827a7ab850de0e588da6682dfcfc81f3\""},{"key":"Nel","value":"{\"report_to\":\"heroku-nel\",\"response_headers\":[\"Via\"],\"max_age\":3600,\"success_fraction\":0.01,\"failure_fraction\":0.1}"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Report-To","value":"{\"group\":\"heroku-nel\",\"endpoints\":[{\"url\":\"https://nel.heroku.com/reports?s=8z9g0axnPoM86IohHn781c07sThAk4BirO%2FKg8632PM%3D\\u0026sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add\\u0026ts=1770107050\"}],\"max_age\":3600}"},{"key":"Reporting-Endpoints","value":"heroku-nel=\"https://nel.heroku.com/reports?s=8z9g0axnPoM86IohHn781c07sThAk4BirO%2FKg8632PM%3D&sid=c46efe9b-d3d2-4a0c-8c76-bfafa16c5add&ts=1770107050\""},{"key":"Server","value":"Heroku"},{"key":"Set-Cookie","value":"ahoy_visit=5191f4b6-d15f-4762-ab87-06d5b09174a9; path=/; expires=Tue, 03 Feb 2026 12:24:10 GMT; samesite=lax; secure"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubDomains"},{"key":"Via","value":"1.1 heroku-router"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-Request-Id","value":"e66b3da2-ad03-56e9-041b-a76c31293f1e"},{"key":"X-Runtime","value":"0.026516"},{"key":"X-Xss-Protection","value":"0"},{"key":"Date","value":"Tue, 03 Feb 2026 08:24:10 GMT"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"entity\": \"brand\",\n    \"id\": \"amazon\",\n    \"name\": \"Amazon\",\n    \"type\": \"gift-card\",\n    \"currency\": \"JPY\",\n    \"countries_served\": [\n        \"JP\"\n    ],\n    \"status\": \"LIVE\",\n    \"delivery_methods\": [\n        \"code\"\n    ],\n    \"barcode_type\": \"EAN-8\",\n    \"discount\": -3,\n    \"digital_face_value\": {\n        \"open\": {\n            \"minimum\": 10,\n            \"maximum\": 5000,\n            \"step\": 10\n        }\n    },\n    \"category\": \"online-stores\",\n    \"assets\": {\n        \"logo_url\": \"https://sora-staging.naganorewards.com/brands/amazon/assets/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBIQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--d8de0d6094ad110c9277ae38d3b8565f27d10fee/LOGO_Amazon.jpg\",\n        \"gift_card_url\": null\n    },\n    \"languages\": [\n        \"en\",\n        \"ja\",\n        \"ko\"\n    ],\n    \"details\": {\n        \"gc_name\": \"\",\n        \"description\": \"\\\"Amazon Gift Card can be used to purchase your favorite products from Amazon.co.jp.\\r\\n【Notes】 \\r\\nGift Certificates are non-refundable and cannot be exchanged for cash. The Company and its affiliates are not responsible for any loss or theft of Gift Certificates.\\r\\n\\r\\nThis program is provided by NAGANO REWARDS Corporation.\\r\\nAmazon does not accept any inquiries regarding the issuance of Gift Cards.\\r\\nNAGANO REWARDS KK Customer Service\\r\\nmail:customerservice@naganorewards.com.\\r\\n\\r\\n*Amazon, Amazon.co.jp and their logos are trademarks of Amazon.com, Inc. or its affiliates.\\\"\",\n        \"expiration\": \"10years\",\n        \"usage_instructions\": \"\\\"1. Visit www.amazon.co.jp/giftcard/use\\r\\n2. Sign-in to your Amazon.co.jp account.\\r\\n3. Input Gift Card Code, and click “Apply to Your Account” button.\\r\\n4. The balance of Gift Card amount is shown at the right column.\\r\\n5. Please enjoy your shopping at Amazon.co.jp!\\\"\",\n        \"terms_and_conditions\": \"\\\"*Gift Certificates are non-refundable and cannot be exchanged for cash. \\r\\n*The Company and its affiliates are not responsible for any loss or theft of Gift Certificates.\\r\\n\\r\\nThis program is provided by NAGANO REWARDS KK\\r\\nAmazon does not accept any inquiries regarding the issuance of Gift Cards.\\r\\nNAGANO REWARDS KK Customer Service\\r\\nmail:customerservice@naganorewards.com.\\r\\n\\r\\n*Amazon, Amazon.co.jp and their logos are trademarks of Amazon.com, Inc. or its affiliates.\\\"\"\n    },\n    \"updated_at\": \"2025-12-01T14:38:57Z\"\n}"}],"_postman_id":"940e9591-a009-4071-bcab-6702a23e44b7"}],"id":"67935935-13a9-4921-904b-114119d13816","description":"<p>These APIs allows you to retrieve information about the brands that have been setup on your account.</p>\n","_postman_id":"67935935-13a9-4921-904b-114119d13816","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{KEY_ID}}"},{"key":"password","value":"{{KEY_SECRET}}"}]},"isInherited":true,"source":{"_postman_id":"55dba743-444a-43a6-b3eb-1da27e47f61c","id":"55dba743-444a-43a6-b3eb-1da27e47f61c","name":"Sora API","type":"collection"}}},{"name":"Gift Cards","item":[{"name":"Create Order","event":[{"listen":"prerequest","script":{"id":"68e8cbd3-1fb2-4cc5-9d00-485cc2e846ac","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"ad977418-f632-4c2e-b853-4db34ac4cd4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"{{CLIENT_REQ_ID}}\",\r\n    \"brand_id\": \"amazon\",\r\n    \"face_value\": {\r\n        \"currency\": \"JPY\",\r\n        \"amount\": 500\r\n    },\r\n    \"delivery_method\": \"code\",\r\n    \"purchase_order_no\": \"TEST-Order-#1\" // Optional\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders","description":"<p>Creates an async order request for a digital gift card.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{KEY_ID}}"},{"key":"password","value":"{{KEY_SECRET}}"}]},"isInherited":true,"source":{"_postman_id":"55dba743-444a-43a6-b3eb-1da27e47f61c","id":"55dba743-444a-43a6-b3eb-1da27e47f61c","name":"Sora API","type":"collection"}},"urlObject":{"path":["api","v1","digital_gift_cards","orders"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"2a88a9b2-3b46-4366-9b26-bc1551665998","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"{{CLIENT_REQ_ID}}\",\r\n    \"brand_id\": \"sample-brand\",\r\n    \"face_value\": {\r\n        \"currency\": \"JPY\",\r\n        \"amount\": 150\r\n    },\r\n    \"delivery_method\": \"code\",\r\n    \"purchase_order_no\": \"TEST-Order-#1\" // Optional\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"entity\": \"order\",\n    \"id\": \"ord_i0dmw8Z4nSEVmPZ\",\n    \"client_req_id\": \"ed1e73df-1712-4313-b7ae-aca783da7031\",\n    \"purchase_order_no\": \"TEST-Order-#1\",\n    \"brand_id\": \"sample-brand\",\n    \"face_value\": {\n        \"currency\": \"JPY\",\n        \"amount\": 150\n    },\n    \"cost_value\": {\n        \"currency\": \"JPY\",\n        \"amount\": 153\n    },\n    \"gift_card\": null,\n    \"status\": \"created\",\n    \"created_at\": \"2024-01-16T12:55:28Z\"\n}"},{"id":"5ba3fb2c-838d-449c-994a-5ee5743fd457","name":"Missing API Key","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"{{CLIENT_REQ_ID}}\",\r\n    \"brand_id\": \"amazon\",\r\n    \"face_value\": {\r\n        \"currency\": \"JPY\",\r\n        \"amount\": 1000\r\n    },\r\n    \"delivery_method\": \"code\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"7513eed9-c022-48f8-9cde-a41d0c0be106"},{"key":"X-Runtime","value":"0.071629"},{"key":"Server-Timing","value":"sql.active_record;dur=3.52, start_processing.action_controller;dur=0.02, halted_callback.action_controller;dur=0.02, process_action.action_controller;dur=0.94"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"AUTH_ERROR\",\n        \"description\": \"Authentication failed\",\n        \"source\": \"client\",\n        \"reason\": \"missing_api_key\"\n    }\n}"},{"id":"fbfffd08-ea79-4eda-9ef6-ebf6523a3f23","name":"Invalid Credentials","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"{{CLIENT_REQ_ID}}\",\r\n    \"brand_id\": \"amazon\",\r\n    \"face_value\": {\r\n        \"currency\": \"JPY\",\r\n        \"amount\": 1000\r\n    },\r\n    \"delivery_method\": \"code\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"bbe9aba4-c889-49c5-8572-b91ac0d15fbe"},{"key":"X-Runtime","value":"0.800508"},{"key":"Server-Timing","value":"sql.active_record;dur=17.79, start_processing.action_controller;dur=0.19, instantiation.active_record;dur=29.29, process_action.action_controller;dur=83.82"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"AUTH_ERROR\",\n        \"description\": \"Authentication failed\",\n        \"source\": \"client\",\n        \"reason\": \"invalid_credentials\"\n    }\n}"},{"id":"4febf345-f043-4a2b-8a3c-dc8dc62e7e5e","name":"Expired Credentials","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"{{CLIENT_REQ_ID}}\",\r\n    \"brand_id\": \"amazon\",\r\n    \"face_value\": {\r\n        \"currency\": \"JPY\",\r\n        \"amount\": 1000\r\n    },\r\n    \"delivery_method\": \"code\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"66356c72-44e0-4e34-ab0e-f66152b27cd5"},{"key":"X-Runtime","value":"0.021358"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.07, sql.active_record;dur=0.63, instantiation.active_record;dur=0.34, process_action.action_controller;dur=8.07"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"AUTH_ERROR\",\n        \"description\": \"Authentication failed\",\n        \"source\": \"client\",\n        \"reason\": \"expired_credentials\"\n    }\n}"},{"id":"bf3d1ed1-0426-4b75-a05c-f623f616c106","name":"Required parameter","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"{{CLIENT_REQ_ID}}\",\r\n    \"brand_id\": \"amazon\",\r\n    \"face_value\": {\r\n        \"currency\": \"JPY\",\r\n        \"amount\": 1000\r\n    },\r\n    \"delivery_method\": \"code\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"e57cd787-5a1e-4467-b4d8-f6b98a4a65bb"},{"key":"X-Runtime","value":"0.191481"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=13.92, instantiation.active_record;dur=89.35, process_action.action_controller;dur=180.91"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"BAD_REQUEST_ERROR\",\n        \"description\": \"[client_req_id] cannot be blank\",\n        \"source\": \"client\",\n        \"reason\": \"required_parameter\",\n        \"field\": \"client_req_id\"\n    }\n}"},{"id":"9fef453b-8218-4a54-aeff-41ee47ee6a7c","name":"Invalid Value","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"{{CLIENT_REQ_ID}}\",\r\n    \"brand_id\": \"amazon\",\r\n    \"face_value\": {\r\n        \"currency\": 1,\r\n        \"amount\": \"100\"\r\n    },\r\n    \"delivery_method\": \"something\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"97b0e2c0-a076-4386-8bc0-3e0e38aab160"},{"key":"X-Runtime","value":"0.018673"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=1.17, instantiation.active_record;dur=0.29, process_action.action_controller;dur=10.68"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"BAD_REQUEST_ERROR\",\n        \"description\": \"Invalid value [currency]\",\n        \"source\": \"client\",\n        \"reason\": \"invalid_value\",\n        \"field\": \"face_value.currency\"\n    }\n}"},{"id":"1ae8e5a7-4148-4f1d-a4c9-a9465034aea0","name":"Duplicate Client Request ID","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"42147f77-c348-4f6a-a523-26025f272bad\",\r\n    \"brand_id\": \"amazon\",\r\n    \"face_value\": {\r\n        \"currency\": \"JPY\",\r\n        \"amount\": 500\r\n    },\r\n    \"delivery_method\": \"code\",\r\n    \"purchase_order_no\": \"TEST-Order-#1\" // Optional\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders"},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":"json","header":[{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-xss-protection","value":"0"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-download-options","value":"noopen"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"referrer-policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"cache-control","value":"no-cache"},{"key":"set-cookie","value":"ahoy_visit=7c1394c6-70ba-4e61-a38a-464e1e3d827e; path=/; expires=Thu, 02 Jul 2026 12:55:09 GMT; samesite=lax"},{"key":"x-request-id","value":"7a42a6e8-844a-445c-ba77-dfc17733e427"},{"key":"x-runtime","value":"0.334782"},{"key":"server-timing","value":"start_processing.action_controller;dur=0.11, sql.active_record;dur=15.24, instantiation.active_record;dur=15.38, process_action.action_controller;dur=242.66"},{"key":"Content-Length","value":"172"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"BAD_REQUEST_ERROR\",\n        \"description\": \"Client Request ID has already been taken\",\n        \"source\": \"client\",\n        \"reason\": \"input_validation_failed\",\n        \"field\": \"client_req_id\"\n    }\n}"},{"id":"152230fc-560f-40a8-b441-6cb3dc904e69","name":"Brand Not Found","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"{{CLIENT_REQ_ID}}\",\r\n    \"brand_id\": \"nothing\",\r\n    \"face_value\": {\r\n        \"currency\": \"JPY\",\r\n        \"amount\": 1000\r\n    },\r\n    \"delivery_method\": \"code\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"12a0efd8-3114-44ab-8284-04bbc57f445e"},{"key":"X-Runtime","value":"0.142167"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.32, sql.active_record;dur=17.95, instantiation.active_record;dur=0.96, process_action.action_controller;dur=61.79"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"BAD_REQUEST_ERROR\",\n        \"description\": \"Brand [nothing] not found\",\n        \"source\": \"client\",\n        \"reason\": \"brand_not_found\",\n        \"field\": \"brand_id\"\n    }\n}"},{"id":"39b97d82-5aaa-4156-9c22-c24aed66e09f","name":"Brand Disabled","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"{{CLIENT_REQ_ID}}\",\r\n    \"brand_id\": \"quo\",\r\n    \"face_value\": {\r\n        \"currency\": \"JPY\",\r\n        \"amount\": 1000\r\n    },\r\n    \"delivery_method\": \"code\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"81a5d9be-d1b7-417b-b81a-1144510bd15e"},{"key":"X-Runtime","value":"0.499906"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.28, sql.active_record;dur=14.43, instantiation.active_record;dur=111.65, process_action.action_controller;dur=485.42"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"BAD_REQUEST_ERROR\",\n        \"description\": \"Brand [Quo] is currently DISABLED for your account\",\n        \"source\": \"client\",\n        \"reason\": \"brand_disabled\",\n        \"field\": \"brand_id\"\n    }\n}"},{"id":"136d3bd8-db94-4be9-b141-c6893f67cebb","name":"Brand Not Configured","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"{{CLIENT_REQ_ID}}\",\r\n    \"brand_id\": \"apple\",\r\n    \"face_value\": {\r\n        \"currency\": \"JPY\",\r\n        \"amount\": 1000\r\n    },\r\n    \"delivery_method\": \"code\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"9f335137-4a9a-4054-9409-144c760a94be"},{"key":"X-Runtime","value":"0.025938"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.05, sql.active_record;dur=2.49, instantiation.active_record;dur=0.72, process_action.action_controller;dur=14.62"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"BAD_REQUEST_ERROR\",\n        \"description\": \"Brand [Apple] is not configured for your account\",\n        \"source\": \"client\",\n        \"reason\": \"brand_not_configured\",\n        \"field\": \"brand_id\"\n    }\n}"},{"id":"e80edbbc-e9fb-422e-b683-31a977f77593","name":"Invalid Currency Code","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"{{CLIENT_REQ_ID}}\",\r\n    \"brand_id\": \"amazon\",\r\n    \"face_value\": {\r\n        \"currency\": \"USD\",\r\n        \"amount\": 1000\r\n    },\r\n    \"delivery_method\": \"url\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"c234ded0-c893-4e92-bd13-a113069a542f"},{"key":"X-Runtime","value":"0.057183"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.04, sql.active_record;dur=1.52, instantiation.active_record;dur=0.26, process_action.action_controller;dur=16.81"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"BAD_REQUEST_ERROR\",\n        \"description\": \"Currency [USD] is not supported by [Amazon]\",\n        \"source\": \"client\",\n        \"reason\": \"invalid_currency_code\",\n        \"field\": \"face_value.currency\"\n    }\n}"},{"id":"19280ade-25b4-4991-9ae5-76714516c340","name":"Denomination Not Available","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"{{CLIENT_REQ_ID}}\",\r\n    \"brand_id\": \"amazon\",\r\n    \"face_value\": {\r\n        \"currency\": \"JPY\",\r\n        \"amount\": 1000\r\n    },\r\n    \"delivery_method\": \"url\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"d06ec606-daf4-4bbe-b7ad-3943d9ec47a5"},{"key":"X-Runtime","value":"0.062053"},{"key":"Server-Timing","value":"start_processing.action_controller;dur=0.11, sql.active_record;dur=7.15, instantiation.active_record;dur=0.80, process_action.action_controller;dur=31.38"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"BAD_REQUEST_ERROR\",\n        \"description\": \"Denomination [1000.0] is not available for [Amazon]\",\n        \"source\": \"client\",\n        \"reason\": \"denomination_unavailable\",\n        \"field\": \"face_value.amount\"\n    }\n}"},{"id":"87e90c0b-b215-462b-8d2c-6519858ff1b5","name":"Delivery Method Not Supported","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"{{CLIENT_REQ_ID}}\",\r\n    \"brand_id\": \"sample-brand\",\r\n    \"face_value\": {\r\n        \"currency\": \"JPY\",\r\n        \"amount\": 150\r\n    },\r\n    \"delivery_method\": \"code\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"BAD_REQUEST_ERROR\",\n        \"description\": \"Delivery method [url] is not allowed for [Sample Brand]\",\n        \"source\": \"client\",\n        \"reason\": \"delivery_method_not_allowed\",\n        \"field\": \"delivery_method\"\n    }\n}"},{"id":"cda545ab-47f6-48b5-8da5-b4c7565859e4","name":"Stock Unavailable","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"{{CLIENT_REQ_ID}}\",\r\n    \"brand_id\": \"uber\",\r\n    \"face_value\": {\r\n        \"currency\": \"JPY\",\r\n        \"amount\": 500\r\n    },\r\n    \"delivery_method\": \"code\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"0"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Cache-Control","value":"no-cache"},{"key":"Set-Cookie","value":"ahoy_visit=94178f89-d569-4a4d-92d9-97005c9ec270; path=/; expires=Mon, 04 Nov 2024 15:19:24 GMT; SameSite=Lax"},{"key":"X-Request-Id","value":"ab1abe65-d8e2-4941-96ea-f2c724c0b3e6"},{"key":"X-Runtime","value":"0.329464"},{"key":"Server-Timing","value":"sql.active_record;dur=27.07, start_processing.action_controller;dur=0.02, instantiation.active_record;dur=25.59, transaction.active_record;dur=8.29, process_action.action_controller;dur=168.39"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"INTERNAL_SERVER_ERROR\",\n        \"description\": \"Insufficient stock for Uber ¥500.0: Out of stock.\",\n        \"source\": \"internal\",\n        \"reason\": \"stock_unavailable\"\n    }\n}"},{"id":"adf3086f-7721-4ac8-b67b-6b1a291616de","name":"Insufficient Balance","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"client_req_id\": \"{{CLIENT_REQ_ID}}\",\r\n    \"brand_id\": \"amazon\",\r\n    \"face_value\": {\r\n        \"currency\": \"JPY\",\r\n        \"amount\": 100000\r\n    },\r\n    \"delivery_method\": \"code\",\r\n    \"purchase_order_no\": \"TEST-Order-#1\" // Optional\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/digital_gift_cards/orders"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":":status","value":"403"},{"key":"cache-control","value":"no-cache"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"nel","value":"{\"report_to\":\"heroku-nel\",\"response_headers\":[\"Via\"],\"max_age\":3600,\"success_fraction\":0.01,\"failure_fraction\":0.1}"},{"key":"referrer-policy","value":"strict-origin-when-cross-origin"},{"key":"report-to","value":"{\"group\":\"heroku-nel\",\"endpoints\":[{\"url\":\"https://nel.heroku.com/reports?s=edye4z%2F5GPKZ1tasi8J2wN7kCmLBJljupfR46vs%2BWAs%3D\\u0026sid=1b10b0ff-8a76-4548-befa-353fc6c6c045\\u0026ts=1790755426\"}],\"max_age\":3600}"},{"key":"reporting-endpoints","value":"heroku-nel=\"https://nel.heroku.com/reports?s=edye4z%2F5GPKZ1tasi8J2wN7kCmLBJljupfR46vs%2BWAs%3D&sid=1b10b0ff-8a76-4548-befa-353fc6c6c045&ts=1790755426\""},{"key":"server","value":"Heroku"},{"key":"set-cookie","value":"ahoy_visit=508a1f65-af9c-43d9-a1ce-9a2964861129; path=/; expires=Wed, 30 Sep 2026 12:03:46 GMT; samesite=lax; secure"},{"key":"strict-transport-security","value":"max-age=63072000; includeSubDomains"},{"key":"via","value":"2.0 heroku-router"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-download-options","value":"noopen"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"x-request-id","value":"c2dab870-9fd6-7e29-c710-9188c5640d20"},{"key":"x-runtime","value":"0.762843"},{"key":"x-xss-protection","value":"0"},{"key":"content-length","value":"141"},{"key":"date","value":"Wed, 30 Sep 2026 08:03:46 GMT"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": {\n    \"code\": \"BAD_REQUEST_ERROR\",\n    \"description\": \"Insufficient balance in your account\",\n    \"source\": \"client\",\n    \"reason\": \"insufficient_balance\"\n  }\n}"}],"_postman_id":"ad977418-f632-4c2e-b853-4db34ac4cd4b"},{"name":"Check Order Status","id":"71c7d089-b41b-4f6b-9d26-c7886b9cb3a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{URL}}/api/v1/digital_gift_cards/orders/{{ORDER_ID}}","description":"<p>Check the information about a specific digital gift card order.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{KEY_ID}}"},{"key":"password","value":"{{KEY_SECRET}}"}]},"isInherited":true,"source":{"_postman_id":"55dba743-444a-43a6-b3eb-1da27e47f61c","id":"55dba743-444a-43a6-b3eb-1da27e47f61c","name":"Sora API","type":"collection"}},"urlObject":{"path":["api","v1","digital_gift_cards","orders","{{ORDER_ID}}"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[{"id":"c3711843-7017-41cb-a96e-7d9291594e54","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{URL}}/api/v1/digital_gift_cards/orders/{{ORDER_ID}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"entity\": \"order\",\n    \"id\": \"ord_i0dmw8Z4nSEVmPZ\",\n    \"client_req_id\": \"f8b28319-bf8b-4da7-a99f-1f24f33c1432\",\n    \"purchase_order_no\": null,\n    \"brand\": \"sample-brand\",\n    \"face_value\": {\n        \"currency\": \"JPY\",\n        \"amount\": 150\n    },\n    \"cost_value\": {\n        \"currency\": \"JPY\",\n        \"amount\": 153\n    },\n    \"gift_card\": {\n        \"code\": \"ABCD-4ABCDE-8ABCD\",\n        \"pin\": \"1234\",\n        \"url\": \"https://example.come/gc/ABCD-4ABCDE-8ABCD\",\n        \"expires_at\": \"2034-03-08T14:59:59Z\"\n    },\n    \"status\": \"processed\",\n    \"created_at\": \"2023-12-11T13:07:32Z\"\n}"},{"id":"d209f098-0285-4068-9a4c-c1c67af67ce3","name":"Refunded","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{URL}}/api/v1/digital_gift_cards/orders/{{ORDER_ID}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"entity\": \"order\",\n    \"id\": \"ord_i0dmw8Z4nSEVmPZ\",\n    \"client_req_id\": \"f8b28319-bf8b-4da7-a99f-1f24f33c1432\",\n    \"purchase_order_no\": null,\n    \"brand\": \"sample-brand\",\n    \"face_value\": {\n        \"currency\": \"JPY\",\n        \"amount\": 150\n    },\n    \"cost_value\": {\n        \"currency\": \"JPY\",\n        \"amount\": 153\n    },\n    \"gift_card\": null,\n    \"status\": \"refunded\",\n    \"created_at\": \"2023-12-11T13:07:32Z\"\n}"},{"id":"35439b9c-3db0-4593-b582-20e1975adaf6","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{URL}}/api/v1/digital_gift_cards/orders/{{ORDER_ID}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"BAD_REQUEST_ERROR\",\n        \"description\": \"Resource does not exist\",\n        \"source\": \"client\",\n        \"reason\": \"resource_not_found\",\n        \"entity\": \"order\"\n    }\n}"}],"_postman_id":"71c7d089-b41b-4f6b-9d26-c7886b9cb3a5"},{"name":"List Orders","id":"cff54840-5ff1-44e5-8856-5d78116a04f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{URL}}/api/v1/digital_gift_cards/orders?items=10&page=1&client_req_id=req-503&brand_id=amazon&created_from=2026-05-01T00:00:00Z&created_until=2026-06-30T23:59:59Z","description":"<p>Returns a paginated collection of all the orders for your account.</p>\n<p>The orders can be filtered on following fields:</p>\n<ul>\n<li><p><code>client_req_id</code></p>\n</li>\n<li><p><code>brand_id</code></p>\n</li>\n<li><p><code>created_from</code> and <code>created_until</code></p>\n</li>\n</ul>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{KEY_ID}}"},{"key":"password","value":"{{KEY_SECRET}}"}]},"isInherited":true,"source":{"_postman_id":"55dba743-444a-43a6-b3eb-1da27e47f61c","id":"55dba743-444a-43a6-b3eb-1da27e47f61c","name":"Sora API","type":"collection"}},"urlObject":{"path":["api","v1","digital_gift_cards","orders"],"host":["{{URL}}"],"query":[{"description":{"content":"<p>Number of items per page</p>\n","type":"text/plain"},"key":"items","value":"10"},{"description":{"content":"<p>Page Number</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Filters on Client Request ID</p>\n","type":"text/plain"},"key":"client_req_id","value":"req-503"},{"description":{"content":"<p>Filters on Brand ID</p>\n","type":"text/plain"},"key":"brand_id","value":"amazon"},{"description":{"content":"<p>Filters on Order Date From (ISO8601 format: YYYY-MM-DDTHH:mm:ssZ)</p>\n","type":"text/plain"},"key":"created_from","value":"2026-05-01T00:00:00Z"},{"description":{"content":"<p>Filters on Order Date Until (ISO8601 format: YYYY-MM-DDTHH:mm:ssZ)</p>\n","type":"text/plain"},"key":"created_until","value":"2026-06-30T23:59:59Z"}],"variable":[]}},"response":[{"id":"3b3ac16d-5c68-400f-8ac4-baa63d8eda35","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{URL}}/api/v1/digital_gift_cards/orders?items=10&page=1&client_req_id=req-503&brand_id=amazon","host":["{{URL}}"],"path":["api","v1","digital_gift_cards","orders"],"query":[{"key":"items","value":"10","description":"Number of items per page"},{"key":"page","value":"1","description":"Page Number"},{"key":"client_req_id","value":"req-503"},{"key":"brand_id","value":"amazon"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"entity\": \"collection\",\n    \"current_page\": 1,\n    \"total_pages\": 6,\n    \"total_items\": 12,\n    \"items\": [\n        {\n            \"entity\": \"order\",\n            \"id\": \"ord_e68vnm2jkQamN5g\",\n            \"client_req_id\": \"sample-client-req-1\",\n            \"brand\": \"sample-brand-1\",\n            \"face_value\": {\n                \"currency\": \"JPY\",\n                \"amount\": 100\n            },\n            \"cost_value\": {\n                \"currency\": \"JPY\",\n                \"amount\": 127\n            },\n            \"gift_card\": null,\n            \"status\": \"processing\",\n            \"created_at\": \"2024-02-27T19:53:41Z\"\n        },\n        {\n            \"entity\": \"order\",\n            \"id\": \"ord_aBwsoKFOpyt0hal\",\n            \"client_req_id\": \"sample-client-req-2\",\n            \"brand\": \"sample-brand-1\",\n            \"face_value\": {\n                \"currency\": \"JPY\",\n                \"amount\": 150\n            },\n            \"cost_value\": {\n                \"currency\": \"JPY\",\n                \"amount\": 145.5\n            },\n            \"gift_card\": ,\n            \"status\": \"success\",\n            \"created_at\": \"2024-02-27T19:47:18Z\"\n        }\n    ]\n}"},{"id":"1b3116b2-f7e4-42da-bfe8-66be726f6967","name":"Pagination Overflow","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"{{URL}}/api/v1/digital_gift_cards/orders?items=10&page=7","host":["{{URL}}"],"path":["api","v1","digital_gift_cards","orders"],"query":[{"key":"items","value":"10","description":"Number of items per page"},{"key":"page","value":"7","description":"Page Number"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"BAD_REQUEST_ERROR\",\n        \"description\": \"Page [7] is greater than total pages [6]\",\n        \"source\": \"client\",\n        \"reason\": \"pagination_overflow\",\n        \"field\": \"page\"\n    }\n}"}],"_postman_id":"cff54840-5ff1-44e5-8856-5d78116a04f9"}],"id":"a6543030-df35-4425-b9b3-805cb598888a","description":"<p>These APIs allow you to perform operations related to Digital Gift Cards.</p>\n","_postman_id":"a6543030-df35-4425-b9b3-805cb598888a","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{KEY_ID}}"},{"key":"password","value":"{{KEY_SECRET}}"}]},"isInherited":true,"source":{"_postman_id":"55dba743-444a-43a6-b3eb-1da27e47f61c","id":"55dba743-444a-43a6-b3eb-1da27e47f61c","name":"Sora API","type":"collection"}}}],"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{KEY_ID}}"},{"key":"password","value":"{{KEY_SECRET}}"}]}},"event":[{"listen":"prerequest","script":{"id":"f8418ca9-113d-4b59-a450-cd7a46d9e924","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a2ab20ec-375d-4641-b2e3-a112d858e620","type":"text/javascript","exec":[""]}}]}