{"title":"Payouts in stages","category":"default","creationDate":1617373260,"content":"<div class=\"notices red\">\n<p>We are no longer accepting new integrations with the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Payout\/latest\/overview\" class=\" external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Payout API<\/a>; use the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/transfers\/latest\/overview\" class=\" external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Transfers API<\/a> instead. With the Transfers API, you can: <ul><li markdown=\"1\">Handle multiple payout use cases with a single API.<\/li><li markdown=\"1\">Use new payout functionalities, such as instant payouts.<\/li><li markdown=\"1\">Receive webhooks with more details and defined transfer states.<\/li><\/ul> If you are:  <br><ul><li markdown=\"1\">Building a new integration, refer to <a href=\"\/pt\/payouts\/payout-service\/pay-out-to-bank-accounts\/\">Pay out to bank accounts<\/a> to integrate with the Transfers API.<\/li><li markdown=\"1\">Already integrated with the Payout API, reach out to your Adyen contact for information on how to migrate to the Transfers API.<\/li><\/ul><\/p>\n<\/div>\n<p>Payouts in stages require a four-eye policy check: each payout has to be confirmed and checked by a user different from the one that submitted the payout. When you have enabled these payouts, you will have two API credentials:<\/p>\n<ul>\n<li>\n<p><strong>storePayout@Company.[Company Account Code]<\/strong>\u00a0\u2013\u00a0This user can store payout details, and submit payouts.<\/p>\n<\/li>\n<li>\n<p><strong>reviewPayout@Company.[Company Account Code]<\/strong>\u00a0\u2013\u00a0This user can confirm or decline payouts.<\/p>\n<\/li>\n<\/ul>\n<p>The examples on this page show payouts to a bank account. See <a href=\"\/pt\/online-payments\/online-payouts\/payouts-to-bank-accounts-and-wallets\">payouts in stages<\/a> for more examples of payouts in stages to bank accounts and wallets.<\/p>\n<div class=\"sc-notice note\"><div>\n<p>Using payouts in stages requires compliance approval and additional configuration on our end. To enable this functionality, contact your account manager or our\u00a0<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>.<\/p>\n<\/div><\/div>\n<h2 id=\"payout-bank\">Overview<\/h2>\n<p>Before you can make a payout, you have to save the account details.<\/p>\n<p>You can choose to save the details and then submit the payout, or you can save the details and submit the details in one call. You can use the stored details when you make the next payout to the same account.<\/p>\n<p>The last step is to confirm or decline the payout.<\/p>\n<h3>Store details and then submit a payout<\/h3>\n<ol>\n<li>Make a <a href=\"#store-details\">\/storeDetail<\/a> call to save the payout details.<\/li>\n<li>Make a <a href=\"#submit-payout\">\/submitThirdParty<\/a> call to submit the payout.<\/li>\n<li><a href=\"#confirm-decline\">Confirm or decline<\/a> the payout.<\/li>\n<\/ol>\n<h3>Store details and immediately submit a payout<\/h3>\n<ol>\n<li>Make a <a href=\"#store-and-submit-payout\">\/storeDetailAndSubmitThirdParty<\/a> call to save the payout details and submit the payout.<\/li>\n<li><a href=\"#confirm-decline\">Confirm or decline<\/a> the payout.<\/li>\n<\/ol>\n<h2 id=\"store-details\">Store payout details<\/h2>\n<p>To submit a payout request, the details of the account receiving the funds need to be part of a <a href=\"\/pt\/online-payments\/classic-integrations\/classic-api-integration\/tokenization\">recurring contract<\/a>. The recurring contract is used for\u00a0subsequent payouts to this account.<\/p>\n<p>You can create a recurring contract\u00a0with the  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Payout\/latest\/post\/storeDetail\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/storeDetail<\/a> call.<\/p>\n<p>The following example shows how you can store bank account details.<\/p>\n<div class=\"sc-notice note\"><div>\n<p>You can also <a href=\"#store-and-submit-payout\">store the details when you submit<\/a> the first payout.<\/p>\n<\/div><\/div>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Store payout details'\" :id=\"'storedetail'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/pal-test.adyen.com\\\/pal\\\/servlet\\\/Payout\\\/v68\\\/storeDetail \\\\\\n-u \\&quot;storePayout@Company.[YourCompany]\\&quot;:\\&quot;YourBasicAuthenticationPassword\\&quot; \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-d '{\\n      \\&quot;merchantAccount\\&quot; : \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n      \\&quot;recurring\\&quot; : {\\n          \\&quot;contract\\&quot; : \\&quot;PAYOUT\\&quot;\\n      },\\n      \\&quot;bank\\&quot;: {\\n        \\&quot;bankName\\&quot;: \\&quot;AbnAmro\\&quot;,\\n        \\&quot;bic\\&quot;: \\&quot;ABNANL2A\\&quot;,\\n        \\&quot;countryCode\\&quot;: \\&quot;NL\\&quot;,\\n        \\&quot;iban\\&quot;: \\&quot;NL46TEST0136169112\\&quot;,\\n        \\&quot;ownerName\\&quot;: \\&quot;J. Klaassen\\&quot;,\\n        \\&quot;bankCity\\&quot;: \\&quot;Amsterdam\\&quot;,\\n        \\&quot;taxId\\&quot;:\\&quot;bankTaxId\\&quot;\\n      },\\n      \\&quot;shopperReference\\&quot; : \\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;,\\n      \\&quot;shopperEmail\\&quot; : \\&quot;shopper@example.com\\&quot;,\\n      \\&quot;shopperName\\&quot; : {\\n          \\&quot;firstName\\&quot; : \\&quot;John\\&quot;,\\n          \\&quot;gender\\&quot; : \\&quot;MALE\\&quot;,\\n          \\&quot;lastName\\&quot; : \\&quot;Klaassen\\&quot;\\n      },\\n      \\&quot;dateOfBirth\\&quot; : \\&quot;1990-01-01\\&quot;,\\n      \\&quot;entityType\\&quot; : \\&quot;Company\\&quot;,\\n      \\&quot;nationality\\&quot; : \\&quot;NL\\&quot;,\\n      \\&quot;billingAddress\\&quot;: {\\n          \\&quot;houseNumberOrName\\&quot;:\\&quot;6-50\\&quot;,\\n          \\&quot;street\\&quot;:\\&quot;Simon Carmiggeltstraat\\&quot;,\\n          \\&quot;city\\&quot;:\\&quot;Amsterdam\\&quot;,\\n          \\&quot;country\\&quot; : \\&quot;NL\\&quot;,\\n          \\&quot;postalCode\\&quot;:\\&quot;1011 DJ\\&quot;\\n      }\\n  }\\n}'&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v25.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.payout.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.payout.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\n\\\/\\\/ Create the request object(s)\\nBankAccount bankAccount = new BankAccount()\\n  .ownerName(\\&quot;J. Klaassen\\&quot;)\\n  .countryCode(\\&quot;NL\\&quot;)\\n  .taxId(\\&quot;bankTaxId\\&quot;)\\n  .iban(\\&quot;NL46TEST0136169112\\&quot;)\\n  .bankName(\\&quot;AbnAmro\\&quot;)\\n  .bic(\\&quot;ABNANL2A\\&quot;)\\n  .bankCity(\\&quot;Amsterdam\\&quot;);\\n\\nName name = new Name()\\n  .firstName(\\&quot;John\\&quot;)\\n  .lastName(\\&quot;Klaassen\\&quot;);\\n\\nRecurring recurring = new Recurring()\\n  .contract(Recurring.ContractEnum.PAYOUT);\\n\\nAddress address = new Address()\\n  .country(\\&quot;NL\\&quot;)\\n  .city(\\&quot;Amsterdam\\&quot;)\\n  .houseNumberOrName(\\&quot;6-50\\&quot;)\\n  .street(\\&quot;Simon Carmiggeltstraat\\&quot;)\\n  .postalCode(\\&quot;1011 DJ\\&quot;);\\n\\nStoreDetailRequest storeDetailRequest = new StoreDetailRequest()\\n  .bank(bankAccount)\\n  .shopperName(name)\\n  .merchantAccount(\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;)\\n  .nationality(\\&quot;NL\\&quot;)\\n  .recurring(recurring)\\n  .entityType(StoreDetailRequest.EntityTypeEnum.COMPANY)\\n  .shopperEmail(\\&quot;shopper@example.com\\&quot;)\\n  .billingAddress(address)\\n  .shopperReference(\\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;);\\n\\n\\\/\\\/ Make the API call\\nInitializationApi service = new InitializationApi(client);\\nStoreDetailResponse response = service.storeDetail(storeDetailRequest, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen PHP API Library v17.4.0\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Model\\\\Payout\\\\BankAccount;\\nuse Adyen\\\\Model\\\\Payout\\\\Name;\\nuse Adyen\\\\Model\\\\Payout\\\\Recurring;\\nuse Adyen\\\\Model\\\\Payout\\\\Address;\\nuse Adyen\\\\Model\\\\Payout\\\\StoreDetailRequest;\\nuse Adyen\\\\Service\\\\Payout\\\\InitializationApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\n\\\/\\\/ Create the request object(s)\\n$bankAccount = new BankAccount();\\n$bankAccount\\n  -&gt;setOwnerName(\\&quot;J. Klaassen\\&quot;)\\n  -&gt;setCountryCode(\\&quot;NL\\&quot;)\\n  -&gt;setTaxId(\\&quot;bankTaxId\\&quot;)\\n  -&gt;setIban(\\&quot;NL46TEST0136169112\\&quot;)\\n  -&gt;setBankName(\\&quot;AbnAmro\\&quot;)\\n  -&gt;setBic(\\&quot;ABNANL2A\\&quot;)\\n  -&gt;setBankCity(\\&quot;Amsterdam\\&quot;);\\n\\n$name = new Name();\\n$name\\n  -&gt;setFirstName(\\&quot;John\\&quot;)\\n  -&gt;setLastName(\\&quot;Klaassen\\&quot;);\\n\\n$recurring = new Recurring();\\n$recurring\\n  -&gt;setContract(\\&quot;PAYOUT\\&quot;);\\n\\n$address = new Address();\\n$address\\n  -&gt;setCountry(\\&quot;NL\\&quot;)\\n  -&gt;setCity(\\&quot;Amsterdam\\&quot;)\\n  -&gt;setHouseNumberOrName(\\&quot;6-50\\&quot;)\\n  -&gt;setStreet(\\&quot;Simon Carmiggeltstraat\\&quot;)\\n  -&gt;setPostalCode(\\&quot;1011 DJ\\&quot;);\\n\\n$storeDetailRequest = new StoreDetailRequest();\\n$storeDetailRequest\\n  -&gt;setBank($bankAccount)\\n  -&gt;setShopperName($name)\\n  -&gt;setMerchantAccount(\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;)\\n  -&gt;setNationality(\\&quot;NL\\&quot;)\\n  -&gt;setRecurring($recurring)\\n  -&gt;setEntityType(\\&quot;Company\\&quot;)\\n  -&gt;setShopperEmail(\\&quot;shopper@example.com\\&quot;)\\n  -&gt;setBillingAddress($address)\\n  -&gt;setShopperReference(\\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;);\\n\\n\\\/\\\/ Make the API call\\n$service = new InitializationApi($client);\\n$response = $service-&gt;storeDetail($storeDetailRequest);&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v14.4.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Payout;\\nusing Adyen.Service.Payout;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Create the request object(s)\\nBankAccount bankAccount = new BankAccount\\n{\\n  OwnerName = \\&quot;J. Klaassen\\&quot;,\\n  CountryCode = \\&quot;NL\\&quot;,\\n  TaxId = \\&quot;bankTaxId\\&quot;,\\n  Iban = \\&quot;NL46TEST0136169112\\&quot;,\\n  BankName = \\&quot;AbnAmro\\&quot;,\\n  Bic = \\&quot;ABNANL2A\\&quot;,\\n  BankCity = \\&quot;Amsterdam\\&quot;\\n};\\n\\nName name = new Name\\n{\\n  FirstName = \\&quot;John\\&quot;,\\n  LastName = \\&quot;Klaassen\\&quot;\\n};\\n\\nRecurring recurring = new Recurring\\n{\\n  Contract = Recurring.ContractEnum.PAYOUT\\n};\\n\\nAddress address = new Address\\n{\\n  Country = \\&quot;NL\\&quot;,\\n  City = \\&quot;Amsterdam\\&quot;,\\n  HouseNumberOrName = \\&quot;6-50\\&quot;,\\n  Street = \\&quot;Simon Carmiggeltstraat\\&quot;,\\n  PostalCode = \\&quot;1011 DJ\\&quot;\\n};\\n\\nStoreDetailRequest storeDetailRequest = new StoreDetailRequest\\n{\\n  Bank = bankAccount,\\n  ShopperName = name,\\n  MerchantAccount = \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  Nationality = \\&quot;NL\\&quot;,\\n  Recurring = recurring,\\n  EntityType = StoreDetailRequest.EntityTypeEnum.Company,\\n  ShopperEmail = \\&quot;shopper@example.com\\&quot;,\\n  BillingAddress = address,\\n  ShopperReference = \\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;\\n};\\n\\n\\\/\\\/ Make the API call\\nvar service = new InitializationService(client);\\nvar response = service.StoreDetail(storeDetailRequest);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v16.2.0\\n\\\/\\\/ Require the parts of the module you want to use\\nconst { Client, PayoutAPI } = require('@adyen\\\/api-library');\\n\\\/\\\/ Initialize the client object\\nconst client = new Client({apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot;});\\n\\n\\\/\\\/ Create the request object(s)\\nconst storeDetailRequest = {\\n  merchantAccount: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  recurring: {\\n    contract: \\&quot;PAYOUT\\&quot;\\n  },\\n  bank: {\\n    bankName: \\&quot;AbnAmro\\&quot;,\\n    bic: \\&quot;ABNANL2A\\&quot;,\\n    countryCode: \\&quot;NL\\&quot;,\\n    iban: \\&quot;NL46TEST0136169112\\&quot;,\\n    ownerName: \\&quot;J. Klaassen\\&quot;,\\n    bankCity: \\&quot;Amsterdam\\&quot;,\\n    taxId: \\&quot;bankTaxId\\&quot;\\n  },\\n  shopperReference: \\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;,\\n  shopperEmail: \\&quot;shopper@example.com\\&quot;,\\n  shopperName: {\\n    firstName: \\&quot;John\\&quot;,\\n    gender: \\&quot;MALE\\&quot;,\\n    lastName: \\&quot;Klaassen\\&quot;\\n  },\\n  dateOfBirth: new Date(\\&quot;1990-01-01\\&quot;),\\n  entityType: \\&quot;Company\\&quot;,\\n  nationality: \\&quot;NL\\&quot;,\\n  billingAddress: {\\n    houseNumberOrName: \\&quot;6-50\\&quot;,\\n    street: \\&quot;Simon Carmiggeltstraat\\&quot;,\\n    city: \\&quot;Amsterdam\\&quot;,\\n    country: \\&quot;NL\\&quot;,\\n    postalCode: \\&quot;1011 DJ\\&quot;\\n  }\\n}\\n\\n\\\/\\\/ Make the API call\\nconst payoutAPI = new PayoutAPI(client);\\nconst response = payoutAPI.InitializationApi.storeDetail(storeDetailRequest);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v9.3.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/payout\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Create the request object(s)\\nbankAccount := payout.BankAccount{\\n  OwnerName: common.PtrString(\\&quot;J. Klaassen\\&quot;),\\n  CountryCode: common.PtrString(\\&quot;NL\\&quot;),\\n  TaxId: common.PtrString(\\&quot;bankTaxId\\&quot;),\\n  Iban: common.PtrString(\\&quot;NL46TEST0136169112\\&quot;),\\n  BankName: common.PtrString(\\&quot;AbnAmro\\&quot;),\\n  Bic: common.PtrString(\\&quot;ABNANL2A\\&quot;),\\n  BankCity: common.PtrString(\\&quot;Amsterdam\\&quot;),\\n}\\n\\nname := payout.Name{\\n  FirstName: \\&quot;John\\&quot;,\\n  LastName: \\&quot;Klaassen\\&quot;,\\n}\\n\\nrecurring := payout.Recurring{\\n  Contract: common.PtrString(\\&quot;PAYOUT\\&quot;),\\n}\\n\\naddress := payout.Address{\\n  Country: \\&quot;NL\\&quot;,\\n  City: \\&quot;Amsterdam\\&quot;,\\n  HouseNumberOrName: \\&quot;6-50\\&quot;,\\n  Street: \\&quot;Simon Carmiggeltstraat\\&quot;,\\n  PostalCode: \\&quot;1011 DJ\\&quot;,\\n}\\n\\nstoreDetailRequest := payout.StoreDetailRequest{\\n  Bank: &amp;bankAccount,\\n  ShopperName: &amp;name,\\n  MerchantAccount: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  Nationality: \\&quot;NL\\&quot;,\\n  Recurring: recurring,\\n  EntityType: \\&quot;Company\\&quot;,\\n  ShopperEmail: \\&quot;shopper@example.com\\&quot;,\\n  BillingAddress: &amp;address,\\n  ShopperReference: \\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;,\\n}\\n\\n\\\/\\\/ Make the API call\\nservice := client.Payout()\\nreq := service.InitializationApi.StoreDetailInput().StoreDetailRequest(storeDetailRequest)\\nres, httpRes, err := service.InitializationApi.StoreDetail(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v12.2.0\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Create the request object(s)\\njson_request = {\\n  \\&quot;merchantAccount\\&quot;: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  \\&quot;recurring\\&quot;: {\\n    \\&quot;contract\\&quot;: \\&quot;PAYOUT\\&quot;\\n  },\\n  \\&quot;bank\\&quot;: {\\n    \\&quot;bankName\\&quot;: \\&quot;AbnAmro\\&quot;,\\n    \\&quot;bic\\&quot;: \\&quot;ABNANL2A\\&quot;,\\n    \\&quot;countryCode\\&quot;: \\&quot;NL\\&quot;,\\n    \\&quot;iban\\&quot;: \\&quot;NL46TEST0136169112\\&quot;,\\n    \\&quot;ownerName\\&quot;: \\&quot;J. Klaassen\\&quot;,\\n    \\&quot;bankCity\\&quot;: \\&quot;Amsterdam\\&quot;,\\n    \\&quot;taxId\\&quot;: \\&quot;bankTaxId\\&quot;\\n  },\\n  \\&quot;shopperReference\\&quot;: \\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;,\\n  \\&quot;shopperEmail\\&quot;: \\&quot;shopper@example.com\\&quot;,\\n  \\&quot;shopperName\\&quot;: {\\n    \\&quot;firstName\\&quot;: \\&quot;John\\&quot;,\\n    \\&quot;gender\\&quot;: \\&quot;MALE\\&quot;,\\n    \\&quot;lastName\\&quot;: \\&quot;Klaassen\\&quot;\\n  },\\n  \\&quot;dateOfBirth\\&quot;: \\&quot;1990-01-01\\&quot;,\\n  \\&quot;entityType\\&quot;: \\&quot;Company\\&quot;,\\n  \\&quot;nationality\\&quot;: \\&quot;NL\\&quot;,\\n  \\&quot;billingAddress\\&quot;: {\\n    \\&quot;houseNumberOrName\\&quot;: \\&quot;6-50\\&quot;,\\n    \\&quot;street\\&quot;: \\&quot;Simon Carmiggeltstraat\\&quot;,\\n    \\&quot;city\\&quot;: \\&quot;Amsterdam\\&quot;,\\n    \\&quot;country\\&quot;: \\&quot;NL\\&quot;,\\n    \\&quot;postalCode\\&quot;: \\&quot;1011 DJ\\&quot;\\n  }\\n}\\n\\n# Make the API call\\nresult = adyen.payout.initialization_api.store_detail(request=json_request)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v9.3.0\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Create the request object(s)\\nrequest_body = {\\n  :merchantAccount =&gt; 'YOUR_MERCHANT_ACCOUNT',\\n  :recurring =&gt; {\\n    :contract =&gt; 'PAYOUT'\\n  },\\n  :bank =&gt; {\\n    :bankName =&gt; 'AbnAmro',\\n    :bic =&gt; 'ABNANL2A',\\n    :countryCode =&gt; 'NL',\\n    :iban =&gt; 'NL46TEST0136169112',\\n    :ownerName =&gt; 'J. Klaassen',\\n    :bankCity =&gt; 'Amsterdam',\\n    :taxId =&gt; 'bankTaxId'\\n  },\\n  :shopperReference =&gt; 'YOUR_UNIQUE_SHOPPER_ID',\\n  :shopperEmail =&gt; 'shopper@example.com',\\n  :shopperName =&gt; {\\n    :firstName =&gt; 'John',\\n    :gender =&gt; 'MALE',\\n    :lastName =&gt; 'Klaassen'\\n  },\\n  :dateOfBirth =&gt; '1990-01-01',\\n  :entityType =&gt; 'Company',\\n  :nationality =&gt; 'NL',\\n  :billingAddress =&gt; {\\n    :houseNumberOrName =&gt; '6-50',\\n    :street =&gt; 'Simon Carmiggeltstraat',\\n    :city =&gt; 'Amsterdam',\\n    :country =&gt; 'NL',\\n    :postalCode =&gt; '1011 DJ'\\n  }\\n}\\n\\n# Make the API call\\nresult = adyen.payout.initialization_api.store_detail(request_body)&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v16.2.0\\n\\\/\\\/ Require the parts of the module you want to use\\nimport { Client, PayoutAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\\/\\\/ Initialize the client object\\nconst client = new Client({apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot;});\\n\\n\\\/\\\/ Create the request object(s)\\nconst bankAccount: Types.payout.BankAccount = {\\n  ownerName: \\&quot;J. Klaassen\\&quot;,\\n  countryCode: \\&quot;NL\\&quot;,\\n  taxId: \\&quot;bankTaxId\\&quot;,\\n  iban: \\&quot;NL46TEST0136169112\\&quot;,\\n  bankName: \\&quot;AbnAmro\\&quot;,\\n  bic: \\&quot;ABNANL2A\\&quot;,\\n  bankCity: \\&quot;Amsterdam\\&quot;\\n};\\n\\nconst name: Types.payout.Name = {\\n  firstName: \\&quot;John\\&quot;,\\n  lastName: \\&quot;Klaassen\\&quot;\\n};\\n\\nconst recurring: Types.payout.Recurring = {\\n  contract: Types.payout.Recurring.ContractEnum.PAYOUT\\n};\\n\\nconst address: Types.payout.Address = {\\n  country: \\&quot;NL\\&quot;,\\n  city: \\&quot;Amsterdam\\&quot;,\\n  houseNumberOrName: \\&quot;6-50\\&quot;,\\n  street: \\&quot;Simon Carmiggeltstraat\\&quot;,\\n  postalCode: \\&quot;1011 DJ\\&quot;\\n};\\n\\nconst storeDetailRequest: Types.payout.StoreDetailRequest = {\\n  bank: bankAccount,\\n  shopperName: name,\\n  merchantAccount: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  nationality: \\&quot;NL\\&quot;,\\n  recurring: recurring,\\n  entityType: Types.payout.StoreDetailRequest.EntityTypeEnum.Company,\\n  shopperEmail: \\&quot;shopper@example.com\\&quot;,\\n  billingAddress: address,\\n  shopperReference: \\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;\\n};\\n\\n\\\/\\\/ Make the API call\\nconst payoutAPI = new PayoutAPI(client);\\nconst response = payoutAPI.InitializationApi.storeDetail(storeDetailRequest);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Example response'\" :id=\"''\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n  \\\"pspReference\\\" : \\\"ZC4R4RBFJGXXGN82\\\",\\n  \\\"recurringDetailReference\\\" : \\\"2313642467170922\\\",\\n  \\\"resultCode\\\" : \\\"Success\\\"\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2 id=\"submit-payout\">Submit a payout<\/h2>\n<p>After you store the account details, you can submit payouts with\u00a0a call to\u00a0 <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Payout\/latest\/post\/submitThirdParty\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/submitThirdParty<\/a>. You have to use the details of a\u00a0<a href=\"\/pt\/online-payments\/classic-integrations\/classic-api-integration\/tokenization\">recurring contract<\/a>\u00a0when you request the payout.<\/p>\n<p>To use the latest created\u00a0recurring contract,\u00a0use the\u00a0<code>LATEST<\/code>\u00a0values\u00a0in the request.<\/p>\n<p>The following example shows how to make a payout to the bank account shown in the previous example.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Submit a payout'\" :id=\"'submitpayout'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/pal-test.adyen.com\\\/pal\\\/servlet\\\/Payout\\\/v68\\\/submitThirdParty \\\\\\n-u \\&quot;storePayout@Company.[YourCompany]\\&quot;:\\&quot;YourBasicAuthenticationPassword\\&quot; \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-d '{\\n  \\&quot;amount\\&quot;:{\\n     \\&quot;value\\&quot;:1000,\\n     \\&quot;currency\\&quot;:\\&quot;EUR\\&quot;\\n  },\\n  \\&quot;merchantAccount\\&quot;:\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  \\&quot;recurring\\&quot;:{\\n      \\&quot;contract\\&quot;:\\&quot;PAYOUT\\&quot;\\n  },\\n  \\&quot;reference\\&quot;:\\&quot;YOUR_REFERENCE_TO_THE_RECURRING_PAYMENT\\&quot;,\\n  \\&quot;shopperReference\\&quot;:\\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;,\\n  \\&quot;shopperEmail\\&quot; : \\&quot;shopper@example.com\\&quot;,\\n  \\&quot;shopperName\\&quot;:{\\n     \\&quot;firstName\\&quot;:\\&quot;John\\&quot;,\\n     \\&quot;lastName\\&quot;:\\&quot;Klaassen\\&quot;\\n  },\\n  \\&quot;dateOfBirth\\&quot;:\\&quot;1990-01-01\\&quot;,\\n  \\&quot;entityType\\&quot;:\\&quot;Company\\&quot;,\\n  \\&quot;nationality\\&quot;:\\&quot;NL\\&quot;,\\n  \\&quot;selectedRecurringDetailReference\\&quot;:\\&quot;LATEST\\&quot;\\n}'&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v32.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.payout.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.payout.*;\\n\\nClient client = new Client(\\&quot;\\&quot;, Environment.TEST);\\n\\n\\\/\\\/ Create the request object(s)\\n\\\/\\\/ Send the request\\nInitializationApi service = new InitializationApi(client);\\nSubmitResponse response = service.submitThirdParty(submitRequest, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;&lt;?php\\n\\\/\\\/ Adyen PHP API Library v23.0.0\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Service\\\\Payout\\\\InitializationApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\n\\\/\\\/ Create the request object(s)\\n\\\/\\\/ Send the request\\n$service = new InitializationApi($client);\\n$response = $service-&gt;submitThirdParty($submitRequest);&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v26.0.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Payout;\\nusing Adyen.Service.Payout;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Create the request object(s)\\n\\\/\\\/ Send the request\\nvar service = new InitializationService(client);\\nvar response = service.SubmitThirdParty(submitRequest);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v22.1.0\\n\\\/\\\/ Require the parts of the module you want to use\\nconst { Client, PayoutAPI } = require('@adyen\\\/api-library');\\n\\nconst client = new Client({ apiKey: \\&quot;\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\nconst submitRequest = {\\n  amount: {\\n    value: 1000,\\n    currency: \\&quot;EUR\\&quot;\\n  },\\n  merchantAccount: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  recurring: {\\n    contract: \\&quot;PAYOUT\\&quot;\\n  },\\n  reference: \\&quot;YOUR_REFERENCE_TO_THE_RECURRING_PAYMENT\\&quot;,\\n  shopperReference: \\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;,\\n  shopperEmail: \\&quot;shopper@example.com\\&quot;,\\n  shopperName: {\\n    firstName: \\&quot;John\\&quot;,\\n    lastName: \\&quot;Klaassen\\&quot;\\n  },\\n  dateOfBirth: new Date(\\&quot;1990-01-01\\&quot;),\\n  entityType: \\&quot;Company\\&quot;,\\n  nationality: \\&quot;NL\\&quot;,\\n  selectedRecurringDetailReference: \\&quot;LATEST\\&quot;\\n}\\n\\n\\\/\\\/ Send the request\\nconst payoutAPI = new PayoutAPI(client);\\nconst response = payoutAPI.InitializationApi.submitThirdParty(submitRequest);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v16.1.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/payout\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Create the request object(s)\\n\\\/\\\/ Send the request\\nservice := client.Payout()\\nreq := service.InitializationApi.SubmitThirdPartyInput().SubmitRequest(submitRequest)\\nres, httpRes, err := service.InitializationApi.SubmitThirdParty(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v13.2.0\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Create the request object(s)\\njson_request = {\\n  \\&quot;amount\\&quot;: {\\n    \\&quot;value\\&quot;: 1000,\\n    \\&quot;currency\\&quot;: \\&quot;EUR\\&quot;\\n  },\\n  \\&quot;merchantAccount\\&quot;: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  \\&quot;recurring\\&quot;: {\\n    \\&quot;contract\\&quot;: \\&quot;PAYOUT\\&quot;\\n  },\\n  \\&quot;reference\\&quot;: \\&quot;YOUR_REFERENCE_TO_THE_RECURRING_PAYMENT\\&quot;,\\n  \\&quot;shopperReference\\&quot;: \\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;,\\n  \\&quot;shopperEmail\\&quot;: \\&quot;shopper@example.com\\&quot;,\\n  \\&quot;shopperName\\&quot;: {\\n    \\&quot;firstName\\&quot;: \\&quot;John\\&quot;,\\n    \\&quot;lastName\\&quot;: \\&quot;Klaassen\\&quot;\\n  },\\n  \\&quot;dateOfBirth\\&quot;: \\&quot;1990-01-01\\&quot;,\\n  \\&quot;entityType\\&quot;: \\&quot;Company\\&quot;,\\n  \\&quot;nationality\\&quot;: \\&quot;NL\\&quot;,\\n  \\&quot;selectedRecurringDetailReference\\&quot;: \\&quot;LATEST\\&quot;\\n}\\n\\n# Send the request\\nresult = adyen.payout.initialization_api.submit_third_party(request=json_request)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v10.1.0\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = ''\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Create the request object(s)\\nrequest_body = {\\n  :amount =&gt; {\\n    :value =&gt; 1000,\\n    :currency =&gt; 'EUR'\\n  },\\n  :merchantAccount =&gt; 'YOUR_MERCHANT_ACCOUNT',\\n  :recurring =&gt; {\\n    :contract =&gt; 'PAYOUT'\\n  },\\n  :reference =&gt; 'YOUR_REFERENCE_TO_THE_RECURRING_PAYMENT',\\n  :shopperReference =&gt; 'YOUR_UNIQUE_SHOPPER_ID',\\n  :shopperEmail =&gt; 'shopper@example.com',\\n  :shopperName =&gt; {\\n    :firstName =&gt; 'John',\\n    :lastName =&gt; 'Klaassen'\\n  },\\n  :dateOfBirth =&gt; '1990-01-01',\\n  :entityType =&gt; 'Company',\\n  :nationality =&gt; 'NL',\\n  :selectedRecurringDetailReference =&gt; 'LATEST'\\n}\\n\\n# Send the request\\nresult = adyen.payout.initialization_api.submit_third_party(request_body)&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v22.1.0\\n\\\/\\\/ Require the parts of the module you want to use\\nimport { Client, PayoutAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\nconst client = new Client({ apiKey: \\&quot;\\&quot;, environment: \\&quot;TEST\\&quot; });\\n\\n\\\/\\\/ Create the request object(s)\\n\\\/\\\/ Send the request\\nconst payoutAPI = new PayoutAPI(client);\\nconst response = payoutAPI.InitializationApi.submitThirdParty(submitRequest);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Example response'\" :id=\"''\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n  \\\"pspReference\\\" : \\\"R5CZ2NWPJTGV9D82\\\",\\n  \\\"resultCode\\\" : \\\"[payout-submit-received]\\\"\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2 id=\"store-and-submit-payout\">Store details and submit a payout<\/h2>\n<p>You can store the account details and make a payout request in a single API call to\u00a0 <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Payout\/latest\/post\/storeDetailAndSubmitThirdParty\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/storeDetailAndSubmitThirdParty<\/a>.\u00a0<\/p>\n<p>To do this, set\u00a0the <code>recurring<\/code> value to\u00a0<code>RECURRING,PAYOUT<\/code>.\u00a0This creates a\u00a0<a href=\"\/pt\/online-payments\/classic-integrations\/classic-api-integration\/tokenization\">recurring contract<\/a>, which can be used for subsequent payouts to this account.\u00a0<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Store payout details'\" :id=\"'storeandsubmitpayout'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/pal-test.adyen.com\\\/pal\\\/servlet\\\/Payout\\\/v68\\\/storeDetailAndSubmitThirdParty \\\\\\n-u \\&quot;storePayout@Company.[YourCompany]\\&quot;:\\&quot;YourBasicAuthenticationPassword\\&quot; \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-d '{\\n  \\&quot;amount\\&quot;:{\\n     \\&quot;value\\&quot;:2000,\\n     \\&quot;currency\\&quot;:\\&quot;EUR\\&quot;\\n  },\\n  \\&quot;merchantAccount\\&quot;:\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  \\&quot;recurring\\&quot;:{\\n      \\&quot;contract\\&quot;:\\&quot;RECURRING,PAYOUT\\&quot;\\n  },\\n  \\&quot;bank\\&quot;: {\\n    \\&quot;bankName\\&quot; : \\&quot;Deutsche Bank\\&quot;,\\n    \\&quot;iban\\&quot; : \\&quot;DE87123456781234567890\\&quot;,\\n    \\&quot;countryCode\\&quot; : \\&quot;DE\\&quot;,\\n    \\&quot;ownerName\\&quot; : \\&quot;A. Schneider\\&quot;\\n  },\\n  \\&quot;reference\\&quot;:\\&quot;YOUR_REFERENCE_TO_THE_RECURRING_PAYMENT\\&quot;,\\n  \\&quot;shopperReference\\&quot;:\\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;,\\n  \\&quot;shopperEmail\\&quot;:\\&quot;shopper@example.com\\&quot;,\\n  \\&quot;shopperName\\&quot;:{\\n     \\&quot;firstName\\&quot;:\\&quot;A.\\&quot;,\\n     \\&quot;lastName\\&quot;:\\&quot;Schneider\\&quot;\\n  },\\n  \\&quot;dateOfBirth\\&quot;:\\&quot;1990-01-01\\&quot;,\\n  \\&quot;entityType\\&quot;:\\&quot;Company\\&quot;,\\n  \\&quot;nationality\\&quot;:\\&quot;NL\\&quot;\\n}'&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v25.0.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.payout.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.payout.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\n\\\/\\\/ Create the request object(s)\\nAmount amount = new Amount()\\n  .currency(\\&quot;EUR\\&quot;)\\n  .value(2000L);\\n\\nBankAccount bankAccount = new BankAccount()\\n  .ownerName(\\&quot;A. Schneider\\&quot;)\\n  .countryCode(\\&quot;DE\\&quot;)\\n  .iban(\\&quot;DE87123456781234567890\\&quot;)\\n  .bankName(\\&quot;Deutsche Bank\\&quot;);\\n\\nName name = new Name()\\n  .firstName(\\&quot;A.\\&quot;)\\n  .lastName(\\&quot;Schneider\\&quot;);\\n\\nRecurring recurring = new Recurring()\\n  .contract(Recurring.ContractEnum.RECURRING,PAYOUT);\\n\\nStoreDetailAndSubmitRequest storeDetailAndSubmitRequest = new StoreDetailAndSubmitRequest()\\n  .reference(\\&quot;YOUR_REFERENCE_TO_THE_RECURRING_PAYMENT\\&quot;)\\n  .amount(amount)\\n  .bank(bankAccount)\\n  .shopperName(name)\\n  .merchantAccount(\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;)\\n  .nationality(\\&quot;NL\\&quot;)\\n  .recurring(recurring)\\n  .entityType(StoreDetailAndSubmitRequest.EntityTypeEnum.COMPANY)\\n  .shopperEmail(\\&quot;shopper@example.com\\&quot;)\\n  .shopperReference(\\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;);\\n\\n\\\/\\\/ Make the API call\\nInitializationApi service = new InitializationApi(client);\\nStoreDetailAndSubmitResponse response = service.storeDetailAndSubmitThirdParty(storeDetailAndSubmitRequest, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen PHP API Library v17.4.0\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Model\\\\Payout\\\\Amount;\\nuse Adyen\\\\Model\\\\Payout\\\\BankAccount;\\nuse Adyen\\\\Model\\\\Payout\\\\Name;\\nuse Adyen\\\\Model\\\\Payout\\\\Recurring;\\nuse Adyen\\\\Model\\\\Payout\\\\StoreDetailAndSubmitRequest;\\nuse Adyen\\\\Service\\\\Payout\\\\InitializationApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\n\\\/\\\/ Create the request object(s)\\n$amount = new Amount();\\n$amount\\n  -&gt;setCurrency(\\&quot;EUR\\&quot;)\\n  -&gt;setValue(2000);\\n\\n$bankAccount = new BankAccount();\\n$bankAccount\\n  -&gt;setOwnerName(\\&quot;A. Schneider\\&quot;)\\n  -&gt;setCountryCode(\\&quot;DE\\&quot;)\\n  -&gt;setIban(\\&quot;DE87123456781234567890\\&quot;)\\n  -&gt;setBankName(\\&quot;Deutsche Bank\\&quot;);\\n\\n$name = new Name();\\n$name\\n  -&gt;setFirstName(\\&quot;A.\\&quot;)\\n  -&gt;setLastName(\\&quot;Schneider\\&quot;);\\n\\n$recurring = new Recurring();\\n$recurring\\n  -&gt;setContract(\\&quot;RECURRING,PAYOUT\\&quot;);\\n\\n$storeDetailAndSubmitRequest = new StoreDetailAndSubmitRequest();\\n$storeDetailAndSubmitRequest\\n  -&gt;setReference(\\&quot;YOUR_REFERENCE_TO_THE_RECURRING_PAYMENT\\&quot;)\\n  -&gt;setAmount($amount)\\n  -&gt;setBank($bankAccount)\\n  -&gt;setShopperName($name)\\n  -&gt;setMerchantAccount(\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;)\\n  -&gt;setNationality(\\&quot;NL\\&quot;)\\n  -&gt;setRecurring($recurring)\\n  -&gt;setEntityType(\\&quot;Company\\&quot;)\\n  -&gt;setShopperEmail(\\&quot;shopper@example.com\\&quot;)\\n  -&gt;setShopperReference(\\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;);\\n\\n\\\/\\\/ Make the API call\\n$service = new InitializationApi($client);\\n$response = $service-&gt;storeDetailAndSubmitThirdParty($storeDetailAndSubmitRequest);&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v14.4.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Payout;\\nusing Adyen.Service.Payout;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&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 = \\&quot;EUR\\&quot;,\\n  Value = 2000\\n};\\n\\nBankAccount bankAccount = new BankAccount\\n{\\n  OwnerName = \\&quot;A. Schneider\\&quot;,\\n  CountryCode = \\&quot;DE\\&quot;,\\n  Iban = \\&quot;DE87123456781234567890\\&quot;,\\n  BankName = \\&quot;Deutsche Bank\\&quot;\\n};\\n\\nName name = new Name\\n{\\n  FirstName = \\&quot;A.\\&quot;,\\n  LastName = \\&quot;Schneider\\&quot;\\n};\\n\\nRecurring recurring = new Recurring\\n{\\n  Contract = Recurring.ContractEnum.RECURRING,PAYOUT\\n};\\n\\nStoreDetailAndSubmitRequest storeDetailAndSubmitRequest = new StoreDetailAndSubmitRequest\\n{\\n  Reference = \\&quot;YOUR_REFERENCE_TO_THE_RECURRING_PAYMENT\\&quot;,\\n  Amount = amount,\\n  Bank = bankAccount,\\n  ShopperName = name,\\n  MerchantAccount = \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  Nationality = \\&quot;NL\\&quot;,\\n  Recurring = recurring,\\n  EntityType = StoreDetailAndSubmitRequest.EntityTypeEnum.Company,\\n  ShopperEmail = \\&quot;shopper@example.com\\&quot;,\\n  ShopperReference = \\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;\\n};\\n\\n\\\/\\\/ Make the API call\\nvar service = new InitializationService(client);\\nvar response = service.StoreDetailAndSubmitThirdParty(storeDetailAndSubmitRequest);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v16.2.0\\n\\\/\\\/ Require the parts of the module you want to use\\nconst { Client, PayoutAPI } = require('@adyen\\\/api-library');\\n\\\/\\\/ Initialize the client object\\nconst client = new Client({apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot;});\\n\\n\\\/\\\/ Create the request object(s)\\nconst storeDetailAndSubmitRequest = {\\n  amount: {\\n    value: 2000,\\n    currency: \\&quot;EUR\\&quot;\\n  },\\n  merchantAccount: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  recurring: {\\n    contract: \\&quot;RECURRING,PAYOUT\\&quot;\\n  },\\n  bank: {\\n    bankName: \\&quot;Deutsche Bank\\&quot;,\\n    iban: \\&quot;DE87123456781234567890\\&quot;,\\n    countryCode: \\&quot;DE\\&quot;,\\n    ownerName: \\&quot;A. Schneider\\&quot;\\n  },\\n  reference: \\&quot;YOUR_REFERENCE_TO_THE_RECURRING_PAYMENT\\&quot;,\\n  shopperReference: \\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;,\\n  shopperEmail: \\&quot;shopper@example.com\\&quot;,\\n  shopperName: {\\n    firstName: \\&quot;A.\\&quot;,\\n    lastName: \\&quot;Schneider\\&quot;\\n  },\\n  dateOfBirth: new Date(\\&quot;1990-01-01\\&quot;),\\n  entityType: \\&quot;Company\\&quot;,\\n  nationality: \\&quot;NL\\&quot;\\n}\\n\\n\\\/\\\/ Make the API call\\nconst payoutAPI = new PayoutAPI(client);\\nconst response = payoutAPI.InitializationApi.storeDetailAndSubmitThirdParty(storeDetailAndSubmitRequest);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v9.3.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/payout\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Create the request object(s)\\namount := payout.Amount{\\n  Currency: \\&quot;EUR\\&quot;,\\n  Value: 2000,\\n}\\n\\nbankAccount := payout.BankAccount{\\n  OwnerName: common.PtrString(\\&quot;A. Schneider\\&quot;),\\n  CountryCode: common.PtrString(\\&quot;DE\\&quot;),\\n  Iban: common.PtrString(\\&quot;DE87123456781234567890\\&quot;),\\n  BankName: common.PtrString(\\&quot;Deutsche Bank\\&quot;),\\n}\\n\\nname := payout.Name{\\n  FirstName: \\&quot;A.\\&quot;,\\n  LastName: \\&quot;Schneider\\&quot;,\\n}\\n\\nrecurring := payout.Recurring{\\n  Contract: common.PtrString(\\&quot;RECURRING,PAYOUT\\&quot;),\\n}\\n\\nstoreDetailAndSubmitRequest := payout.StoreDetailAndSubmitRequest{\\n  Reference: \\&quot;YOUR_REFERENCE_TO_THE_RECURRING_PAYMENT\\&quot;,\\n  Amount: amount,\\n  Bank: &amp;bankAccount,\\n  ShopperName: &amp;name,\\n  MerchantAccount: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  Nationality: \\&quot;NL\\&quot;,\\n  Recurring: recurring,\\n  EntityType: \\&quot;Company\\&quot;,\\n  ShopperEmail: \\&quot;shopper@example.com\\&quot;,\\n  ShopperReference: \\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;,\\n}\\n\\n\\\/\\\/ Make the API call\\nservice := client.Payout()\\nreq := service.InitializationApi.StoreDetailAndSubmitThirdPartyInput().StoreDetailAndSubmitRequest(storeDetailAndSubmitRequest)\\nres, httpRes, err := service.InitializationApi.StoreDetailAndSubmitThirdParty(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v12.2.0\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Create the request object(s)\\njson_request = {\\n  \\&quot;amount\\&quot;: {\\n    \\&quot;value\\&quot;: 2000,\\n    \\&quot;currency\\&quot;: \\&quot;EUR\\&quot;\\n  },\\n  \\&quot;merchantAccount\\&quot;: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  \\&quot;recurring\\&quot;: {\\n    \\&quot;contract\\&quot;: \\&quot;RECURRING,PAYOUT\\&quot;\\n  },\\n  \\&quot;bank\\&quot;: {\\n    \\&quot;bankName\\&quot;: \\&quot;Deutsche Bank\\&quot;,\\n    \\&quot;iban\\&quot;: \\&quot;DE87123456781234567890\\&quot;,\\n    \\&quot;countryCode\\&quot;: \\&quot;DE\\&quot;,\\n    \\&quot;ownerName\\&quot;: \\&quot;A. Schneider\\&quot;\\n  },\\n  \\&quot;reference\\&quot;: \\&quot;YOUR_REFERENCE_TO_THE_RECURRING_PAYMENT\\&quot;,\\n  \\&quot;shopperReference\\&quot;: \\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;,\\n  \\&quot;shopperEmail\\&quot;: \\&quot;shopper@example.com\\&quot;,\\n  \\&quot;shopperName\\&quot;: {\\n    \\&quot;firstName\\&quot;: \\&quot;A.\\&quot;,\\n    \\&quot;lastName\\&quot;: \\&quot;Schneider\\&quot;\\n  },\\n  \\&quot;dateOfBirth\\&quot;: \\&quot;1990-01-01\\&quot;,\\n  \\&quot;entityType\\&quot;: \\&quot;Company\\&quot;,\\n  \\&quot;nationality\\&quot;: \\&quot;NL\\&quot;\\n}\\n\\n# Make the API call\\nresult = adyen.payout.initialization_api.store_detail_and_submit_third_party(request=json_request)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v9.3.0\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Create the request object(s)\\nrequest_body = {\\n  :amount =&gt; {\\n    :value =&gt; 2000,\\n    :currency =&gt; 'EUR'\\n  },\\n  :merchantAccount =&gt; 'YOUR_MERCHANT_ACCOUNT',\\n  :recurring =&gt; {\\n    :contract =&gt; 'RECURRING,PAYOUT'\\n  },\\n  :bank =&gt; {\\n    :bankName =&gt; 'Deutsche Bank',\\n    :iban =&gt; 'DE87123456781234567890',\\n    :countryCode =&gt; 'DE',\\n    :ownerName =&gt; 'A. Schneider'\\n  },\\n  :reference =&gt; 'YOUR_REFERENCE_TO_THE_RECURRING_PAYMENT',\\n  :shopperReference =&gt; 'YOUR_UNIQUE_SHOPPER_ID',\\n  :shopperEmail =&gt; 'shopper@example.com',\\n  :shopperName =&gt; {\\n    :firstName =&gt; 'A.',\\n    :lastName =&gt; 'Schneider'\\n  },\\n  :dateOfBirth =&gt; '1990-01-01',\\n  :entityType =&gt; 'Company',\\n  :nationality =&gt; 'NL'\\n}\\n\\n# Make the API call\\nresult = adyen.payout.initialization_api.store_detail_and_submit_third_party(request_body)&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v16.2.0\\n\\\/\\\/ Require the parts of the module you want to use\\nimport { Client, PayoutAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\\/\\\/ Initialize the client object\\nconst client = new Client({apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot;});\\n\\n\\\/\\\/ Create the request object(s)\\nconst amount: Types.payout.Amount = {\\n  currency: \\&quot;EUR\\&quot;,\\n  value: 2000\\n};\\n\\nconst bankAccount: Types.payout.BankAccount = {\\n  ownerName: \\&quot;A. Schneider\\&quot;,\\n  countryCode: \\&quot;DE\\&quot;,\\n  iban: \\&quot;DE87123456781234567890\\&quot;,\\n  bankName: \\&quot;Deutsche Bank\\&quot;\\n};\\n\\nconst name: Types.payout.Name = {\\n  firstName: \\&quot;A.\\&quot;,\\n  lastName: \\&quot;Schneider\\&quot;\\n};\\n\\nconst recurring: Types.payout.Recurring = {\\n  contract: Types.payout.Recurring.ContractEnum.RECURRING,PAYOUT\\n};\\n\\nconst storeDetailAndSubmitRequest: Types.payout.StoreDetailAndSubmitRequest = {\\n  reference: \\&quot;YOUR_REFERENCE_TO_THE_RECURRING_PAYMENT\\&quot;,\\n  amount: amount,\\n  bank: bankAccount,\\n  shopperName: name,\\n  merchantAccount: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  nationality: \\&quot;NL\\&quot;,\\n  recurring: recurring,\\n  entityType: Types.payout.StoreDetailAndSubmitRequest.EntityTypeEnum.Company,\\n  shopperEmail: \\&quot;shopper@example.com\\&quot;,\\n  shopperReference: \\&quot;YOUR_UNIQUE_SHOPPER_ID\\&quot;\\n};\\n\\n\\\/\\\/ Make the API call\\nconst payoutAPI = new PayoutAPI(client);\\nconst response = payoutAPI.InitializationApi.storeDetailAndSubmitThirdParty(storeDetailAndSubmitRequest);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Example response'\" :id=\"''\" :code-data='[{\"language\":\"json\",\"tabTitle\":\"\",\"content\":\"{\\n  \\\"pspReference\\\" : \\\"GH4R4RBFJGXXGN82\\\",\\n  \\\"resultCode\\\" : \\\"[payout-submit-received]\\\"\\n}\"}]' :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<h2 id=\"confirm-decline\">Confirm or decline a payout<\/h2>\n<p>You need to confirm or decline all payouts within 7 days. After that, the payout expires.<\/p>\n<div class=\"sc-notice note\"><div>\n<p>You can also confirm and decline payouts manually in your\u00a0<a href=\"https:\/\/ca-test.adyen.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">Customer Area<\/a> &gt; <strong>Transactions<\/strong> &gt; <strong>Payouts<\/strong>.<\/p>\n<\/div><\/div>\n<h3 id=\"confirm-a-third-party-payout\">Confirm a payout<\/h3>\n<p>To confirm a payout, call the\u00a0 <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Payout\/latest\/post\/confirmThirdParty\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/confirmThirdParty<\/a>\u00a0endpoint. In the <code>originalReference<\/code> field, specify the PSP reference from the <code>\/submitThirdParty<\/code> or the <code>\/storeDetailAndSubmitThirdParty<\/code> response.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Confirm payout'\" :id=\"'confirmpayout'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/pal-test.adyen.com\\\/pal\\\/servlet\\\/Payout\\\/v68\\\/confirmThirdParty \\\\\\n-u \\&quot;reviewPayout@Company.[YourCompany]\\&quot;:\\&quot;YourBasicAuthenticationPassword\\&quot; \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-d '{\\n  \\&quot;merchantAccount\\&quot;:\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  \\&quot;originalReference\\&quot; : \\&quot;9935398566023719\\&quot;\\n}'&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v26.3.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.payout.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.payout.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\n\\\/\\\/ Create the request object(s)\\nModifyRequest modifyRequest = new ModifyRequest()\\n  .originalReference(\\&quot;9935398566023719\\&quot;)\\n  .merchantAccount(\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;);\\n\\n\\\/\\\/ Send the request\\nReviewingApi service = new ReviewingApi(client);\\nModifyResponse response = service.confirmThirdParty(modifyRequest, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen PHP API Library v18.2.1\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Model\\\\Payout\\\\ModifyRequest;\\nuse Adyen\\\\Service\\\\Payout\\\\ReviewingApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\n\\\/\\\/ Create the request object(s)\\n$modifyRequest = new ModifyRequest();\\n$modifyRequest\\n  -&gt;setOriginalReference(\\&quot;9935398566023719\\&quot;)\\n  -&gt;setMerchantAccount(\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;);\\n\\n\\\/\\\/ Send the request\\n$service = new ReviewingApi($client);\\n$response = $service-&gt;confirmThirdParty($modifyRequest);&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v17.0.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Payout;\\nusing Adyen.Service.Payout;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Create the request object(s)\\nModifyRequest modifyRequest = new ModifyRequest\\n{\\n  OriginalReference = \\&quot;9935398566023719\\&quot;,\\n  MerchantAccount = \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;\\n};\\n\\n\\\/\\\/ Send the request\\nvar service = new ReviewingService(client);\\nvar response = service.ConfirmThirdParty(modifyRequest);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v17.3.0\\n\\\/\\\/ Require the parts of the module you want to use\\nconst { Client, PayoutAPI } = require('@adyen\\\/api-library');\\n\\\/\\\/ Initialize the client object\\nconst client = new Client({apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot;});\\n\\n\\\/\\\/ Create the request object(s)\\nconst modifyRequest = {\\n  merchantAccount: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  originalReference: \\&quot;9935398566023719\\&quot;\\n}\\n\\n\\\/\\\/ Send the request\\nconst payoutAPI = new PayoutAPI(client);\\nconst response = payoutAPI.ReviewingApi.confirmThirdParty(modifyRequest);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v10.4.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/payout\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Create the request object(s)\\nmodifyRequest := payout.ModifyRequest{\\n  OriginalReference: \\&quot;9935398566023719\\&quot;,\\n  MerchantAccount: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n}\\n\\n\\\/\\\/ Send the request\\nservice := client.Payout()\\nreq := service.ReviewingApi.ConfirmThirdPartyInput().ModifyRequest(modifyRequest)\\nres, httpRes, err := service.ReviewingApi.ConfirmThirdParty(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v12.5.1\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Create the request object(s)\\njson_request = {\\n  \\&quot;merchantAccount\\&quot;: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  \\&quot;originalReference\\&quot;: \\&quot;9935398566023719\\&quot;\\n}\\n\\n# Send the request\\nresult = adyen.payout.reviewing_api.confirm_third_party(request=json_request)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v9.5.1\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Create the request object(s)\\nrequest_body = {\\n  :merchantAccount =&gt; 'YOUR_MERCHANT_ACCOUNT',\\n  :originalReference =&gt; '9935398566023719'\\n}\\n\\n# Send the request\\nresult = adyen.payout.reviewing_api.confirm_third_party(request_body)&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v17.3.0\\n\\\/\\\/ Require the parts of the module you want to use\\nimport { Client, PayoutAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\\/\\\/ Initialize the client object\\nconst client = new Client({apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot;});\\n\\n\\\/\\\/ Create the request object(s)\\nconst modifyRequest: Types.payout.ModifyRequest = {\\n  originalReference: \\&quot;9935398566023719\\&quot;,\\n  merchantAccount: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;\\n};\\n\\n\\\/\\\/ Send the request\\nconst payoutAPI = new PayoutAPI(client);\\nconst response = payoutAPI.ReviewingApi.confirmThirdParty(modifyRequest);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<div class=\"sc-notice note\"><div>\n<p>Your admin user assigns the permissions for confirming payment details.\u00a0If they are unable to assign these permissions, they should contact\u00a0<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>.<\/p>\n<\/div><\/div>\n<h3 id=\"decline-a-third-party-payout\">Decline a payout<\/h3>\n<p>To decline a payout, call the\u00a0 <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Payout\/latest\/post\/declineThirdParty\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">\/declineThirdParty<\/a>\u00a0endpoint. In the <code>originalReference<\/code> field, specify the PSP reference from the <code>\/submitThirdParty<\/code> or the <code>\/storeDetailAndSubmitThirdParty<\/code> response.<\/p>\n<div data-component-wrapper=\"code-sample\">\n    <code-sample :title=\"'Decline payout'\" :id=\"'declinepayout'\" :code-data=\"[{&quot;language&quot;:&quot;bash&quot;,&quot;tabTitle&quot;:&quot;curl&quot;,&quot;content&quot;:&quot;curl https:\\\/\\\/pal-test.adyen.com\\\/pal\\\/servlet\\\/Payout\\\/v68\\\/declineThirdParty \\\\\\n-u \\&quot;reviewPayout@Company.[YourCompany]\\&quot;:\\&quot;YourBasicAuthenticationPassword\\&quot; \\\\\\n-H 'content-type: application\\\/json' \\\\\\n-d '{\\n  \\&quot;merchantAccount\\&quot;:\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  \\&quot;originalReference\\&quot; : \\&quot;9935398566023719\\&quot;\\n}'&quot;},{&quot;language&quot;:&quot;java&quot;,&quot;tabTitle&quot;:&quot;Java&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Java API Library v26.3.0\\nimport com.adyen.Client;\\nimport com.adyen.enums.Environment;\\nimport com.adyen.model.payout.*;\\nimport java.time.OffsetDateTime;\\nimport java.util.*;\\nimport com.adyen.service.payout.*;\\n\\nClient client = new Client(\\&quot;ADYEN_API_KEY\\&quot;, Environment.TEST);\\n\\n\\\/\\\/ Create the request object(s)\\nModifyRequest modifyRequest = new ModifyRequest()\\n  .originalReference(\\&quot;9935398566023719\\&quot;)\\n  .merchantAccount(\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;);\\n\\n\\\/\\\/ Send the request\\nReviewingApi service = new ReviewingApi(client);\\nModifyResponse response = service.declineThirdParty(modifyRequest, null);&quot;},{&quot;language&quot;:&quot;php&quot;,&quot;tabTitle&quot;:&quot;PHP&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen PHP API Library v18.2.1\\nuse Adyen\\\\Client;\\nuse Adyen\\\\Environment;\\nuse Adyen\\\\Model\\\\Payout\\\\ModifyRequest;\\nuse Adyen\\\\Service\\\\Payout\\\\ReviewingApi;\\n\\n$client = new Client();\\n$client-&gt;setXApiKey(\\&quot;ADYEN_API_KEY\\&quot;);\\n$client-&gt;setEnvironment(Environment::TEST);\\n\\n\\n\\\/\\\/ Create the request object(s)\\n$modifyRequest = new ModifyRequest();\\n$modifyRequest\\n  -&gt;setOriginalReference(\\&quot;9935398566023719\\&quot;)\\n  -&gt;setMerchantAccount(\\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;);\\n\\n\\\/\\\/ Send the request\\n$service = new ReviewingApi($client);\\n$response = $service-&gt;declineThirdParty($modifyRequest);&quot;},{&quot;language&quot;:&quot;cs&quot;,&quot;tabTitle&quot;:&quot;C#&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen .net API Library v17.0.0\\nusing Adyen;\\nusing Environment = Adyen.Model.Environment;\\nusing Adyen.Model;\\nusing Adyen.Model.Payout;\\nusing Adyen.Service.Payout;\\n\\nvar config = new Config()\\n{\\n    XApiKey = \\&quot;ADYEN_API_KEY\\&quot;,\\n    Environment = Environment.Test\\n};\\nvar client = new Client(config);\\n\\n\\\/\\\/ Create the request object(s)\\nModifyRequest modifyRequest = new ModifyRequest\\n{\\n  OriginalReference = \\&quot;9935398566023719\\&quot;,\\n  MerchantAccount = \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;\\n};\\n\\n\\\/\\\/ Send the request\\nvar service = new ReviewingService(client);\\nvar response = service.DeclineThirdParty(modifyRequest);&quot;},{&quot;language&quot;:&quot;js&quot;,&quot;tabTitle&quot;:&quot;NodeJS (JavaScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v17.3.0\\n\\\/\\\/ Require the parts of the module you want to use\\nconst { Client, PayoutAPI } = require('@adyen\\\/api-library');\\n\\\/\\\/ Initialize the client object\\nconst client = new Client({apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot;});\\n\\n\\\/\\\/ Create the request object(s)\\nconst modifyRequest = {\\n  merchantAccount: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  originalReference: \\&quot;9935398566023719\\&quot;\\n}\\n\\n\\\/\\\/ Send the request\\nconst payoutAPI = new PayoutAPI(client);\\nconst response = payoutAPI.ReviewingApi.declineThirdParty(modifyRequest);&quot;},{&quot;language&quot;:&quot;go&quot;,&quot;tabTitle&quot;:&quot;Go&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Go API Library v10.4.0\\nimport (\\n  \\&quot;context\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/common\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/adyen\\&quot;\\n  \\&quot;github.com\\\/adyen\\\/adyen-go-api-library\\\/v9\\\/src\\\/payout\\&quot;\\n)\\nclient := adyen.NewClient(&amp;common.Config{\\n  ApiKey:      \\&quot;ADYEN_API_KEY\\&quot;,\\n  Environment: common.TestEnv,\\n})\\n\\n\\\/\\\/ Create the request object(s)\\nmodifyRequest := payout.ModifyRequest{\\n  OriginalReference: \\&quot;9935398566023719\\&quot;,\\n  MerchantAccount: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n}\\n\\n\\\/\\\/ Send the request\\nservice := client.Payout()\\nreq := service.ReviewingApi.DeclineThirdPartyInput().ModifyRequest(modifyRequest)\\nres, httpRes, err := service.ReviewingApi.DeclineThirdParty(context.Background(), req)&quot;},{&quot;language&quot;:&quot;py&quot;,&quot;tabTitle&quot;:&quot;Python&quot;,&quot;content&quot;:&quot;# Adyen Python API Library v12.5.1\\nimport Adyen\\n\\nadyen = Adyen.Adyen()\\nadyen.client.xapikey = \\&quot;ADYEN_API_KEY\\&quot;\\nadyen.client.platform = \\&quot;test\\&quot; # The environment to use library in.\\n\\n# Create the request object(s)\\njson_request = {\\n  \\&quot;merchantAccount\\&quot;: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;,\\n  \\&quot;originalReference\\&quot;: \\&quot;9935398566023719\\&quot;\\n}\\n\\n# Send the request\\nresult = adyen.payout.reviewing_api.decline_third_party(request=json_request)&quot;},{&quot;language&quot;:&quot;rb&quot;,&quot;tabTitle&quot;:&quot;Ruby&quot;,&quot;content&quot;:&quot;# Adyen Ruby API Library v9.5.1\\nrequire \\&quot;adyen-ruby-api-library\\&quot;\\n\\nadyen = Adyen::Client.new\\nadyen.api_key = 'ADYEN_API_KEY'\\nadyen.env = :test # Set to \\&quot;live\\&quot; for live environment\\n\\n# Create the request object(s)\\nrequest_body = {\\n  :merchantAccount =&gt; 'YOUR_MERCHANT_ACCOUNT',\\n  :originalReference =&gt; '9935398566023719'\\n}\\n\\n# Send the request\\nresult = adyen.payout.reviewing_api.decline_third_party(request_body)&quot;},{&quot;language&quot;:&quot;ts&quot;,&quot;tabTitle&quot;:&quot;NodeJS (TypeScript)&quot;,&quot;content&quot;:&quot;\\\/\\\/ Adyen Node API Library v17.3.0\\n\\\/\\\/ Require the parts of the module you want to use\\nimport { Client, PayoutAPI, Types } from \\&quot;@adyen\\\/api-library\\&quot;;\\n\\\/\\\/ Initialize the client object\\nconst client = new Client({apiKey: \\&quot;ADYEN_API_KEY\\&quot;, environment: \\&quot;TEST\\&quot;});\\n\\n\\\/\\\/ Create the request object(s)\\nconst modifyRequest: Types.payout.ModifyRequest = {\\n  originalReference: \\&quot;9935398566023719\\&quot;,\\n  merchantAccount: \\&quot;YOUR_MERCHANT_ACCOUNT\\&quot;\\n};\\n\\n\\\/\\\/ Send the request\\nconst payoutAPI = new PayoutAPI(client);\\nconst response = payoutAPI.ReviewingApi.declineThirdParty(modifyRequest);&quot;}]\" :enable-copy-link-to-code-block=\"true\" :code-sample-card-size=\"'fullsize'\"><\/code-sample>\n<\/div>\n<div class=\"sc-notice note\"><div>\n<p>Your admin user assigns the permissions for declining payment details.\u00a0If they are unable to assign these permissions, they should contact\u00a0<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>.<\/p>\n<\/div><\/div>\n<h2 id=\"supported-countries\">Supported countries\/regions<\/h2>\n<p>Below is an overview of the supported countries\/regions for each payout method, according to recipient country\/region.<\/p>\n<p>Note that:\u00a0<\/p>\n<ul>\n<li>You can only pay out in the local currency.<\/li>\n<li>In most cases, a local entity is required.<\/li>\n<\/ul>\n<div class=\"sticky-table-container\">\n    \n<table>\n<thead>\n<tr>\n<th>Recipient country\/region<\/th>\n<th>Bank payouts<\/th>\n<th>PayPal<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>United States<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Austria<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Belgium<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Republic of Cyprus<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Estonia<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Finland<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>France<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Germany<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Greece<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Ireland<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Italy<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Latvia<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Liechtenstein<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Lithuania<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Luxembourg<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Malta<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Principality of Monaco<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><strong>Netherlands<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Poland<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><strong>Portugal<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Republic of San Marino<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><strong>Slovakia<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Slovenia<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Spain<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>Switzerland<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<tr>\n<td><strong>United Kingdom<\/strong><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n<\/div>\n\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\/online-payouts\"\n                        target=\"_self\"\n                        >\n                    Online payouts\n                <\/a><\/li><li><a href=\"\/online-payments\/online-payouts\/payout-webhook\"\n                        target=\"_self\"\n                        >\n                    Payout webhook\n                <\/a><\/li><li><a href=\"\/online-payments\/online-payouts\/payouts-to-a-bank-account\"\n                        target=\"_self\"\n                        >\n                    Payout examples\n                <\/a><\/li><li><a href=\"https:\/\/docs.adyen.com\/api-explorer\/#\/Payout\/latest\/overview\"\n                        target=\"_blank\"\n                         class=\"external\">\n                    API Explorer\n                <\/a><\/li><\/ul><\/div>\n","url":"https:\/\/docs.adyen.com\/pt\/online-payments\/online-payouts\/payouts-to-bank-accounts-and-wallets","articleFields":{"description":"Learn how to make payouts in stages to bank accounts or wallets.","feedback_component":true,"last_edit_on":"22-07-2021 10:49","parameters":{"scoped":"true","transfers":"[Pay out to bank accounts](\/payouts\/payout-service\/pay-out-to-bank-accounts\/)"}},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/online-payments\/online-payouts\/payouts-to-bank-accounts-and-wallets","title":"Payouts in stages","content":"\nWe are no longer accepting new integrations with the  Payout API; use the  Transfers API instead. With the Transfers API, you can: Handle multiple payout use cases with a single API.Use new payout functionalities, such as instant payouts.Receive webhooks with more details and defined transfer states. If you are:  Building a new integration, refer to Pay out to bank accounts to integrate with the Transfers API.Already integrated with the Payout API, reach out to your Adyen contact for information on how to migrate to the Transfers API.\n\nPayouts in stages require a four-eye policy check: each payout has to be confirmed and checked by a user different from the one that submitted the payout. When you have enabled these payouts, you will have two API credentials:\n\n\nstorePayout@Company.[Company Account Code]\u00a0\u2013\u00a0This user can store payout details, and submit payouts.\n\n\nreviewPayout@Company.[Company Account Code]\u00a0\u2013\u00a0This user can confirm or decline payouts.\n\n\nThe examples on this page show payouts to a bank account. See payouts in stages for more examples of payouts in stages to bank accounts and wallets.\n\nUsing payouts in stages requires compliance approval and additional configuration on our end. To enable this functionality, contact your account manager or our\u00a0Support Team.\n\nOverview\nBefore you can make a payout, you have to save the account details.\nYou can choose to save the details and then submit the payout, or you can save the details and submit the details in one call. You can use the stored details when you make the next payout to the same account.\nThe last step is to confirm or decline the payout.\nStore details and then submit a payout\n\nMake a \/storeDetail call to save the payout details.\nMake a \/submitThirdParty call to submit the payout.\nConfirm or decline the payout.\n\nStore details and immediately submit a payout\n\nMake a \/storeDetailAndSubmitThirdParty call to save the payout details and submit the payout.\nConfirm or decline the payout.\n\nStore payout details\nTo submit a payout request, the details of the account receiving the funds need to be part of a recurring contract. The recurring contract is used for\u00a0subsequent payouts to this account.\nYou can create a recurring contract\u00a0with the  \/storeDetail call.\nThe following example shows how you can store bank account details.\n\nYou can also store the details when you submit the first payout.\n\n\n    \n\n\n    \n\nSubmit a payout\nAfter you store the account details, you can submit payouts with\u00a0a call to\u00a0 \/submitThirdParty. You have to use the details of a\u00a0recurring contract\u00a0when you request the payout.\nTo use the latest created\u00a0recurring contract,\u00a0use the\u00a0LATEST\u00a0values\u00a0in the request.\nThe following example shows how to make a payout to the bank account shown in the previous example.\n\n    \n\n\n    \n\nStore details and submit a payout\nYou can store the account details and make a payout request in a single API call to\u00a0 \/storeDetailAndSubmitThirdParty.\u00a0\nTo do this, set\u00a0the recurring value to\u00a0RECURRING,PAYOUT.\u00a0This creates a\u00a0recurring contract, which can be used for subsequent payouts to this account.\u00a0\n\n    \n\n\n    \n\nConfirm or decline a payout\nYou need to confirm or decline all payouts within 7 days. After that, the payout expires.\n\nYou can also confirm and decline payouts manually in your\u00a0Customer Area &gt; Transactions &gt; Payouts.\n\nConfirm a payout\nTo confirm a payout, call the\u00a0 \/confirmThirdParty\u00a0endpoint. In the originalReference field, specify the PSP reference from the \/submitThirdParty or the \/storeDetailAndSubmitThirdParty response.\n\n    \n\n\nYour admin user assigns the permissions for confirming payment details.\u00a0If they are unable to assign these permissions, they should contact\u00a0Support Team.\n\nDecline a payout\nTo decline a payout, call the\u00a0 \/declineThirdParty\u00a0endpoint. In the originalReference field, specify the PSP reference from the \/submitThirdParty or the \/storeDetailAndSubmitThirdParty response.\n\n    \n\n\nYour admin user assigns the permissions for declining payment details.\u00a0If they are unable to assign these permissions, they should contact\u00a0Support Team.\n\nSupported countries\/regions\nBelow is an overview of the supported countries\/regions for each payout method, according to recipient country\/region.\nNote that:\u00a0\n\nYou can only pay out in the local currency.\nIn most cases, a local entity is required.\n\n\n    \n\n\n\nRecipient country\/region\nBank payouts\nPayPal\n\n\n\n\nUnited States\n\n\n\n\nAustria\n\n\n\n\nBelgium\n\n\n\n\nRepublic of Cyprus\n\n\n\n\nEstonia\n\n\n\n\nFinland\n\n\n\n\nFrance\n\n\n\n\nGermany\n\n\n\n\nGreece\n\n\n\n\nIreland\n\n\n\n\nItaly\n\n\n\n\nLatvia\n\n\n\n\nLiechtenstein\n\n\n\n\nLithuania\n\n\n\n\nLuxembourg\n\n\n\n\nMalta\n\n\n\n\nPrincipality of Monaco\n\n\n\n\nNetherlands\n\n\n\n\nPoland\n\n\n\n\nPortugal\n\n\n\n\nRepublic of San Marino\n\n\n\n\nSlovakia\n\n\n\n\nSlovenia\n\n\n\n\nSpain\n\n\n\n\nSwitzerland\n\n\n\n\nUnited Kingdom\n\n\n\n\n\n\n\n\nSee also\n\n\n                    Online payouts\n                \n                    Payout webhook\n                \n                    Payout examples\n                \n                    API Explorer\n                \n","type":"page","locale":"pt","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Online payments","lvl2":"Online payouts","lvl3":"Payouts in stages"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/online-payments","lvl2":"https:\/\/docs.adyen.com\/pt\/online-payments\/online-payouts","lvl3":"\/pt\/online-payments\/online-payouts\/payouts-to-bank-accounts-and-wallets"},"levels":4,"category":"Online Payments","category_color":"green","tags":["Payouts","stages"]},"articleFiles":{"confirmpayout.js":"<p alt=\"\">confirmpayout.js<\/p>","declinepayout.js":"<p alt=\"\">declinepayout.js<\/p>","storeandsubmitpayout.js":"<p alt=\"\">storeandsubmitpayout.js<\/p>","storedetail.js":"<p alt=\"\">storedetail.js<\/p>","submitpayout.js":"<p alt=\"\">submitpayout.js<\/p>"}}
