{"title":"Upgrade to Checkout API v72","category":"default","creationDate":1778167250,"content":"<p>Checkout API v72 introduces validations to the values that you send in API requests. To upgrade to this version, you must make sure that the data you send meets our validations.<\/p>\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;\">An online payments integration that uses  <a href=\"https:\/\/docs.adyen.com\/api-explorer\/Checkout\/latest\/overview\" class=\"codeLabel  external-link no-image\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Checkout API<\/a>.<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong><a href=\"\/development-resources\/api-credentials\/roles\/\">API credential roles<\/a><\/strong><\/td>\n<td style=\"text-align: left;\">Make sure that you have the following role: <ul><li><strong>Checkout webservice role<\/strong><\/li><\/ul><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong><a href=\"\/account\/user-roles\">Customer Area roles<\/a><\/strong><\/td>\n<td style=\"text-align: left;\">Make sure that you have one of the following roles: <ul><li><strong>Merchant admin role<\/strong><\/li> <li><strong>Manage API credentials<\/strong><\/li><\/ul><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Validate the data that you send<\/h2>\n<p>Check that the values that you send in each parameter in the following table meets the validations.<\/p>\n<table>\n<thead>\n<tr>\n<th>Parameter<\/th>\n<th>Validation requirement<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>billingAddress.postalCode<\/code><\/td>\n<td>Maximum length: 10 characters.<\/td>\n<\/tr>\n<tr>\n<td><code>billingAddress.stateOrProvinceCode<\/code><\/td>\n<td>Maximum length: 10 characters.<\/td>\n<\/tr>\n<tr>\n<td><code>captureDelayHours<\/code><\/td>\n<td>Maximum value: <strong>672<\/strong>. This maximum value corresponds to 28 (twenty-eight) days.<\/td>\n<\/tr>\n<tr>\n<td><code>dateOfBirth<\/code><\/td>\n<td>Format requirement:<br\/>Must be in <a href=\"https:\/\/www.iso.org\/iso-8601-date-and-time-format.html\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">ISO-8601<\/a> format with the date (<code>YYYY-MM-DD<\/code>). Example: <strong>2005-03-01<\/strong> (March 1, 2025).<\/td>\n<\/tr>\n<tr>\n<td><code>deliveryAddress.postalCode<\/code><\/td>\n<td>Maximum length: 10 characters.<\/td>\n<\/tr>\n<tr>\n<td><code>deliveryAddress.stateOrProvinceCode<\/code><\/td>\n<td>Format requirement: <ul><li>Must be an <a href=\"https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1_alpha-2\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">ISO 3166-1 alpha-2<\/a> code.<\/li><\/ul><br \/>Maximum length:<ul><li>2 characters.<\/li><\/ul><\/td>\n<\/tr>\n<tr>\n<td><code>entityType<\/code><\/td>\n<td>Possible values: <ul><li><strong>NaturalPerson<\/strong><\/li><li><strong>CompanyName<\/strong><\/li><\/ul><\/td>\n<\/tr>\n<tr>\n<td><code>metadata<\/code><\/td>\n<td>Maximum lengths:<ul><li>For the key: 20 characters.<\/li><li>For the value: 80 characters.<\/li><\/ul><\/td>\n<\/tr>\n<tr>\n<td><code>reference<\/code><\/td>\n<td>Maximum length: 80 characters.<\/td>\n<\/tr>\n<tr>\n<td><code>returnUrl<\/code><\/td>\n<td>Format requirement: <ul><li>Must meet the <a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc2396\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external-link no-image\">RFC 2396<\/a> standard. If the URL to return to includes non-ASCII characters, like spaces or special letters, you must URL encode the value.<\/li><\/ul><br \/>Maximum length:<ul><li>1024 characters.<\/li><\/ul><\/td>\n<\/tr>\n<tr>\n<td><code>shopperEmail<\/code><\/td>\n<td>Format requirements: <ul><li>Must not have spaces.<\/li><li>Must contain the at symbol character(<code>@<\/code>) .<\/li><li>Must contain text before and after the at symbol character (<code>@<\/code>).<\/li><li>The email domain must not start with the period character (<code>.<\/code>).<\/li><li>The username must not include the quotation marks character (<code>\"<\/code>), unless the whole name is in quotation marks.<\/li><\/ul><br \/>Maximum length:<ul><li>256 characters.<\/li><\/ul><\/td>\n<\/tr>\n<tr>\n<td><code>shopperIP<\/code><\/td>\n<td>Maximum length: 256 characters.<\/td>\n<\/tr>\n<tr>\n<td><code>shopperName.firstName<\/code><\/td>\n<td>Maximum length: 100 characters.<\/td>\n<\/tr>\n<tr>\n<td><code>shopperName.lastName<\/code><\/td>\n<td>Maximum length: 100 characters.<\/td>\n<\/tr>\n<tr>\n<td><code>socialSecurityNumber<\/code><\/td>\n<td>Maximum length: 50 characters.<\/td>\n<\/tr>\n<tr>\n<td><code>telephoneNumber<\/code><\/td>\n<td>Maximum length: 64 characters.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","url":"https:\/\/docs.adyen.com\/online-payments\/upgrade-your-integration\/upgrade-to-checkout-api-v72","articleFields":{"description":"Find what you must do to upgrade to Checkout API v72.","robots":"noindex,nofollow","feedback_component":true},"algolia":{"url":"https:\/\/docs.adyen.com\/online-payments\/upgrade-your-integration\/upgrade-to-checkout-api-v72","title":"Upgrade to Checkout API v72","content":"Checkout API v72 introduces validations to the values that you send in API requests. To upgrade to this version, you must make sure that the data you send meets our validations.\nRequirements\n\n\n\nRequirement\nDescription\n\n\n\n\nIntegration type\nAn online payments integration that uses  Checkout API.\n\n\nAPI credential roles\nMake sure that you have the following role: Checkout webservice role\n\n\nCustomer Area roles\nMake sure that you have one of the following roles: Merchant admin role Manage API credentials\n\n\n\nValidate the data that you send\nCheck that the values that you send in each parameter in the following table meets the validations.\n\n\n\nParameter\nValidation requirement\n\n\n\n\nbillingAddress.postalCode\nMaximum length: 10 characters.\n\n\nbillingAddress.stateOrProvinceCode\nMaximum length: 10 characters.\n\n\ncaptureDelayHours\nMaximum value: 672. This maximum value corresponds to 28 (twenty-eight) days.\n\n\ndateOfBirth\nFormat requirement:Must be in ISO-8601 format with the date (YYYY-MM-DD). Example: 2005-03-01 (March 1, 2025).\n\n\ndeliveryAddress.postalCode\nMaximum length: 10 characters.\n\n\ndeliveryAddress.stateOrProvinceCode\nFormat requirement: Must be an ISO 3166-1 alpha-2 code.Maximum length:2 characters.\n\n\nentityType\nPossible values: NaturalPersonCompanyName\n\n\nmetadata\nMaximum lengths:For the key: 20 characters.For the value: 80 characters.\n\n\nreference\nMaximum length: 80 characters.\n\n\nreturnUrl\nFormat requirement: Must meet the RFC 2396 standard. If the URL to return to includes non-ASCII characters, like spaces or special letters, you must URL encode the value.Maximum length:1024 characters.\n\n\nshopperEmail\nFormat requirements: Must not have spaces.Must contain the at symbol character(@) .Must contain text before and after the at symbol character (@).The email domain must not start with the period character (.).The username must not include the quotation marks character (\"), unless the whole name is in quotation marks.Maximum length:256 characters.\n\n\nshopperIP\nMaximum length: 256 characters.\n\n\nshopperName.firstName\nMaximum length: 100 characters.\n\n\nshopperName.lastName\nMaximum length: 100 characters.\n\n\nsocialSecurityNumber\nMaximum length: 50 characters.\n\n\ntelephoneNumber\nMaximum length: 64 characters.\n\n\n\n","type":"page","locale":"en","boost":17,"hierarchy":{"lvl0":"Home","lvl1":"Online payments","lvl2":"Upgrade your integration","lvl3":"Upgrade to Checkout API v72"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/","lvl1":"https:\/\/docs.adyen.com\/online-payments","lvl2":"https:\/\/docs.adyen.com\/online-payments\/upgrade-your-integration","lvl3":"\/online-payments\/upgrade-your-integration\/upgrade-to-checkout-api-v72"},"levels":4,"category":"Online Payments","category_color":"green","tags":["Upgrade","Checkout"]}}
