{"title":"Japanese convenience stores for API only","category":"default","creationDate":1567783140,"content":"<p>Accept payments from Japanese convenience stores using our APIs, and build your own payment form to have full control over the look and feel of your checkout page.<\/p>\n<p>To accept payments from Japanese convenience stores, you need to collect the shopper's full name, phone number, and email. When the shopper proceeds to pay, handle the transaction depending on which convenience store they selected:<\/p>\n<ul>\n<li>7-Eleven: Redirect your shopper to a 7-Eleven page where they see the voucher.<\/li>\n<li>Other Japanese convenience stores: Present the voucher.<\/li>\n<\/ul>\n<p>The shopper can then note the voucher reference or print the voucher, and pay in cash either at 7-Eleven or other convenience stores.<\/p>\n<div class=\"sc-notice note\"><div>\n<p>If you offer Pay-easy ATM with an API-only integration, you must update the following:<\/p>\n<ul>\n<li>Display the <code>collectionInstitutionNumber<\/code>, <code>reference<\/code>, and <code>alternativeReference<\/code> from the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments<\/a> response on the voucher.<\/li>\n<li>Use the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/cancels\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/cancels<\/a> endpoint for expiry management.<br \/>\nFor more information, see our documentation for <a href=\"\/pt\/online-payments\/cancel\">canceling payments<\/a>.<\/li>\n<\/ul>\n<p>The last day to implement these changes is <strong>23 February 2026<\/strong>. On 24 February 2026 00:00AM JST, every shopper action with the old payment number will be rejected at the Pay-easy ATM.<\/p>\n<\/div><\/div>\n<h2>Requirements<\/h2>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Requirement<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>Integration type<\/strong><\/td>\n<td style=\"text-align: left;\">Make sure that you have built your <a href=\"\/pt\/online-payments\/\/\" target=\"_blank\">API-only integration<\/a>.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>Setup steps<\/strong><\/td>\n<td style=\"text-align: left;\">Before you begin:<ul><li markdown=\"1\"><a href=\"\/pt\/payment-methods\/add-payment-methods\">Add <strong>eContext Convenience Stores<\/strong> in your Customer Area<\/a> to support payments made through Lawson, Mini Stop, Family Mart, and Seicomart.<\/li><li markdown=\"1\"><a href=\"\/pt\/payment-methods\/add-payment-methods\">Add <strong>eContext PayEasy ATM<\/strong> in your Customer Area<\/a> to support ATM payments made through Pay-easy.<\/li><li markdown=\"1\"><a href=\"\/pt\/payment-methods\/add-payment-methods\">Add <strong>eContext PayEasy Online Banking<\/strong> in your Customer Area<\/a> to support online payments made through Pay-easy.<\/li><li markdown=\"1\"><a href=\"\/pt\/payment-methods\/add-payment-methods\">Add <strong>eContext 7Eleven<\/strong> in your Customer Area<\/a> to support payments made through 7-Eleven.<\/li><\/ul><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"build-payment-form\">Build your payment form for 7-Eleven and other Japanese convenience stores<\/h2>\n<p>To include 7-Eleven and other Japanese convenience stores in your payment form, you need to:<\/p>\n<ol>\n<li>\n<p>Show 7-Eleven and other Japanese convenience stores as an available payment method.<\/p>\n<div class=\"notices green\">\n<p>We provide a 7-Eleven and other Japanese convenience stores  logo which you can use on your payment form. For more information, refer to <a href=\"\/pt\/online-payments\/build-your-integration\/advanced-flow\/?platform=Web&amp;integration=API%20only#downloading-logos\">Downloading logos<\/a>.<\/p>\n<\/div>\n<\/li>\n<li>\n<p>After the shopper selects 7-Eleven or other Japanese convenience stores , collect the following details from the shopper:<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Category<\/th>\n<th style=\"text-align: left;\">Details to collect<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\">Shopper name<\/td>\n<td style=\"text-align: left;\">The shopper's first name and last name.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Email<\/td>\n<td style=\"text-align: left;\">The shopper's email. Vouchers are sent to their email (except for 7-Eleven vouchers).<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Telephone number<\/td>\n<td style=\"text-align: left;\">The shopper's telephone number.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<\/ol>\n<p>You can also get the required shopper details from the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/paymentMethods\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/paymentMethods<\/a> response, as explained in the <a href=\"\/pt\/online-payments\/build-your-integration\/advanced-flow\/?platform=Web&amp;integration=API%20only&amp;version=71#get-available-payment-methods\">API-only integration guide<\/a>.<\/p>\n<p>When you make a POST  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/paymentMethods\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/paymentMethods<\/a> request, specify:<\/p>\n<ul>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/paymentMethods\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">countryCode<\/a>&#58; <span translate=\"no\"><strong>JP<\/strong><\/span><\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/paymentMethods#request-amount\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">amount.currency<\/a>&#58; <span translate=\"no\"><strong>JPY<\/strong><\/span><\/li>\n<li> <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/paymentMethods#request-amount\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">amount.value<\/a>&#58; The value of the payment, <a href=\"\/pt\/development-resources\/currency-codes\">in minor units<\/a>.<\/li>\n<\/ul>\n<p>The required fields for 7-Eleven or other Japanese convenience stores are included in the object with the following <code>type<\/code>. You'll also use <code>type<\/code> to make a payment in the next step:<\/p>\n<ul>\n<li><span translate=\"no\"><strong>econtext_seven_eleven<\/strong><\/span>: For 7-Eleven Japan.<\/li>\n<li><span translate=\"no\"><strong>econtext_atm<\/strong><\/span>: For Pay-easy ATM payments.<\/li>\n<li><span translate=\"no\"><strong>econtext_online<\/strong><\/span>: For Pay-easy online payments.<\/li>\n<li><span translate=\"no\"><strong>econtext_stores<\/strong><\/span>: For other Japanese convenience stores.<\/li>\n<\/ul>\n<h2 id=\"make-payment\">Make a payment<\/h2>\n<p>From your server, make a POST  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments<\/a> request, specifying the following:<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">Parameters<\/th>\n<th style=\"text-align: center;\">Required<\/th>\n<th style=\"text-align: left;\">Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><code>paymentMethod<\/code><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: left;\">Object that contains the <code>type<\/code>, and the shopper's <code>firstName<\/code>, <code>lastName<\/code>, <code>telephoneNumber<\/code>, and <code>shopperEmail<\/code>.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>shopperLocale<\/code><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: left;\">Language and country code to be used in the payment. For example, <span translate=\"no\"><strong>ja-JP<\/strong><\/span>.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><code>returnUrl<\/code><\/td>\n<td style=\"text-align: center;\"><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td style=\"text-align: left;\">The URL where the shopper will be redirected back to after they see the voucher. This URL can have a maximum of 1024 characters.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Select a convenience store in the tabs below to see how to make a payment with a value of <span translate=\"no\"><strong>1,000 JPY<\/strong><\/span>, and how to show the voucher to the shopper:<\/p>\n\n<div id=\"tabBQEjS\">\n    <div data-component-wrapper=\"tabs\">\n        <tabs\n                        :items=\"[{&quot;title&quot;:&quot;7-Eleven&quot;,&quot;content&quot;:&quot;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;&#039;\\&quot; :id=\\&quot;&#039;web-payments-711&#039;\\&quot; :code-data=\\&quot;[{&amp;quot;language&amp;quot;:&amp;quot;bash&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;curl&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;curl https:\\\\\\\/\\\\\\\/checkout-test.adyen.com\\\\\\\/v72\\\\\\\/payments \\\\\\\\\\\\n-H &#039;x-api-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-d &#039;{\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;:\\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;:\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;:\\\\&amp;quot;JPY\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;:1000\\\\n  },\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;type\\\\&amp;quot;:\\\\&amp;quot;econtext_seven_eleven\\\\&amp;quot;,\\\\n    \\\\&amp;quot;firstName\\\\&amp;quot;: \\\\&amp;quot;Simon\\\\&amp;quot;,\\\\n    \\\\&amp;quot;lastName\\\\&amp;quot;: \\\\&amp;quot;Hopper\\\\&amp;quot;,\\\\n    \\\\&amp;quot;shopperEmail\\\\&amp;quot;: \\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;,\\\\n    \\\\&amp;quot;telephoneNumber\\\\&amp;quot;: \\\\&amp;quot;1234567890\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;shopperLocale\\\\&amp;quot;: \\\\&amp;quot;ja-JP\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;:\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;\\\\n}&#039;&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;java&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Java&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Java API Library v27.0.0\\\\nimport com.adyen.Client;\\\\nimport com.adyen.enums.Environment;\\\\nimport com.adyen.model.checkout.*;\\\\nimport java.time.OffsetDateTime;\\\\nimport java.util.*;\\\\nimport com.adyen.model.RequestOptions;\\\\nimport com.adyen.service.checkout.*;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nClient client = new Client(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, Environment.TEST);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nAmount amount = new Amount()\\\\n  .currency(\\\\&amp;quot;JPY\\\\&amp;quot;)\\\\n  .value(1000L);\\\\n\\\\nEcontextVoucherDetails econtextVoucherDetails = new EcontextVoucherDetails()\\\\n  .firstName(\\\\&amp;quot;Simon\\\\&amp;quot;)\\\\n  .lastName(\\\\&amp;quot;Hopper\\\\&amp;quot;)\\\\n  .telephoneNumber(\\\\&amp;quot;1234567890\\\\&amp;quot;)\\\\n  .shopperEmail(\\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;)\\\\n  .type(EcontextVoucherDetails.TypeEnum.SEVEN_ELEVEN);\\\\n\\\\nPaymentRequest paymentRequest = new PaymentRequest()\\\\n  .reference(\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;)\\\\n  .amount(amount)\\\\n  .merchantAccount(\\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  .paymentMethod(new CheckoutPaymentMethod(econtextVoucherDetails))\\\\n  .shopperLocale(\\\\&amp;quot;ja-JP\\\\&amp;quot;)\\\\n  .returnUrl(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;);\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nPaymentsApi service = new PaymentsApi(client);\\\\nPaymentResponse response = service.payments(paymentRequest, new RequestOptions().idempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;));&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;php&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;PHP&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen PHP API Library v19.0.0\\\\nuse Adyen\\\\\\\\Client;\\\\nuse Adyen\\\\\\\\Environment;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\Amount;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\CheckoutPaymentMethod;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\PaymentRequest;\\\\nuse Adyen\\\\\\\\Service\\\\\\\\Checkout\\\\\\\\PaymentsApi;\\\\n\\\\n$client = new Client();\\\\n$client-&amp;gt;setXApiKey(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;);\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\n$client-&amp;gt;setEnvironment(Environment::TEST);\\\\n\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\n$amount = new Amount();\\\\n$amount\\\\n  -&amp;gt;setCurrency(\\\\&amp;quot;JPY\\\\&amp;quot;)\\\\n  -&amp;gt;setValue(1000);\\\\n\\\\n$checkoutPaymentMethod = new CheckoutPaymentMethod();\\\\n$checkoutPaymentMethod\\\\n  -&amp;gt;setFirstName(\\\\&amp;quot;Simon\\\\&amp;quot;)\\\\n  -&amp;gt;setLastName(\\\\&amp;quot;Hopper\\\\&amp;quot;)\\\\n  -&amp;gt;setTelephoneNumber(\\\\&amp;quot;1234567890\\\\&amp;quot;)\\\\n  -&amp;gt;setShopperEmail(\\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;)\\\\n  -&amp;gt;setType(\\\\&amp;quot;seven_eleven\\\\&amp;quot;);\\\\n\\\\n$paymentRequest = new PaymentRequest();\\\\n$paymentRequest\\\\n  -&amp;gt;setReference(\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;)\\\\n  -&amp;gt;setAmount($amount)\\\\n  -&amp;gt;setMerchantAccount(\\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  -&amp;gt;setPaymentMethod($checkoutPaymentMethod)\\\\n  -&amp;gt;setShopperLocale(\\\\&amp;quot;ja-JP\\\\&amp;quot;)\\\\n  -&amp;gt;setReturnUrl(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;);\\\\n\\\\n$requestOptions[&#039;idempotencyKey&#039;] = &#039;UUID&#039;;\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\n$service = new PaymentsApi($client);\\\\n$response = $service-&amp;gt;payments($paymentRequest, $requestOptions);&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;cs&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;C#&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen .net API Library v17.0.0\\\\nusing Adyen;\\\\nusing Environment = Adyen.Model.Environment;\\\\nusing Adyen.Model;\\\\nusing Adyen.Model.Checkout;\\\\nusing Adyen.Service.Checkout;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nvar config = new Config()\\\\n{\\\\n    XApiKey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n    Environment = Environment.Test\\\\n};\\\\nvar client = new Client(config);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nAmount amount = new Amount\\\\n{\\\\n  Currency = \\\\&amp;quot;JPY\\\\&amp;quot;,\\\\n  Value = 1000\\\\n};\\\\n\\\\nEcontextVoucherDetails econtextVoucherDetails = new EcontextVoucherDetails\\\\n{\\\\n  FirstName = \\\\&amp;quot;Simon\\\\&amp;quot;,\\\\n  LastName = \\\\&amp;quot;Hopper\\\\&amp;quot;,\\\\n  TelephoneNumber = \\\\&amp;quot;1234567890\\\\&amp;quot;,\\\\n  ShopperEmail = \\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;,\\\\n  Type = EcontextVoucherDetails.TypeEnum.SevenEleven\\\\n};\\\\n\\\\nPaymentRequest paymentRequest = new PaymentRequest\\\\n{\\\\n  Reference = \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  Amount = amount,\\\\n  MerchantAccount = \\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  PaymentMethod = new CheckoutPaymentMethod(econtextVoucherDetails),\\\\n  ShopperLocale = \\\\&amp;quot;ja-JP\\\\&amp;quot;,\\\\n  ReturnUrl = \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nvar service = new PaymentsService(client);\\\\nvar response = service.Payments(paymentRequest, requestOptions: new RequestOptions { IdempotencyKey = \\\\&amp;quot;UUID\\\\&amp;quot;});&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;js&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (JavaScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v18.0.0\\\\n\\\\\\\/\\\\\\\/ Require the parts of the module you want to use\\\\nconst { Client, CheckoutAPI } = require(&#039;@adyen\\\\\\\/api-library&#039;);\\\\n\\\\\\\/\\\\\\\/ Initialize the client object\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nconst client = new Client({apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, environment: \\\\&amp;quot;TEST\\\\&amp;quot;});\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst paymentRequest = {\\\\n  merchantAccount: \\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  amount: {\\\\n    currency: \\\\&amp;quot;JPY\\\\&amp;quot;,\\\\n    value: 1000\\\\n  },\\\\n  paymentMethod: {\\\\n    type: \\\\&amp;quot;econtext_seven_eleven\\\\&amp;quot;,\\\\n    firstName: \\\\&amp;quot;Simon\\\\&amp;quot;,\\\\n    lastName: \\\\&amp;quot;Hopper\\\\&amp;quot;,\\\\n    shopperEmail: \\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;,\\\\n    telephoneNumber: \\\\&amp;quot;1234567890\\\\&amp;quot;\\\\n  },\\\\n  shopperLocale: \\\\&amp;quot;ja-JP\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;go&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Go&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Go API Library v10.4.0\\\\nimport (\\\\n  \\\\&amp;quot;context\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/common\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/adyen\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/checkout\\\\&amp;quot;\\\\n)\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nclient := adyen.NewClient(&amp;amp;common.Config{\\\\n  ApiKey:      \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n  Environment: common.TestEnv,\\\\n})\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\namount := checkout.Amount{\\\\n  Currency: \\\\&amp;quot;JPY\\\\&amp;quot;,\\\\n  Value: 1000,\\\\n}\\\\n\\\\necontextVoucherDetails := checkout.EcontextVoucherDetails{\\\\n  FirstName: \\\\&amp;quot;Simon\\\\&amp;quot;,\\\\n  LastName: \\\\&amp;quot;Hopper\\\\&amp;quot;,\\\\n  TelephoneNumber: \\\\&amp;quot;1234567890\\\\&amp;quot;,\\\\n  ShopperEmail: \\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;,\\\\n  Type: \\\\&amp;quot;econtext_seven_eleven\\\\&amp;quot;,\\\\n}\\\\n\\\\npaymentRequest := checkout.PaymentRequest{\\\\n  Reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  Amount: amount,\\\\n  MerchantAccount: \\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  PaymentMethod: checkout.EcontextVoucherDetailsAsCheckoutPaymentMethod(&amp;amp;econtextVoucherDetails),\\\\n  ShopperLocale: common.PtrString(\\\\&amp;quot;ja-JP\\\\&amp;quot;),\\\\n  ReturnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nservice := client.Checkout()\\\\nreq := service.PaymentsApi.PaymentsInput().IdempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;).PaymentRequest(paymentRequest)\\\\nres, httpRes, err := service.PaymentsApi.Payments(context.Background(), req)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;py&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Python&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Python API Library v12.5.1\\\\nimport Adyen\\\\n\\\\nadyen = Adyen.Adyen()\\\\nadyen.client.xapikey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;\\\\n# For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nadyen.client.platform = \\\\&amp;quot;test\\\\&amp;quot; # The environment to use library in.\\\\n\\\\n# Create the request object(s)\\\\njson_request = {\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;JPY\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 1000\\\\n  },\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;econtext_seven_eleven\\\\&amp;quot;,\\\\n    \\\\&amp;quot;firstName\\\\&amp;quot;: \\\\&amp;quot;Simon\\\\&amp;quot;,\\\\n    \\\\&amp;quot;lastName\\\\&amp;quot;: \\\\&amp;quot;Hopper\\\\&amp;quot;,\\\\n    \\\\&amp;quot;shopperEmail\\\\&amp;quot;: \\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;,\\\\n    \\\\&amp;quot;telephoneNumber\\\\&amp;quot;: \\\\&amp;quot;1234567890\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;shopperLocale\\\\&amp;quot;: \\\\&amp;quot;ja-JP\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.payments(request=json_request, idempotency_key=\\\\&amp;quot;UUID\\\\&amp;quot;)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;rb&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Ruby&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Ruby API Library v9.5.1\\\\nrequire \\\\&amp;quot;adyen-ruby-api-library\\\\&amp;quot;\\\\n\\\\nadyen = Adyen::Client.new\\\\nadyen.api_key = &#039;ADYEN_API_KEY&#039;\\\\n# For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nadyen.env = :test # Set to \\\\&amp;quot;live\\\\&amp;quot; for live environment\\\\n\\\\n# Create the request object(s)\\\\nrequest_body = {\\\\n  :merchantAccount =&amp;gt; &#039;ADYEN_MERCHANT_ACCOUNT&#039;,\\\\n  :reference =&amp;gt; &#039;YOUR_ORDER_NUMBER&#039;,\\\\n  :amount =&amp;gt; {\\\\n    :currency =&amp;gt; &#039;JPY&#039;,\\\\n    :value =&amp;gt; 1000\\\\n  },\\\\n  :paymentMethod =&amp;gt; {\\\\n    :type =&amp;gt; &#039;econtext_seven_eleven&#039;,\\\\n    :firstName =&amp;gt; &#039;Simon&#039;,\\\\n    :lastName =&amp;gt; &#039;Hopper&#039;,\\\\n    :shopperEmail =&amp;gt; &#039;s.hopper@email.com&#039;,\\\\n    :telephoneNumber =&amp;gt; &#039;1234567890&#039;\\\\n  },\\\\n  :shopperLocale =&amp;gt; &#039;ja-JP&#039;,\\\\n  :returnUrl =&amp;gt; &#039;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..&#039;\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.payments(request_body, headers: { &#039;Idempotency-Key&#039; =&amp;gt; &#039;UUID&#039; })&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;ts&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (TypeScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v18.0.0\\\\n\\\\\\\/\\\\\\\/ Require the parts of the module you want to use\\\\nimport { Client, CheckoutAPI, Types } from \\\\&amp;quot;@adyen\\\\\\\/api-library\\\\&amp;quot;;\\\\n\\\\\\\/\\\\\\\/ Initialize the client object\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nconst client = new Client({apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, environment: \\\\&amp;quot;TEST\\\\&amp;quot;});\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst amount: Types.checkout.Amount = {\\\\n  currency: \\\\&amp;quot;JPY\\\\&amp;quot;,\\\\n  value: 1000\\\\n};\\\\n\\\\nconst econtextVoucherDetails: Types.checkout.EcontextVoucherDetails = {\\\\n  firstName: \\\\&amp;quot;Simon\\\\&amp;quot;,\\\\n  lastName: \\\\&amp;quot;Hopper\\\\&amp;quot;,\\\\n  telephoneNumber: \\\\&amp;quot;1234567890\\\\&amp;quot;,\\\\n  shopperEmail: \\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;,\\\\n  type: Types.checkout.EcontextVoucherDetails.TypeEnum.SevenEleven\\\\n};\\\\n\\\\nconst paymentRequest: Types.checkout.PaymentRequest = {\\\\n  reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  amount: amount,\\\\n  merchantAccount: \\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  paymentMethod: econtextVoucherDetails,\\\\n  shopperLocale: \\\\&amp;quot;ja-JP\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&lt;p&gt;The  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;\\\/payments&lt;\\\/a&gt; response contains an &lt;code&gt;action&lt;\\\/code&gt; object with the information needed to redirect the shopper.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;\\\/payments response&#039;\\&quot; :id=\\&quot;&#039;&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n   \\\\\\&quot;resultCode\\\\\\&quot;:\\\\\\&quot;RedirectShopper\\\\\\&quot;,\\\\n   \\\\\\&quot;action\\\\\\&quot;:{\\\\n      \\\\\\&quot;paymentMethodType\\\\\\&quot;:\\\\\\&quot;econtext_seven_eleven\\\\\\&quot;,\\\\n      \\\\\\&quot;method\\\\\\&quot;:\\\\\\&quot;GET\\\\\\&quot;,\\\\n      \\\\\\&quot;url\\\\\\&quot;:\\\\\\&quot;https:\\\\\\\/\\\\\\\/checkoutshopper-test.adyen.com\\\\\\\/checkoutshopper\\\\\\\/checkoutPaymentRedirect?redirectData=...\\\\\\&quot;,\\\\n      \\\\\\&quot;type\\\\\\&quot;:\\\\\\&quot;redirect\\\\\\&quot;\\\\n   }\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&lt;h2&gt;Handle the redirect to 7-Eleven&lt;\\\/h2&gt;\\n&lt;div class=\\&quot;notices yellow\\&quot;&gt;\\n&lt;p&gt;7-Eleven voucher payments can only be tested in the live environment. Contact our &lt;a href=\\&quot;https:\\\/\\\/ca-test.adyen.com\\\/ca\\\/ca\\\/contactUs\\\/support.shtml?form=other\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;Support Team&lt;\\\/a&gt; to set up 7-Eleven on the live environment for penny testing.&lt;\\\/p&gt;\\n&lt;\\\/div&gt;\\n&lt;p&gt;To show the voucher to the shopper, redirect the shopper to the &lt;code&gt;action.url&lt;\\\/code&gt; using the &lt;code&gt;action.method&lt;\\\/code&gt; returned in the  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;\\\/payments&lt;\\\/a&gt; response.&lt;\\\/p&gt;\\n&lt;p&gt;The voucher is presented to the shopper in the 7-Eleven page. They can then print the voucher and pay in cash at any 7-Eleven store. When the shopper completes the payment at 7-Eleven store, you&#039;ll get to know the outcome of the payment through &lt;a href=\\&quot;#present\\&quot;&gt;webhooks&lt;\\\/a&gt;.&lt;\\\/p&gt;\\n&quot;,&quot;altTitle&quot;:null,&quot;oldTabId&quot;:&quot;7-eleven_0_1&quot;,&quot;relation&quot;:&quot;&quot;},{&quot;title&quot;:&quot;Other convenience stores&quot;,&quot;content&quot;:&quot;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;&#039;\\&quot; :id=\\&quot;&#039;web-payments&#039;\\&quot; :code-data=\\&quot;[{&amp;quot;language&amp;quot;:&amp;quot;bash&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;curl&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;curl https:\\\\\\\/\\\\\\\/checkout-test.adyen.com\\\\\\\/v72\\\\\\\/payments \\\\\\\\\\\\n-H &#039;x-api-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-d &#039;{\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;:\\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;:\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;:\\\\&amp;quot;JPY\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;:1000\\\\n  },\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;type\\\\&amp;quot;:\\\\&amp;quot;econtext_stores\\\\&amp;quot;,\\\\n    \\\\&amp;quot;firstName\\\\&amp;quot;: \\\\&amp;quot;Simon\\\\&amp;quot;,\\\\n    \\\\&amp;quot;lastName\\\\&amp;quot;: \\\\&amp;quot;Hopper\\\\&amp;quot;,\\\\n    \\\\&amp;quot;shopperEmail\\\\&amp;quot;: \\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;,\\\\n    \\\\&amp;quot;telephoneNumber\\\\&amp;quot;: \\\\&amp;quot;1234567890\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;shopperLocale\\\\&amp;quot;: \\\\&amp;quot;ja-JP\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;:\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;\\\\n}&#039;&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;java&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Java&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Java API Library v27.0.0\\\\nimport com.adyen.Client;\\\\nimport com.adyen.enums.Environment;\\\\nimport com.adyen.model.checkout.*;\\\\nimport java.time.OffsetDateTime;\\\\nimport java.util.*;\\\\nimport com.adyen.model.RequestOptions;\\\\nimport com.adyen.service.checkout.*;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nClient client = new Client(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, Environment.TEST);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nAmount amount = new Amount()\\\\n  .currency(\\\\&amp;quot;JPY\\\\&amp;quot;)\\\\n  .value(1000L);\\\\n\\\\nEcontextVoucherDetails econtextVoucherDetails = new EcontextVoucherDetails()\\\\n  .firstName(\\\\&amp;quot;Simon\\\\&amp;quot;)\\\\n  .lastName(\\\\&amp;quot;Hopper\\\\&amp;quot;)\\\\n  .telephoneNumber(\\\\&amp;quot;1234567890\\\\&amp;quot;)\\\\n  .shopperEmail(\\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;)\\\\n  .type(EcontextVoucherDetails.TypeEnum.STORES);\\\\n\\\\nPaymentRequest paymentRequest = new PaymentRequest()\\\\n  .reference(\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;)\\\\n  .amount(amount)\\\\n  .merchantAccount(\\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  .paymentMethod(new CheckoutPaymentMethod(econtextVoucherDetails))\\\\n  .shopperLocale(\\\\&amp;quot;ja-JP\\\\&amp;quot;)\\\\n  .returnUrl(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;);\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nPaymentsApi service = new PaymentsApi(client);\\\\nPaymentResponse response = service.payments(paymentRequest, new RequestOptions().idempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;));&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;php&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;PHP&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen PHP API Library v19.0.0\\\\nuse Adyen\\\\\\\\Client;\\\\nuse Adyen\\\\\\\\Environment;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\Amount;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\CheckoutPaymentMethod;\\\\nuse Adyen\\\\\\\\Model\\\\\\\\Checkout\\\\\\\\PaymentRequest;\\\\nuse Adyen\\\\\\\\Service\\\\\\\\Checkout\\\\\\\\PaymentsApi;\\\\n\\\\n$client = new Client();\\\\n$client-&amp;gt;setXApiKey(\\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;);\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\n$client-&amp;gt;setEnvironment(Environment::TEST);\\\\n\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\n$amount = new Amount();\\\\n$amount\\\\n  -&amp;gt;setCurrency(\\\\&amp;quot;JPY\\\\&amp;quot;)\\\\n  -&amp;gt;setValue(1000);\\\\n\\\\n$checkoutPaymentMethod = new CheckoutPaymentMethod();\\\\n$checkoutPaymentMethod\\\\n  -&amp;gt;setFirstName(\\\\&amp;quot;Simon\\\\&amp;quot;)\\\\n  -&amp;gt;setLastName(\\\\&amp;quot;Hopper\\\\&amp;quot;)\\\\n  -&amp;gt;setTelephoneNumber(\\\\&amp;quot;1234567890\\\\&amp;quot;)\\\\n  -&amp;gt;setShopperEmail(\\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;)\\\\n  -&amp;gt;setType(\\\\&amp;quot;stores\\\\&amp;quot;);\\\\n\\\\n$paymentRequest = new PaymentRequest();\\\\n$paymentRequest\\\\n  -&amp;gt;setReference(\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;)\\\\n  -&amp;gt;setAmount($amount)\\\\n  -&amp;gt;setMerchantAccount(\\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;)\\\\n  -&amp;gt;setPaymentMethod($checkoutPaymentMethod)\\\\n  -&amp;gt;setShopperLocale(\\\\&amp;quot;ja-JP\\\\&amp;quot;)\\\\n  -&amp;gt;setReturnUrl(\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;);\\\\n\\\\n$requestOptions[&#039;idempotencyKey&#039;] = &#039;UUID&#039;;\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\n$service = new PaymentsApi($client);\\\\n$response = $service-&amp;gt;payments($paymentRequest, $requestOptions);&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;cs&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;C#&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen .net API Library v17.0.0\\\\nusing Adyen;\\\\nusing Environment = Adyen.Model.Environment;\\\\nusing Adyen.Model;\\\\nusing Adyen.Model.Checkout;\\\\nusing Adyen.Service.Checkout;\\\\n\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nvar config = new Config()\\\\n{\\\\n    XApiKey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n    Environment = Environment.Test\\\\n};\\\\nvar client = new Client(config);\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nAmount amount = new Amount\\\\n{\\\\n  Currency = \\\\&amp;quot;JPY\\\\&amp;quot;,\\\\n  Value = 1000\\\\n};\\\\n\\\\nEcontextVoucherDetails econtextVoucherDetails = new EcontextVoucherDetails\\\\n{\\\\n  FirstName = \\\\&amp;quot;Simon\\\\&amp;quot;,\\\\n  LastName = \\\\&amp;quot;Hopper\\\\&amp;quot;,\\\\n  TelephoneNumber = \\\\&amp;quot;1234567890\\\\&amp;quot;,\\\\n  ShopperEmail = \\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;,\\\\n  Type = EcontextVoucherDetails.TypeEnum.Stores\\\\n};\\\\n\\\\nPaymentRequest paymentRequest = new PaymentRequest\\\\n{\\\\n  Reference = \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  Amount = amount,\\\\n  MerchantAccount = \\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  PaymentMethod = new CheckoutPaymentMethod(econtextVoucherDetails),\\\\n  ShopperLocale = \\\\&amp;quot;ja-JP\\\\&amp;quot;,\\\\n  ReturnUrl = \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nvar service = new PaymentsService(client);\\\\nvar response = service.Payments(paymentRequest, requestOptions: new RequestOptions { IdempotencyKey = \\\\&amp;quot;UUID\\\\&amp;quot;});&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;js&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (JavaScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v18.0.0\\\\n\\\\\\\/\\\\\\\/ Require the parts of the module you want to use\\\\nconst { Client, CheckoutAPI } = require(&#039;@adyen\\\\\\\/api-library&#039;);\\\\n\\\\\\\/\\\\\\\/ Initialize the client object\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nconst client = new Client({apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, environment: \\\\&amp;quot;TEST\\\\&amp;quot;});\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst paymentRequest = {\\\\n  merchantAccount: \\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  amount: {\\\\n    currency: \\\\&amp;quot;JPY\\\\&amp;quot;,\\\\n    value: 1000\\\\n  },\\\\n  paymentMethod: {\\\\n    type: \\\\&amp;quot;econtext_stores\\\\&amp;quot;,\\\\n    firstName: \\\\&amp;quot;Simon\\\\&amp;quot;,\\\\n    lastName: \\\\&amp;quot;Hopper\\\\&amp;quot;,\\\\n    shopperEmail: \\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;,\\\\n    telephoneNumber: \\\\&amp;quot;1234567890\\\\&amp;quot;\\\\n  },\\\\n  shopperLocale: \\\\&amp;quot;ja-JP\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;go&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Go&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Go API Library v10.4.0\\\\nimport (\\\\n  \\\\&amp;quot;context\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/common\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/adyen\\\\&amp;quot;\\\\n  \\\\&amp;quot;github.com\\\\\\\/adyen\\\\\\\/adyen-go-api-library\\\\\\\/v9\\\\\\\/src\\\\\\\/checkout\\\\&amp;quot;\\\\n)\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nclient := adyen.NewClient(&amp;amp;common.Config{\\\\n  ApiKey:      \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;,\\\\n  Environment: common.TestEnv,\\\\n})\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\namount := checkout.Amount{\\\\n  Currency: \\\\&amp;quot;JPY\\\\&amp;quot;,\\\\n  Value: 1000,\\\\n}\\\\n\\\\necontextVoucherDetails := checkout.EcontextVoucherDetails{\\\\n  FirstName: \\\\&amp;quot;Simon\\\\&amp;quot;,\\\\n  LastName: \\\\&amp;quot;Hopper\\\\&amp;quot;,\\\\n  TelephoneNumber: \\\\&amp;quot;1234567890\\\\&amp;quot;,\\\\n  ShopperEmail: \\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;,\\\\n  Type: \\\\&amp;quot;econtext_stores\\\\&amp;quot;,\\\\n}\\\\n\\\\npaymentRequest := checkout.PaymentRequest{\\\\n  Reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  Amount: amount,\\\\n  MerchantAccount: \\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  PaymentMethod: checkout.EcontextVoucherDetailsAsCheckoutPaymentMethod(&amp;amp;econtextVoucherDetails),\\\\n  ShopperLocale: common.PtrString(\\\\&amp;quot;ja-JP\\\\&amp;quot;),\\\\n  ReturnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;,\\\\n}\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nservice := client.Checkout()\\\\nreq := service.PaymentsApi.PaymentsInput().IdempotencyKey(\\\\&amp;quot;UUID\\\\&amp;quot;).PaymentRequest(paymentRequest)\\\\nres, httpRes, err := service.PaymentsApi.Payments(context.Background(), req)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;py&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Python&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Python API Library v12.5.1\\\\nimport Adyen\\\\n\\\\nadyen = Adyen.Adyen()\\\\nadyen.client.xapikey = \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;\\\\n# For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nadyen.client.platform = \\\\&amp;quot;test\\\\&amp;quot; # The environment to use library in.\\\\n\\\\n# Create the request object(s)\\\\njson_request = {\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;: \\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;: \\\\&amp;quot;JPY\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;: 1000\\\\n  },\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;: {\\\\n    \\\\&amp;quot;type\\\\&amp;quot;: \\\\&amp;quot;econtext_stores\\\\&amp;quot;,\\\\n    \\\\&amp;quot;firstName\\\\&amp;quot;: \\\\&amp;quot;Simon\\\\&amp;quot;,\\\\n    \\\\&amp;quot;lastName\\\\&amp;quot;: \\\\&amp;quot;Hopper\\\\&amp;quot;,\\\\n    \\\\&amp;quot;shopperEmail\\\\&amp;quot;: \\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;,\\\\n    \\\\&amp;quot;telephoneNumber\\\\&amp;quot;: \\\\&amp;quot;1234567890\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;shopperLocale\\\\&amp;quot;: \\\\&amp;quot;ja-JP\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.payments(request=json_request, idempotency_key=\\\\&amp;quot;UUID\\\\&amp;quot;)&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;rb&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;Ruby&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;# Adyen Ruby API Library v9.5.1\\\\nrequire \\\\&amp;quot;adyen-ruby-api-library\\\\&amp;quot;\\\\n\\\\nadyen = Adyen::Client.new\\\\nadyen.api_key = &#039;ADYEN_API_KEY&#039;\\\\n# For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nadyen.env = :test # Set to \\\\&amp;quot;live\\\\&amp;quot; for live environment\\\\n\\\\n# Create the request object(s)\\\\nrequest_body = {\\\\n  :merchantAccount =&amp;gt; &#039;ADYEN_MERCHANT_ACCOUNT&#039;,\\\\n  :reference =&amp;gt; &#039;YOUR_ORDER_NUMBER&#039;,\\\\n  :amount =&amp;gt; {\\\\n    :currency =&amp;gt; &#039;JPY&#039;,\\\\n    :value =&amp;gt; 1000\\\\n  },\\\\n  :paymentMethod =&amp;gt; {\\\\n    :type =&amp;gt; &#039;econtext_stores&#039;,\\\\n    :firstName =&amp;gt; &#039;Simon&#039;,\\\\n    :lastName =&amp;gt; &#039;Hopper&#039;,\\\\n    :shopperEmail =&amp;gt; &#039;s.hopper@email.com&#039;,\\\\n    :telephoneNumber =&amp;gt; &#039;1234567890&#039;\\\\n  },\\\\n  :shopperLocale =&amp;gt; &#039;ja-JP&#039;,\\\\n  :returnUrl =&amp;gt; &#039;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..&#039;\\\\n}\\\\n\\\\n# Send the request\\\\nresult = adyen.checkout.payments_api.payments(request_body, headers: { &#039;Idempotency-Key&#039; =&amp;gt; &#039;UUID&#039; })&amp;quot;},{&amp;quot;language&amp;quot;:&amp;quot;ts&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;NodeJS (TypeScript)&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;\\\\\\\/\\\\\\\/ Adyen Node API Library v18.0.0\\\\n\\\\\\\/\\\\\\\/ Require the parts of the module you want to use\\\\nimport { Client, CheckoutAPI, Types } from \\\\&amp;quot;@adyen\\\\\\\/api-library\\\\&amp;quot;;\\\\n\\\\\\\/\\\\\\\/ Initialize the client object\\\\n\\\\\\\/\\\\\\\/ For the live environment, additionally include your liveEndpointUrlPrefix.\\\\nconst client = new Client({apiKey: \\\\&amp;quot;ADYEN_API_KEY\\\\&amp;quot;, environment: \\\\&amp;quot;TEST\\\\&amp;quot;});\\\\n\\\\n\\\\\\\/\\\\\\\/ Create the request object(s)\\\\nconst amount: Types.checkout.Amount = {\\\\n  currency: \\\\&amp;quot;JPY\\\\&amp;quot;,\\\\n  value: 1000\\\\n};\\\\n\\\\nconst econtextVoucherDetails: Types.checkout.EcontextVoucherDetails = {\\\\n  firstName: \\\\&amp;quot;Simon\\\\&amp;quot;,\\\\n  lastName: \\\\&amp;quot;Hopper\\\\&amp;quot;,\\\\n  telephoneNumber: \\\\&amp;quot;1234567890\\\\&amp;quot;,\\\\n  shopperEmail: \\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;,\\\\n  type: Types.checkout.EcontextVoucherDetails.TypeEnum.Stores\\\\n};\\\\n\\\\nconst paymentRequest: Types.checkout.PaymentRequest = {\\\\n  reference: \\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  amount: amount,\\\\n  merchantAccount: \\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  paymentMethod: econtextVoucherDetails,\\\\n  shopperLocale: \\\\&amp;quot;ja-JP\\\\&amp;quot;,\\\\n  returnUrl: \\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;\\\\n};\\\\n\\\\n\\\\\\\/\\\\\\\/ Send the request\\\\nconst checkoutAPI = new CheckoutAPI(client);\\\\nconst response = checkoutAPI.PaymentsApi.payments(paymentRequest, { idempotencyKey: \\\\&amp;quot;UUID\\\\&amp;quot; });&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&lt;p&gt;The response contains &lt;code&gt;action.type&lt;\\\/code&gt; &lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;voucher&lt;\\\/strong&gt;&lt;\\\/span&gt; along with the following parameters:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th&gt;Parameter&lt;\\\/th&gt;\\n&lt;th&gt;Description or Value&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;pspReference&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td&gt;Our unique reference for the payment.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;resultCode&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td&gt;&lt;span translate=\\&quot;no\\&quot;&gt;&lt;strong&gt;PresentToShopper&lt;\\\/strong&gt;&lt;\\\/span&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;action&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td&gt;Object containing information about the voucher: &lt;ul&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;&lt;code&gt;expiresAt&lt;\\\/code&gt;: The date and time when the voucher expires.&lt;\\\/li&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;&lt;code&gt;reference&lt;\\\/code&gt;: A 6-digit reference code reference number for the payment.&lt;\\\/li&gt;&lt;li markdown=\\&quot;1\\&quot;&gt;&lt;code&gt;totalAmount&lt;\\\/code&gt;:  The &lt;code&gt;currency&lt;\\\/code&gt; and &lt;code&gt;value&lt;\\\/code&gt; of the amount due.&lt;\\\/li&gt;&lt;\\\/ul&gt;&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;\\\/payments response&#039;\\&quot; :id=\\&quot;&#039;&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n    \\\\\\&quot;resultCode\\\\\\&quot;: \\\\\\&quot;PresentToShopper\\\\\\&quot;,\\\\n    \\\\\\&quot;action\\\\\\&quot;: {\\\\n        \\\\\\&quot;paymentMethodType\\\\\\&quot;: \\\\\\&quot;\\\\\\&quot;,\\\\n        \\\\\\&quot;expiresAt\\\\\\&quot;: \\\\\\&quot;2020-02-10T16:21:00\\\\\\&quot;,\\\\n        \\\\\\&quot;initialAmount\\\\\\&quot;: {\\\\n            \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;\\\\\\&quot;,\\\\n            \\\\\\&quot;value\\\\\\&quot;: 1000\\\\n        },\\\\n        \\\\\\&quot;instructionsUrl\\\\\\&quot;: \\\\\\&quot;https:\\\\\\\/\\\\\\\/www.econtext.jp\\\\\\\/support\\\\\\\/cvs\\\\\\\/8brand.html\\\\\\&quot;,\\\\n        \\\\\\&quot;maskedTelephoneNumber\\\\\\&quot;: \\\\\\&quot;12******90\\\\\\&quot;,\\\\n        \\\\\\&quot;merchantName\\\\\\&quot;: \\\\\\&quot;YOUR_MERCHANT_ACCOUNT_NAME\\\\\\&quot;,\\\\n        \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;854573\\\\\\&quot;,\\\\n        \\\\\\&quot;totalAmount\\\\\\&quot;: {\\\\n            \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;\\\\\\&quot;,\\\\n            \\\\\\&quot;value\\\\\\&quot;: 10000\\\\n        },\\\\n        \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;voucher\\\\\\&quot;\\\\n    }\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&lt;h2 id=\\&quot;additional\\&quot;&gt;Present the voucher for other convenience stores&lt;\\\/h2&gt;\\n&lt;p&gt;Use the information in the &lt;code&gt;action&lt;\\\/code&gt; object in the  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;\\\/payments&lt;\\\/a&gt; response to present the voucher to the shopper.&lt;\\\/p&gt;\\n&lt;ul&gt;\\n&lt;li&gt;&lt;code&gt;action.expiresAt&lt;\\\/code&gt;: The date and time when the voucher expires.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;action.reference&lt;\\\/code&gt;:  The 6-digit reference code reference number for the payment.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;action.totalAmount&lt;\\\/code&gt;:  The &lt;code&gt;currency&lt;\\\/code&gt; and &lt;code&gt;value&lt;\\\/code&gt; of the amount due.&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;p&gt;The shopper can then print the voucher and pay in cash at convenience stores. When the shopper completes the payment at a convenience store, you&#039;ll get to know the outcome of the payment through &lt;a href=\\&quot;#present\\&quot;&gt;webhooks&lt;\\\/a&gt;.&lt;\\\/p&gt;\\n&quot;,&quot;altTitle&quot;:null,&quot;oldTabId&quot;:&quot;other_convenience_stores_1_2&quot;,&quot;relation&quot;:&quot;&quot;},{&quot;title&quot;:&quot;Pay-easy ATM&quot;,&quot;content&quot;:&quot;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Pay-easy ATM payment request&#039;\\&quot; :id=\\&quot;&#039;&#039;\\&quot; :code-data=\\&quot;[{&amp;quot;language&amp;quot;:&amp;quot;json&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;curl https:\\\\\\\/\\\\\\\/checkout-test.adyen.com\\\\\\\/v72\\\\\\\/payments \\\\\\\\\\\\n-H &#039;x-api-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-d &#039;{\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;:\\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;:\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;:\\\\&amp;quot;JPY\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;:1000\\\\n  },\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;type\\\\&amp;quot;:\\\\&amp;quot;econtext_atm\\\\&amp;quot;,\\\\n    \\\\&amp;quot;firstName\\\\&amp;quot;: \\\\&amp;quot;Simon\\\\&amp;quot;,\\\\n    \\\\&amp;quot;lastName\\\\&amp;quot;: \\\\&amp;quot;Hopper\\\\&amp;quot;,\\\\n    \\\\&amp;quot;shopperEmail\\\\&amp;quot;: \\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;,\\\\n    \\\\&amp;quot;telephoneNumber\\\\&amp;quot;: \\\\&amp;quot;1234567890\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;shopperLocale\\\\&amp;quot;: \\\\&amp;quot;ja-JP\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;:\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;\\\\n}&#039;&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&lt;h2&gt;Present the voucher for Pay-easy&lt;\\\/h2&gt;\\n&lt;p&gt;Use the information in the &lt;code&gt;action&lt;\\\/code&gt; object in the  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;\\\/payments&lt;\\\/a&gt; response to present the voucher to the shopper:&lt;\\\/p&gt;\\n&lt;table&gt;\\n&lt;thead&gt;\\n&lt;tr&gt;\\n&lt;th&gt;Parameter&lt;\\\/th&gt;\\n&lt;th&gt;Description&lt;\\\/th&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/thead&gt;\\n&lt;tbody&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;expiresAt&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The date and time when the voucher expires. This value always shows the time of end of the day in Japan Standard Time (GMT+9)&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;collectionInstitutionNumber&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The 6-digit reference code reference number indicate the financial institution number of the payment. (\\u53ce\\u7d0d\\u671f\\u9593\\u756a\\u53f7)&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;reference&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The 20-digit reference code reference number for the shopper. (\\u304a\\u5ba2\\u69d8\\u756a\\u53f7)&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;alternativeReference&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The 6-digit reference code reference number for the payment. (\\u78ba\\u8a8d\\u756a\\u53f7)&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;tr&gt;\\n&lt;td&gt;&lt;code&gt;totalAmount&lt;\\\/code&gt;&lt;\\\/td&gt;\\n&lt;td&gt;The currency and value of the amount due.&lt;\\\/td&gt;\\n&lt;\\\/tr&gt;\\n&lt;\\\/tbody&gt;\\n&lt;\\\/table&gt;\\n&lt;p&gt;The shopper can then print the voucher and pay in cash at convenience stores. When the shopper completes the payment at a convenience store, you&#039;ll get to know the outcome of the payment through &lt;a href=\\&quot;#present\\&quot;&gt;webhooks&lt;\\\/a&gt;.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Pay-easy ATM payment response&#039;\\&quot; :id=\\&quot;&#039;&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n   \\\\\\&quot;resultCode\\\\\\&quot;: \\\\\\&quot;PresentToShopper\\\\\\&quot;,\\\\n   \\\\\\&quot;action\\\\\\&quot;: {\\\\n       \\\\\\&quot;paymentMethodType\\\\\\&quot;: \\\\\\&quot;econtext_atm\\\\\\&quot;,\\\\n       \\\\\\&quot;collectionInstitutionNumber\\\\\\&quot;: \\\\\\&quot;58091\\\\\\&quot;,\\\\n       \\\\\\&quot;expiresAt\\\\\\&quot;: \\\\\\&quot;2025-11-26T23:59:00\\\\\\&quot;,\\\\n       \\\\\\&quot;initialAmount\\\\\\&quot;: {\\\\n           \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;JPY\\\\\\&quot;,\\\\n           \\\\\\&quot;value\\\\\\&quot;: 1292\\\\n       },\\\\n       \\\\\\&quot;instructionsUrl\\\\\\&quot;: \\\\\\&quot;https:\\\\\\\/\\\\\\\/pay.econ.ne.jp\\\\\\\/index?odrno=8a867a***7706\\\\\\&quot;,\\\\n       \\\\\\&quot;merchantName\\\\\\&quot;: \\\\\\&quot;YOUR_MERCHANT_ACCOUNT\\\\\\&quot;,\\\\n       \\\\\\&quot;passCreationToken\\\\\\&quot;: \\\\\\&quot;Ab02b4c0!BQA***Nz4=\\\\\\&quot;,\\\\n       \\\\\\&quot;reference\\\\\\&quot;: \\\\\\&quot;00971999997932822848\\\\\\&quot;,\\\\n       \\\\\\&quot;alternativeReference\\\\\\&quot;: \\\\\\&quot;999196\\\\\\&quot;,\\\\n       \\\\\\&quot;totalAmount\\\\\\&quot;: {\\\\n           \\\\\\&quot;currency\\\\\\&quot;: \\\\\\&quot;JPY\\\\\\&quot;,\\\\n           \\\\\\&quot;value\\\\\\&quot;: 1000\\\\n       },\\\\n       \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;voucher\\\\\\&quot;\\\\n   }\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&quot;,&quot;altTitle&quot;:null,&quot;oldTabId&quot;:&quot;pay-easy_atm_2_3&quot;,&quot;relation&quot;:&quot;&quot;},{&quot;title&quot;:&quot;Pay-easy Online&quot;,&quot;content&quot;:&quot;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Pay-easy Online payment request&#039;\\&quot; :id=\\&quot;&#039;&#039;\\&quot; :code-data=\\&quot;[{&amp;quot;language&amp;quot;:&amp;quot;json&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;curl https:\\\\\\\/\\\\\\\/checkout-test.adyen.com\\\\\\\/v72\\\\\\\/payments \\\\\\\\\\\\n-H &#039;x-api-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-d &#039;{\\\\n  \\\\&amp;quot;merchantAccount\\\\&amp;quot;:\\\\&amp;quot;ADYEN_MERCHANT_ACCOUNT\\\\&amp;quot;,\\\\n  \\\\&amp;quot;reference\\\\&amp;quot;:\\\\&amp;quot;YOUR_ORDER_NUMBER\\\\&amp;quot;,\\\\n  \\\\&amp;quot;amount\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;currency\\\\&amp;quot;:\\\\&amp;quot;JPY\\\\&amp;quot;,\\\\n    \\\\&amp;quot;value\\\\&amp;quot;:1000\\\\n  },\\\\n  \\\\&amp;quot;paymentMethod\\\\&amp;quot;:{\\\\n    \\\\&amp;quot;type\\\\&amp;quot;:\\\\&amp;quot;econtext_online\\\\&amp;quot;,\\\\n    \\\\&amp;quot;firstName\\\\&amp;quot;: \\\\&amp;quot;Simon\\\\&amp;quot;,\\\\n    \\\\&amp;quot;lastName\\\\&amp;quot;: \\\\&amp;quot;Hopper\\\\&amp;quot;,\\\\n    \\\\&amp;quot;shopperEmail\\\\&amp;quot;: \\\\&amp;quot;s.hopper@email.com\\\\&amp;quot;,\\\\n    \\\\&amp;quot;telephoneNumber\\\\&amp;quot;: \\\\&amp;quot;1234567890\\\\&amp;quot;\\\\n  },\\\\n  \\\\&amp;quot;shopperLocale\\\\&amp;quot;: \\\\&amp;quot;ja-JP\\\\&amp;quot;,\\\\n  \\\\&amp;quot;returnUrl\\\\&amp;quot;:\\\\&amp;quot;https:\\\\\\\/\\\\\\\/your-company.example.com\\\\\\\/checkout?shopperOrder=12xy..\\\\&amp;quot;\\\\n}&#039;&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&lt;p&gt;The response contains an action object with the information needed to redirect the shopper.&lt;\\\/p&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n    &lt;code-sample :title=\\&quot;&#039;Pay-easy Online payment response&#039;\\&quot; :id=\\&quot;&#039;&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n    \\\\\\&quot;resultCode\\\\\\&quot;: \\\\\\&quot;RedirectShopper\\\\\\&quot;,\\\\n    \\\\\\&quot;action\\\\\\&quot;: {\\\\n        \\\\\\&quot;paymentMethodType\\\\\\&quot;: \\\\\\&quot;econtext_online\\\\\\&quot;,\\\\n        \\\\\\&quot;url\\\\\\&quot;: \\\\\\&quot;https:\\\\\\\/\\\\\\\/checkoutshopper-live.adyen.com\\\\\\\/checkoutshopper\\\\\\\/checkoutPaymentRedirect?redirectData=X3XtfG****%3D\\\\\\&quot;,\\\\n        \\\\\\&quot;method\\\\\\&quot;: \\\\\\&quot;GET\\\\\\&quot;,\\\\n        \\\\\\&quot;type\\\\\\&quot;: \\\\\\&quot;redirect\\\\\\&quot;\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&lt;h2&gt;Handle the redirect to Pay-easy&lt;\\\/h2&gt;\\n&lt;ol&gt;\\n&lt;li&gt;\\n&lt;p&gt;To complete the payment, redirect the shopper to the &lt;code&gt;action.url&lt;\\\/code&gt; returned in the  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;\\\/payments&lt;\\\/a&gt; response, taking into account the following recommendations:&lt;\\\/p&gt;\\n&lt;ul&gt;\\n&lt;li&gt;\\n&lt;p&gt;&lt;strong&gt;When using the HTTP GET method:&lt;\\\/strong&gt;&lt;br \\\/&gt;\\nFor security reasons, when showing the redirect in the app, we recommend that you use &lt;a href=\\&quot;https:\\\/\\\/developer.apple.com\\\/documentation\\\/safariservices\\\/sfsafariviewcontroller\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;SFSafariViewController&lt;\\\/a&gt; for iOS or &lt;a href=\\&quot;https:\\\/\\\/developer.chrome.com\\\/multidevice\\\/android\\\/customtabs\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;Chrome Custom Tabs&lt;\\\/a&gt; for Android, instead of WebView objects. Also refer to the &lt;a href=\\&quot;https:\\\/\\\/developer.android.com\\\/topic\\\/security\\\/best-practices#webview\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot; class=\\&quot;external-link no-image\\&quot;&gt;security best practices&lt;\\\/a&gt; for WebView.&lt;\\\/p&gt;\\n&lt;\\\/li&gt;\\n&lt;li&gt;\\n&lt;p&gt;&lt;strong&gt;Redirection for mobile integrations:&lt;\\\/strong&gt;&lt;br \\\/&gt;\\nFor mobile integrations, we strongly recommended that you redirect the shopper to the default browser of their device. Redirecting to the default browser ensures the best compatibility, handling of multi-factor authentication, app-to-app redirection, and error handling.&lt;\\\/p&gt;\\n&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;\\\/li&gt;\\n&lt;li&gt;\\n&lt;p&gt;After the shopper is redirected back to your website, check the payment result by making a POST  &lt;a href=\\&quot;https:\\\/\\\/docs.adyen.com\\\/api-explorer\\\/Checkout\\\/latest\\\/post\\\/payments\\\/details\\&quot; class=\\&quot;codeLabel  external-link no-image\\&quot; target=\\&quot;_blank\\&quot; rel=\\&quot;nofollow noopener noreferrer\\&quot;&gt;\\\/payments\\\/details&lt;\\\/a&gt; request, specifying:&lt;\\\/p&gt;\\n&lt;ul&gt;\\n&lt;li&gt;&lt;code&gt;details&lt;\\\/code&gt;: object that contains the URL-decoded &lt;code&gt;redirectResult&lt;\\\/code&gt; returned when the shopper was redirected back to your site.&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n&lt;code-sample :title=\\&quot;&#039;\\\/payments\\\/details request&#039;\\&quot; :id=\\&quot;&#039;&#039;\\&quot; :code-data=\\&quot;[{&amp;quot;language&amp;quot;:&amp;quot;bash&amp;quot;,&amp;quot;tabTitle&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;content&amp;quot;:&amp;quot;curl https:\\\\\\\/\\\\\\\/checkout-test.adyen.com\\\\\\\/v72\\\\\\\/payments\\\\\\\/details \\\\\\\\\\\\n-H &#039;x-api-key: ADYEN_API_KEY&#039; \\\\\\\\\\\\n-H &#039;content-type: application\\\\\\\/json&#039; \\\\\\\\\\\\n-d &#039;{\\\\n   \\\\&amp;quot;details\\\\&amp;quot;: {\\\\n      \\\\&amp;quot;redirectResult\\\\&amp;quot;: \\\\&amp;quot;eyJ0cmFuc1N0YXR1cyI6IlkifQ==\\\\&amp;quot;\\\\n   }\\\\n}&#039;&amp;quot;}]\\&quot; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&lt;\\\/li&gt;\\n&lt;li&gt;\\n&lt;p&gt;In the response note the following:&lt;\\\/p&gt;\\n&lt;ul&gt;\\n&lt;li&gt;&lt;code&gt;resultCode&lt;\\\/code&gt;: use this to present the result to your shopper.&lt;\\\/li&gt;\\n&lt;li&gt;&lt;code&gt;pspReference&lt;\\\/code&gt;: our unique identifier for the transaction.&lt;\\\/li&gt;\\n&lt;\\\/ul&gt;\\n&lt;div data-component-wrapper=\\&quot;code-sample\\&quot;&gt;\\n&lt;code-sample :title=\\&quot;&#039;\\\/payments\\\/details response&#039;\\&quot; :id=\\&quot;&#039;&#039;\\&quot; :code-data=&#039;[{\\&quot;language\\&quot;:\\&quot;json\\&quot;,\\&quot;tabTitle\\&quot;:\\&quot;\\&quot;,\\&quot;content\\&quot;:\\&quot;{\\\\n   \\\\\\&quot;resultCode\\\\\\&quot;: \\\\\\&quot;Authorised\\\\\\&quot;,\\\\n   \\\\\\&quot;pspReference\\\\\\&quot;: \\\\\\&quot;V4HZ4RBFJGXXGN82\\\\\\&quot;\\\\n}\\&quot;}]&#039; :enable-copy-link-to-code-block=\\&quot;true\\&quot; :code-sample-card-size=\\&quot;&#039;fullsize&#039;\\&quot;&gt;&lt;\\\/code-sample&gt;\\n&lt;\\\/div&gt;\\n&lt;\\\/li&gt;\\n&lt;\\\/ol&gt;\\n&quot;,&quot;altTitle&quot;:null,&quot;oldTabId&quot;:&quot;pay-easy_online_3_4&quot;,&quot;relation&quot;:&quot;&quot;}]\"\n            :should-update-when-url-changes='false'>\n        <\/tabs>\n    <\/div>\n<\/div>\n\n<h2 id=\"present\">Present the payment result<\/h2>\n<p>Use the <code>resultCode<\/code> that you received in the   <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/post\/payments\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/payments<\/a> response to inform your shopper of the payment status.<\/p>\n<p> <\/p>\n<p>The <code>resultCode<\/code> values you can receive for payments made through Japanese convenience stores are:<\/p>\n<p> <\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">resultCode<\/th>\n<th style=\"text-align: left;\">Action to take<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>RedirectShopper<\/strong><\/td>\n<td style=\"text-align: left;\">After the shopper is redirected to 7-Eleven's page, reach out to the shopper and inform them that you are waiting for the payment to be completed. <br><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>PresentToShopper<\/strong><\/td>\n<td style=\"text-align: left;\">After the voucher is presented to the shopper, inform the shopper that you are waiting for the payment to be completed. <br><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a id=\"webhooks\"><\/a> Wait for webhooks to know the outcome of the payment. The webhooks you can receive for Japanese convenience stores are:<\/p>\n<table>\n<thead>\n<tr>\n<th>eventCode<\/th>\n<th>success field<\/th>\n<th>Description<\/th>\n<th>Action to take<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>PENDING<\/strong><\/td>\n<td><strong>true<\/strong><\/td>\n<td>The voucher reference is successfully created and the payment is pending.<\/td>\n<td>Inform the shopper that you are waiting for the payment to be completed.<\/td>\n<\/tr>\n<tr>\n<td><strong>AUTHORISATION<\/strong><\/td>\n<td><strong>false<\/strong><\/td>\n<td>The transaction failed.<\/td>\n<td>Cancel the order and inform the shopper that the payment failed.<\/td>\n<\/tr>\n<tr>\n<td><strong>AUTHORISATION<\/strong><\/td>\n<td><strong>true<\/strong><\/td>\n<td>The shopper successfully completed the payment.<\/td>\n<td>Inform the shopper that the payment has been successful and proceed with the order.<\/td>\n<\/tr>\n<tr>\n<td><strong>OFFER_CLOSED<\/strong><\/td>\n<td><strong>true<\/strong><\/td>\n<td>The shopper did not complete the payment before the offer expired.<\/td>\n<td>Cancel the order and inform the shopper that the payment timed out.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"test-and-go-live\">Test and go live<\/h2>\n<div class=\"notices yellow\">\n<p>7-Eleven voucher payments can only be tested in the live environment. Contact our <a href=\"https:\/\/ca-test.adyen.com\/ca\/ca\/contactUs\/support.shtml?form=other\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Support Team<\/a> to set up 7-Eleven on the live environment for penny testing.<\/p>\n<\/div>\n<p>To test your integration, use the econtext simulator to complete voucher payments in Japanese convenience stores:<\/p>\n<ol>\n<li>Log in to the <a href=\"https:\/\/form.int.econ.ne.jp\/paynotice\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">econtext Simulator<\/a> using the following credentials:\n<ul>\n<li>Username: <code>ectest<\/code><\/li>\n<li>Password: <code>#Gwecn25<\/code><\/li>\n<\/ul><\/li>\n<li>In the first box, provide <strong>742001<\/strong> as the shopID.<\/li>\n<li>In the second box, provide the acquirer reference following the format below:\n<ul>\n<li><strong>&lt;pspReference>-262320-econtext_stores<\/strong><br \/>\nFor example, <strong>DZ4DPSHB4WD2WN82-262320-econtext_stores<\/strong><br \/>\nGet the <code>pspReference<\/code> from the webhook message with <code>eventType<\/code>: <strong>AUTHORISATION<\/strong>.<\/li>\n<\/ul><\/li>\n<li>In the third box you select what you want to test.\n<ul>\n<li>Leave as default for Convenience Stores.<\/li>\n<li>Select <strong>\u30bb\u30d6\u30f3\u30a4\u30ec\u30d6\u30f3<\/strong> for 7-Eleven.<\/li>\n<li>Select <strong>Pay-easy(Bank Name)<\/strong> for Pay-easy ATM and Pay-easy Online Banking.<\/li>\n<\/ul><\/li>\n<li>Leave the fourth box (\u5165\u91d1\u65e5\u6642, the time of payment) empty.<\/li>\n<li>Click <strong>\u9001\u4fe1<\/strong> (Submit).<\/li>\n<li>Wait for 15 minutes for the webhook.<\/li>\n<\/ol>\n<p>Check the status of voucher payments in the test environment in your <a href=\"https:\/\/ca-test.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Customer Area<\/a>:<\/p>\n<ul>\n<li>Vouchers that are pending or that have expired are under <strong>Transactions<\/strong> &gt; <strong>Offers<\/strong>.<\/li>\n<li>Vouchers that have been paid are under <strong>Transactions<\/strong> &gt; <strong>Payments<\/strong>.<\/li>\n<\/ul>\n<p>Before you can accept payments through Japanese convenience stores in live environment, you need to <a href=\"\/pt\/payment-methods\/add-payment-methods\">submit a request to add 7-Eleven or other Japanese convenience stores<\/a> in your <a href=\"https:\/\/ca-live.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">live Customer Area<\/a>.<\/p>\n<h2 id=\"see-also\">See also<\/h2>\n<div class=\"see-also-links output-inline\" id=\"see-also\">\n<ul><li><a href=\"\/online-payments\/api-only\"\n                        target=\"_self\"\n                        >\n                    API-only integration guide\n                <\/a><\/li><li><a href=\"\/development-resources\/webhooks\"\n                        target=\"_self\"\n                        >\n                    Webhooks\n                <\/a><\/li><li><a href=\"https:\/\/docs.adyen.com\/api-explorer\/#\/CheckoutService\/latest\/overview\"\n                        target=\"_blank\"\n                         class=\"external\">\n                    API Explorer\n                <\/a><\/li><\/ul><\/div>\n","url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/econtext-konbini\/api-only","articleFields":{"description":"Add payments through Japanese convenience stores to an existing API-only integration.","parameters":{"payment_method":"Japanese convenience stores","payment_method_711":"7-Eleven","country_code":"JP","currency_code":"JPY","payment_method_type":"econtext_stores","payment_method_type_711":"econtext_seven_eleven","return_url":"https:\/\/your-company.example.com\/checkout?shopperOrder=12xy..","locale":"ja-JP","integration":"API-only","platform":"Web"},"last_edit_on":"12-06-2020 10:21"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/payment-methods\/econtext-konbini\/api-only","title":"Japanese convenience stores for API only","content":"Accept payments from Japanese convenience stores using our APIs, and build your own payment form to have full control over the look and feel of your checkout page.\nTo accept payments from Japanese convenience stores, you need to collect the shopper's full name, phone number, and email. When the shopper proceeds to pay, handle the transaction depending on which convenience store they selected:\n\n7-Eleven: Redirect your shopper to a 7-Eleven page where they see the voucher.\nOther Japanese convenience stores: Present the voucher.\n\nThe shopper can then note the voucher reference or print the voucher, and pay in cash either at 7-Eleven or other convenience stores.\n\nIf you offer Pay-easy ATM with an API-only integration, you must update the following:\n\nDisplay the collectionInstitutionNumber, reference, and alternativeReference from the  \/payments response on the voucher.\nUse the  \/cancels endpoint for expiry management.\nFor more information, see our documentation for canceling payments.\n\nThe last day to implement these changes is 23 February 2026. On 24 February 2026 00:00AM JST, every shopper action with the old payment number will be rejected at the Pay-easy ATM.\n\nRequirements\n\n\n\nRequirement\nDescription\n\n\n\n\nIntegration type\nMake sure that you have built your API-only integration.\n\n\nSetup steps\nBefore you begin:Add eContext Convenience Stores in your Customer Area to support payments made through Lawson, Mini Stop, Family Mart, and Seicomart.Add eContext PayEasy ATM in your Customer Area to support ATM payments made through Pay-easy.Add eContext PayEasy Online Banking in your Customer Area to support online payments made through Pay-easy.Add eContext 7Eleven in your Customer Area to support payments made through 7-Eleven.\n\n\n\nBuild your payment form for 7-Eleven and other Japanese convenience stores\nTo include 7-Eleven and other Japanese convenience stores in your payment form, you need to:\n\n\nShow 7-Eleven and other Japanese convenience stores as an available payment method.\n\nWe provide a 7-Eleven and other Japanese convenience stores  logo which you can use on your payment form. For more information, refer to Downloading logos.\n\n\n\nAfter the shopper selects 7-Eleven or other Japanese convenience stores , collect the following details from the shopper:\n\n\n\nCategory\nDetails to collect\n\n\n\n\nShopper name\nThe shopper's first name and last name.\n\n\nEmail\nThe shopper's email. Vouchers are sent to their email (except for 7-Eleven vouchers).\n\n\nTelephone number\nThe shopper's telephone number.\n\n\n\n\n\nYou can also get the required shopper details from the  \/paymentMethods response, as explained in the API-only integration guide.\nWhen you make a POST  \/paymentMethods request, specify:\n\n countryCode&#58; JP\n amount.currency&#58; JPY\n amount.value&#58; The value of the payment, in minor units.\n\nThe required fields for 7-Eleven or other Japanese convenience stores are included in the object with the following type. You'll also use type to make a payment in the next step:\n\necontext_seven_eleven: For 7-Eleven Japan.\necontext_atm: For Pay-easy ATM payments.\necontext_online: For Pay-easy online payments.\necontext_stores: For other Japanese convenience stores.\n\nMake a payment\nFrom your server, make a POST  \/payments request, specifying the following:\n\n\n\nParameters\nRequired\nDescription\n\n\n\n\npaymentMethod\n\nObject that contains the type, and the shopper's firstName, lastName, telephoneNumber, and shopperEmail.\n\n\nshopperLocale\n\nLanguage and country code to be used in the payment. For example, ja-JP.\n\n\nreturnUrl\n\nThe URL where the shopper will be redirected back to after they see the voucher. This URL can have a maximum of 1024 characters.\n\n\n\nSelect a convenience store in the tabs below to see how to make a payment with a value of 1,000 JPY, and how to show the voucher to the shopper:\n\n\n    \n        \n        \n    \n\n\nPresent the payment result\nUse the resultCode that you received in the   \/payments response to inform your shopper of the payment status.\n \nThe resultCode values you can receive for payments made through Japanese convenience stores are:\n \n\n\n\nresultCode\nAction to take\n\n\n\n\nRedirectShopper\nAfter the shopper is redirected to 7-Eleven's page, reach out to the shopper and inform them that you are waiting for the payment to be completed. \n\n\nPresentToShopper\nAfter the voucher is presented to the shopper, inform the shopper that you are waiting for the payment to be completed. \n\n\n\n Wait for webhooks to know the outcome of the payment. The webhooks you can receive for Japanese convenience stores are:\n\n\n\neventCode\nsuccess field\nDescription\nAction to take\n\n\n\n\nPENDING\ntrue\nThe voucher reference is successfully created and the payment is pending.\nInform the shopper that you are waiting for the payment to be completed.\n\n\nAUTHORISATION\nfalse\nThe transaction failed.\nCancel the order and inform the shopper that the payment failed.\n\n\nAUTHORISATION\ntrue\nThe shopper successfully completed the payment.\nInform the shopper that the payment has been successful and proceed with the order.\n\n\nOFFER_CLOSED\ntrue\nThe shopper did not complete the payment before the offer expired.\nCancel the order and inform the shopper that the payment timed out.\n\n\n\nTest and go live\n\n7-Eleven voucher payments can only be tested in the live environment. Contact our Support Team to set up 7-Eleven on the live environment for penny testing.\n\nTo test your integration, use the econtext simulator to complete voucher payments in Japanese convenience stores:\n\nLog in to the econtext Simulator using the following credentials:\n\nUsername: ectest\nPassword: #Gwecn25\n\nIn the first box, provide 742001 as the shopID.\nIn the second box, provide the acquirer reference following the format below:\n\n&lt;pspReference>-262320-econtext_stores\nFor example, DZ4DPSHB4WD2WN82-262320-econtext_stores\nGet the pspReference from the webhook message with eventType: AUTHORISATION.\n\nIn the third box you select what you want to test.\n\nLeave as default for Convenience Stores.\nSelect \u30bb\u30d6\u30f3\u30a4\u30ec\u30d6\u30f3 for 7-Eleven.\nSelect Pay-easy(Bank Name) for Pay-easy ATM and Pay-easy Online Banking.\n\nLeave the fourth box (\u5165\u91d1\u65e5\u6642, the time of payment) empty.\nClick \u9001\u4fe1 (Submit).\nWait for 15 minutes for the webhook.\n\nCheck the status of voucher payments in the test environment in your Customer Area:\n\nVouchers that are pending or that have expired are under Transactions &gt; Offers.\nVouchers that have been paid are under Transactions &gt; Payments.\n\nBefore you can accept payments through Japanese convenience stores in live environment, you need to submit a request to add 7-Eleven or other Japanese convenience stores in your live Customer Area.\nSee also\n\n\n                    API-only integration guide\n                \n                    Webhooks\n                \n                    API Explorer\n                \n","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Payment methods","lvl2":"Japanese convenience stores","lvl3":"Japanese convenience stores for API only"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/payment-methods","lvl2":"https:\/\/docs.adyen.com\/pt\/payment-methods\/econtext-konbini","lvl3":"\/pt\/payment-methods\/econtext-konbini\/api-only"},"levels":4,"category":"Payment method","category_color":"green","tags":["Japanese","convenience","stores"]},"articleFiles":{"web-payments-711.js":"<p alt=\"\">web-payments-711.js<\/p>","web-payments.js":"<p alt=\"\">web-payments.js<\/p>"}}
