CINXE.COM
Codes, guidelines and policies for developers
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Codes, guidelines and policies for developers</title><meta/><meta name="description" content="Learn how to create and integrate scalable PayPal checkout solutions for web and mobile applications."/><meta name="keywords" content="Checkout, Checkout SDK, standard payments, advanced payments"/><link rel="stylesheet" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_assets/app-745IA2BC.css"/><link rel="stylesheet" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_assets/components-ZZEAIKUP.css"/><link rel="stylesheet" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_assets/index-GZIYDW5O.css"/><link rel="stylesheet" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_assets/devHome-B5MJEGOK.css"/><link rel="stylesheet" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_assets/NewsletterDevelop-2JMCMVGG.css"/><link rel="stylesheet" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_assets/feedbackButton-VZ55YSEU.css"/><link rel="icon" href="https://www.paypalobjects.com/webstatic/developer/favicons/pp32.png" type="image/png"/><link rel="stylesheet" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.12/_assets/components-5MEQIBK4.css"/><link rel="stylesheet" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_assets/docs-HVBQEDA7.css"/><link rel="stylesheet" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_assets/archetype-migrated-pages-R2NELPHH.css"/></head><body><style data-emotion="css ittogg-button_base-text_button_lg-btn_full_width-size_sm-text_button_sm">.css-ittogg-button_base-text_button_lg-btn_full_width-size_sm-text_button_sm{position:relative;border-radius:1000px;color:#ffffff;cursor:pointer;display:inline-block;min-width:6rem;text-align:center;-webkit-text-decoration:none;text-decoration:none;-webkit-transition:color 0.20s ease,background-color 0.20s ease,border-color 0.20s ease;transition:color 0.20s ease,background-color 0.20s ease,border-color 0.20s ease;border:0.125rem solid #003087;color:#ffffff;font-family:PayPalOpen-Bold,"Helvetica Neue",Arial,sans-serif;font-size:1.125rem;line-height:1.5rem;font-weight:700;background-color:#003087;padding:0.625rem 1.875rem;color:#ffffff;font-family:PayPalOpen-Bold,"Helvetica Neue",Arial,sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:700;min-width:3.75rem;padding:0.25rem 0.875rem;}@media screen and (max-width: 752px){.css-ittogg-button_base-text_button_lg-btn_full_width-size_sm-text_button_sm{font-size:min(1.125rem, 36px);line-height:min(1.5rem, 48px);}}.css-ittogg-button_base-text_button_lg-btn_full_width-size_sm-text_button_sm:hover,.css-ittogg-button_base-text_button_lg-btn_full_width-size_sm-text_button_sm:active,.css-ittogg-button_base-text_button_lg-btn_full_width-size_sm-text_button_sm:visited{color:#ffffff;}.css-ittogg-button_base-text_button_lg-btn_full_width-size_sm-text_button_sm:hover{-webkit-text-decoration:none;text-decoration:none;background-color:#0070e0;border-color:#0070e0;}.css-ittogg-button_base-text_button_lg-btn_full_width-size_sm-text_button_sm:active{outline:none;background-color:#001c64;border-color:#001c64;}.css-ittogg-button_base-text_button_lg-btn_full_width-size_sm-text_button_sm:focus{outline:none;box-shadow:0 0 0 0.125rem #ffffff;outline-offset:0.125rem;outline:0.125rem solid #097ff5;}@media (max-width: 47rem){.css-ittogg-button_base-text_button_lg-btn_full_width-size_sm-text_button_sm{width:100%;}}@media screen and (max-width: 752px){.css-ittogg-button_base-text_button_lg-btn_full_width-size_sm-text_button_sm{font-size:min(0.875rem, 28px);line-height:min(1.25rem, 40px);}}</style><button tabindex="0" class="feedbackButton css-ittogg-button_base-text_button_lg-btn_full_width-size_sm-text_button_sm" data-ppui-info="buttons_7.10.4__7.42.2">Feedback<style data-emotion="css 1bj9kom-affordance">.css-1bj9kom-affordance{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem;-webkit-margin-end:0;margin-inline-end:0;vertical-align:top;position:relative;pointer-events:none;}</style></button><div class="mainAppWrapper"><div style="top:0px"><div data-testid="pp-headermobile" class="HeaderMobile-module_pp-header__kVnXw"><div class="HeaderMobile-module_main__35Qj-"><div data-testid="HeaderMenuIcon"><svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" width="1em" height="1em" data-ppui="true"><path d="M5 5a1 1 0 0 0 0 2h14a1 1 0 1 0 0-2H5zm-1 7a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1zm0 6a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1z" data-ppui="true"></path></svg></div><svg width="184" height="44" viewBox="0 0 184 44" fill="none" xmlns="http://www.w3.org/2000/svg" class="ppLogo"><path d="M46.0709 30.6537V10.3628C46.0709 9.90719 46.3084 9.66434 46.7515 9.66434H50.6927C53.449 9.66434 56.8272 9.66434 59.4343 11.362C62.1318 13.1221 63.8209 16.6099 63.8209 20.5511C63.8209 24.1291 62.3986 27.2237 60.1171 29.1041C57.3902 31.3476 54.4281 31.3476 50.9007 31.3476H46.7515C46.3061 31.3476 46.0709 31.1047 46.0709 30.6491V30.6537ZM51.9092 28.0147C56.9764 28.0147 59.9408 26.1344 59.9408 20.5534C59.9408 15.6408 57.0375 13.062 52.2959 13.062C51.3778 13.062 50.6362 13.062 49.8357 13.092V28.0147H51.9092Z" fill="#003087"></path><path d="M65.1549 23.3427C65.1549 18.4903 68.3544 14.8799 73.096 14.8799C78.0751 14.8799 80.7116 18.6707 80.7116 23.3126V23.6156C80.7116 24.0713 80.4154 24.3141 79.9993 24.3141L68.7682 24.2841C69.0056 26.893 70.7241 28.7734 73.243 28.7734C74.7535 28.7734 75.8207 28.1975 76.5036 27.2561C76.741 26.9531 76.9784 26.8005 77.3334 26.8005H79.5855C79.9699 26.8005 80.2367 26.9832 80.2367 27.226C80.2367 27.3162 80.2367 27.4088 80.0287 27.832C78.9614 30.0154 76.6212 31.8356 73.1526 31.8356C68.2934 31.8356 65.1527 28.3177 65.1527 23.3427H65.1549ZM77.0983 21.6451C76.8608 19.4617 75.3798 17.764 73.0689 17.764C70.758 17.764 69.1866 19.1286 68.8903 21.6451H77.0983Z" fill="#003087"></path><path d="M86.6697 30.8041L81.3062 16.4573C81.1886 16.1242 81.157 16.0317 81.157 15.9415C81.157 15.6084 81.3944 15.4257 81.7788 15.4257H84.2977C84.6821 15.4257 84.9489 15.6385 85.0688 16.0016L86.9071 21.733C87.4995 23.5833 87.9155 24.6449 88.6255 26.9485H88.6843C89.3355 24.7351 89.6928 23.8539 90.4932 21.3675L92.2117 15.9993C92.3293 15.6362 92.5961 15.4234 92.9827 15.4234H95.4135C95.7979 15.4234 96.0059 15.6061 96.0059 15.9392C96.0059 16.0294 95.9765 16.1219 95.8883 16.3948L90.4661 30.8018C90.3168 31.1973 90.0817 31.3476 89.695 31.3476H87.443C87.0586 31.3476 86.8211 31.1649 86.6719 30.8018L86.6697 30.8041Z" fill="#003087"></path><path d="M96.5666 23.3427C96.5666 18.4903 99.7661 14.8799 104.508 14.8799C109.487 14.8799 112.123 18.6707 112.123 23.3126V23.6156C112.123 24.0713 111.827 24.3141 111.411 24.3141L100.18 24.2841C100.417 26.893 102.136 28.7734 104.655 28.7734C106.165 28.7734 107.232 28.1975 107.915 27.2561C108.153 26.9531 108.39 26.8005 108.745 26.8005H110.997C111.382 26.8005 111.648 26.9832 111.648 27.226C111.648 27.3162 111.648 27.4088 111.44 27.832C110.373 30.0154 108.033 31.8356 104.564 31.8356C99.7051 31.8356 96.5644 28.3177 96.5644 23.3427H96.5666ZM108.51 21.6451C108.273 19.4617 106.791 17.764 104.481 17.764C102.17 17.764 100.598 19.1286 100.302 21.6451H108.51Z" fill="#003087"></path><path d="M114.199 30.6537V10.3628C114.199 9.90719 114.436 9.66434 114.88 9.66434H117.132C117.577 9.66434 117.812 9.90719 117.812 10.3628V30.6537C117.812 31.1094 117.575 31.3522 117.132 31.3522H114.88C114.434 31.3522 114.199 31.1094 114.199 30.6537Z" fill="#003087"></path><path d="M120.035 23.4052C120.035 18.4001 123.266 14.8822 128.155 14.8822C133.043 14.8822 136.304 18.4001 136.304 23.4052C136.304 28.4102 133.134 31.8379 128.096 31.8379C123.058 31.8379 120.035 28.29 120.035 23.4052ZM132.48 23.3751C132.48 20.2203 130.821 17.9768 128.094 17.9768C125.367 17.9768 123.736 20.2203 123.736 23.3751C123.736 26.5299 125.367 28.7433 128.094 28.7433C130.821 28.7433 132.48 26.6201 132.48 23.3751Z" fill="#003087"></path><path d="M138.468 36.1121V16.1242C138.468 15.6686 138.705 15.4257 139.148 15.4257H141.192C141.638 15.4257 141.873 15.6686 141.873 16.1242V17.5489C142.732 16.1843 144.48 14.91 147.207 14.91C151.474 14.91 154.409 18.3677 154.409 23.3427C154.409 28.3177 151.594 31.713 147.119 31.713C144.688 31.713 142.911 30.4988 142.052 29.1966H142.022C142.081 30.3184 142.081 31.2597 142.081 32.3213V36.1121C142.081 36.5678 141.844 36.8106 141.4 36.8106H139.148C138.703 36.8106 138.468 36.5678 138.468 36.1121ZM150.707 23.2826C150.707 20.2504 149.106 17.9445 146.382 17.9445C143.657 17.9445 141.907 20.2805 141.907 23.4029C141.907 26.5252 143.775 28.6808 146.382 28.6808C148.989 28.6808 150.707 26.3148 150.707 23.2826Z" fill="#003087"></path><path d="M155.596 23.3427C155.596 18.4903 158.795 14.8799 163.537 14.8799C168.516 14.8799 171.152 18.6707 171.152 23.3126V23.6156C171.152 24.0713 170.856 24.3141 170.44 24.3141L159.209 24.2841C159.447 26.893 161.165 28.7734 163.684 28.7734C165.194 28.7734 166.262 28.1975 166.945 27.2561C167.182 26.9531 167.419 26.8005 167.774 26.8005H170.026C170.411 26.8005 170.678 26.9832 170.678 27.226C170.678 27.3162 170.678 27.4088 170.47 27.832C169.402 30.0154 167.062 31.8356 163.593 31.8356C158.734 31.8356 155.594 28.3177 155.594 23.3427H155.596ZM167.539 21.6451C167.302 19.4617 165.821 17.764 163.51 17.764C161.199 17.764 159.627 19.1286 159.331 21.6451H167.539Z" fill="#003087"></path><path d="M173.138 30.6537V16.1242C173.138 15.6686 173.346 15.4257 173.789 15.4257H175.833C176.278 15.4257 176.514 15.6686 176.514 16.1242V16.4873C176.514 16.8505 176.514 17.2159 176.484 17.5489C177.018 15.9415 178.469 15.0325 180.247 15.0325C180.81 15.0325 181.165 15.2153 181.165 15.7611V17.9445C181.165 18.3076 181.016 18.5805 180.661 18.5805C180.423 18.5805 180.186 18.4903 179.713 18.4903C177.402 18.4903 176.749 20.5534 176.749 23.8284V30.6537C176.749 31.1094 176.511 31.3522 176.068 31.3522H173.816C173.371 31.3522 173.135 31.1094 173.135 30.6537H173.138Z" fill="#003087"></path><path d="M31.0619 10.9442C31.1607 5.81765 26.9309 1.8832 21.1148 1.8832H9.08474C8.80449 1.88325 8.53346 1.9833 8.3204 2.16538C8.10735 2.34745 7.96627 2.59959 7.92255 2.87641L3.10245 32.9954C3.08088 33.1318 3.08915 33.2713 3.12669 33.4043C3.16422 33.5373 3.23014 33.6605 3.31988 33.7656C3.40963 33.8706 3.52107 33.955 3.64655 34.0128C3.77202 34.0706 3.90854 34.1006 4.0467 34.1006H11.1737L10.0599 41.0761C10.0385 41.2125 10.0468 41.352 10.0844 41.4849C10.1219 41.6178 10.1879 41.741 10.2776 41.846C10.3673 41.951 10.4787 42.0353 10.6042 42.0931C10.7296 42.1509 10.8661 42.1808 11.0042 42.1809H16.81C17.0902 42.1808 17.3399 42.0808 17.553 41.8987C17.7661 41.7166 17.8006 41.4645 17.8443 41.1877L19.5483 31.1604C19.592 30.8835 19.733 30.5247 19.9461 30.3426C20.1591 30.1604 20.345 30.0603 20.6253 30.0602H24.1784C29.874 30.0602 34.7068 26.0117 35.5904 20.3811C36.2155 16.3838 34.5019 12.7475 31.0619 10.9442Z" fill="#001C64"></path><path d="M12.7155 22.9938L10.9404 34.2495L9.82674 41.3102C9.80525 41.4466 9.81357 41.5861 9.85115 41.719C9.88872 41.8519 9.95464 41.9751 10.0444 42.0801C10.1341 42.1851 10.2455 42.2694 10.371 42.3272C10.4964 42.385 10.6329 42.4149 10.771 42.415H16.9152C17.1955 42.4149 17.4665 42.3148 17.6796 42.1328C17.8926 41.9507 18.0337 41.6986 18.0774 41.4218L19.6962 31.1602C19.7398 30.8833 19.8808 30.631 20.0939 30.4489C20.307 30.2667 20.5781 30.1666 20.8584 30.1665H24.4753C30.171 30.1665 35.0038 26.0115 35.8873 20.3809C36.5139 16.384 34.5019 12.7475 31.0619 10.9442C31.0535 11.3699 31.0164 11.7948 30.9505 12.2154C30.0674 17.8456 25.2337 22.001 19.5385 22.001H13.8777C13.5974 22.0011 13.3264 22.1012 13.1134 22.2832C12.9003 22.4653 12.7592 22.717 12.7155 22.9938Z" fill="#0070E0"></path><path d="M10.9404 34.2495L3.79121 34.2494C3.65307 34.2495 3.51656 34.2196 3.39109 34.1618C3.26561 34.104 3.15416 34.0197 3.0644 33.9147C2.97465 33.8097 2.90873 33.6865 2.87119 33.5536C2.83366 33.4206 2.82539 33.2811 2.84696 33.1447L7.66707 2.57842C7.71079 2.30159 7.85186 2.04945 8.06492 1.86738C8.27797 1.68531 8.54901 1.58525 8.82926 1.58521H21.1149C26.931 1.58521 31.1607 5.81765 31.0619 10.9442C29.6144 10.1854 27.9144 9.75115 26.0513 9.75115H15.8085C15.5282 9.75121 15.2571 9.85134 15.0441 10.0335C14.831 10.2157 14.69 10.4679 14.6463 10.7448L12.7155 22.9938L10.9404 34.2495Z" fill="#003087"></path></svg></div></div></div><div style="margin-top:64px"><style data-emotion="css s8u2ug-row">.css-s8u2ug-row{display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;-webkit-box-flex-wrap:wrap;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-0.75rem;margin-left:-0.75rem;}</style><div class="css-s8u2ug-row" data-ppui-info="grid_3.3.5"><style data-emotion="css 1nhh7rf-col">.css-1nhh7rf-col{position:relative;width:100%;min-height:1px;padding-right:0.75rem;padding-left:0.75rem;-ms-flex-preferred-size:0;-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%;}</style><div class="leftRail css-1nhh7rf-col" style="background:white;padding-right:0;min-width:392px" data-ppui="true"><div style="position:fixed;top:0px;left:0px;height:100vh;z-index:55;max-width:20rem"><div class="leftNav_wrapper leftNav_wrapper_loggedOut"><div data-testid="pp-leftnav"><div class="Sidebar-module_primary__MXi-i"><nav class="Sidebar-module_mainmenu__nH5xY"><div class="Sidebar-module_navChild__plzxA"><div class="Sidebar-module_navItemContent__yjLDE"><a href="/" title="Navigate to Home"><span class="Sidebar-module_icon__DFohx Sidebar-module_iconActive__vDNym"><svg viewBox="0 0 21 20" width="21" height="21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20.8802 9.72L11.4002 0.24L11.2802 0.12C11.1202 -0.04 10.8702 -0.04 10.7102 0.12L1.11023 9.72C0.950234 9.88 0.950234 10.13 1.11023 10.29L1.60023 10.78C1.76023 10.94 2.01023 10.94 2.17023 10.78L2.84023 10.11C2.88023 10.07 2.95023 10.07 2.99023 10.11V16.65C2.99023 18.31 4.33023 19.65 5.99023 19.65H8.09023C8.31023 19.65 8.49023 19.47 8.49023 19.25V14.56C8.49023 13.42 9.22023 12.37 10.3202 12.08C11.9902 11.65 13.4902 12.89 13.4902 14.49V19.25C13.4902 19.47 13.6702 19.65 13.8902 19.65H16.0002C17.6602 19.65 19.0002 18.31 19.0002 16.65V10.11C19.0402 10.07 19.1102 10.07 19.1502 10.11L19.8202 10.78C19.9802 10.94 20.2302 10.94 20.3902 10.78L20.8802 10.29C21.0402 10.13 21.0402 9.87 20.8802 9.72Z" fill="#000000"></path></svg></span><span class="Sidebar-module_iconLink__E5gdw">Home</span></a></div><div class="Sidebar-module_navItemContent__yjLDE"><a href="/docs/online/" title="Navigate to Online"><span class="Sidebar-module_icon__DFohx "><svg width="21" height="21" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 3C0 1.61929 1.11929 0.5 2.5 0.5H15.5C16.8807 0.5 18 1.61929 18 3V12C18 13.3807 16.8807 14.5 15.5 14.5H10V16H14C14.5523 16 15 16.4477 15 17C15 17.5523 14.5523 18 14 18H4C3.44772 18 3 17.5523 3 17C3 16.4477 3.44772 16 4 16H8V14.5H2.5C1.11929 14.5 0 13.3807 0 12V3ZM3 10.5C2.44772 10.5 2 10.9477 2 11.5C2 12.0523 2.44772 12.5 3 12.5H15C15.5523 12.5 16 12.0523 16 11.5C16 10.9477 15.5523 10.5 15 10.5H3Z" fill="#000000"></path></svg></span><span class="Sidebar-module_iconLink__E5gdw">Online</span></a></div><div class="Sidebar-module_navItemContent__yjLDE"><a href="/docs/in-person/" title="Navigate to In-Person"><span class="Sidebar-module_icon__DFohx "><svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18.75 4.42022L5.79 1.05022C4.9 0.820223 3.98 1.35022 3.75 2.25022L2.78 6.00022H16.2C17.45 6.00022 18.53 6.70022 19.09 7.72022C19.22 7.95022 19.58 7.89022 19.64 7.63022L19.95 6.45022C20.18 5.56022 19.65 4.65022 18.75 4.42022Z" fill="#000000"></path><path d="M16.21 7.50022H1.8C0.81 7.50022 0 8.31022 0 9.30022V18.3002C0 19.2902 0.81 20.1002 1.8 20.1002H16.2C17.19 20.1002 18 19.2902 18 18.3002V9.30022C18.01 8.31022 17.2 7.50022 16.21 7.50022ZM14.51 18.1002C14.13 18.1002 13.78 17.9502 13.52 17.7202C13.44 17.6502 13.33 17.6502 13.25 17.7202C12.99 17.9602 12.64 18.1002 12.26 18.1002C11.43 18.1002 10.76 17.4302 10.76 16.6002C10.76 15.7702 11.43 15.1002 12.26 15.1002C12.64 15.1002 12.99 15.2502 13.25 15.4802C13.33 15.5502 13.44 15.5502 13.52 15.4802C13.78 15.2402 14.13 15.1002 14.51 15.1002C15.34 15.1002 16.01 15.7702 16.01 16.6002C16.01 17.4302 15.33 18.1002 14.51 18.1002Z" fill="#000000"></path></svg></span><span class="Sidebar-module_iconLink__E5gdw">In-Person</span></a></div><div class="Sidebar-module_navItemContent__yjLDE"><a href="/docs/multiparty/" title="Navigate to Multiparty"><span class="Sidebar-module_icon__DFohx "><svg width="21" height="21" viewBox="0 0 20 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.7778 0H2.22222C1 0 0 1 0 2.22222V13.7778C0 15 1 16 2.22222 16H17.7778C19 16 20 15 20 13.7778V2.22222C20 1 19.0111 0 17.7778 0ZM12.7 9.48889L11.4333 10L12.6556 11.2222C12.8889 11.4556 12.8889 11.8222 12.6556 12.0556L12.4556 12.2556C12.2222 12.4889 11.8556 12.4889 11.6222 12.2556L10.4 11.0333L9.88889 12.3C9.78889 12.5444 9.44444 12.5444 9.34444 12.3L7.14444 7.13333C7.04444 6.88889 7.28889 6.64444 7.53333 6.74444L12.7 8.93333C12.9444 9.04445 12.9444 9.38889 12.7 9.48889ZM18.1111 4.43333H1.88889C1.76667 4.43333 1.66667 4.33333 1.66667 4.21111V2.22222C1.66667 1.91111 1.91111 1.66667 2.22222 1.66667H17.7778C18.0889 1.66667 18.3333 1.91111 18.3333 2.22222V4.21111C18.3333 4.33333 18.2333 4.43333 18.1111 4.43333Z" fill="#000000"></path></svg></span><span class="Sidebar-module_iconLink__E5gdw">Multiparty</span></a></div><div class="Sidebar-module_navItemContent__yjLDE"><a href="/docs/3rd-party/" title="Navigate to 3rd Party"><span class="Sidebar-module_icon__DFohx "><svg width="21" height="21" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19.7 6.16909L15 1.49252H15.3C15.7 1.49252 16 1.19402 16 0.796012C16 0.298505 15.6 0 15.2 0H4.7C4.3 0 4 0.298505 4 0.696511C4 1.09452 4.3 1.39302 4.7 1.39302H5L0.3 6.16909C0.1 6.3681 0 6.5671 0 6.8656V7.46261C0 8.55713 0.9 9.45264 2 9.45264C3.1 9.45264 4 8.55713 4 7.46261C4 8.55713 4.9 9.45264 6 9.45264C7.1 9.45264 8 8.55713 8 7.46261C8 8.55713 8.9 9.45264 10 9.45264C11.1 9.45264 12 8.55713 12 7.56211C12 8.65663 12.9 9.45264 14 9.45264C15.1 9.45264 16 8.55713 16 7.46261C16 8.55713 16.9 9.45264 18 9.45264C19.1 9.45264 20 8.55713 20 7.46261V6.8656C20 6.5671 19.9 6.3681 19.7 6.16909Z" fill="#000000"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M2 10.4479V18.408C2 20 3.2 20 4.8 20C4.9 20 5 20 5 20H6.4C6.7 20 7 19.7015 7 19.403V15.6219C7 13.9304 8.3 12.6369 10 12.6369C11.7 12.6369 13 13.9304 13 15.6219V19.403C13 19.7015 13.3 20 13.6 20H15C15.1 20 15.2 20 15.2 20C16.7 20 18 20 18 18.408V10.4479C17.2 10.4479 16.5 10.1493 16 9.65184C15.5 10.1493 14.8 10.4479 14 10.4479C13.2 10.4479 12.5 10.1493 12 9.65184C11.5 10.1493 10.8 10.4479 10 10.4479C9.2 10.4479 8.5 10.1493 8 9.65184C7.5 10.1493 6.8 10.4479 6 10.4479C5.2 10.4479 4.5 10.1493 4 9.65184C3.5 10.1493 2.8 10.4479 2 10.4479Z" fill="#000000"></path></svg></span><span class="Sidebar-module_iconLink__E5gdw">3rd Party</span></a></div><div class="Sidebar-module_navItemContent__yjLDE"><a href="/docs/payouts/" title="Navigate to Payouts"><span class="Sidebar-module_icon__DFohx "><div><svg width="21" height="21" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M21 3.00098C21 2.44869 20.5523 2.00098 20 2.00098H4C3.44772 2.00098 3 2.44869 3 3.00098V10.9066C3 11.4589 3.44772 11.9066 4 11.9066L20 11.9066C20.5523 11.9066 21 11.4589 21 10.9066V3.00098ZM19.5 3.34863H4.5V10.184L19.5 10.184V3.34863Z" fill="#000000"></path><path d="M3.16414 18.2221C2.94529 18.008 2.94529 17.6609 3.16414 17.4469L4.53311 16.1078C4.61966 16.0232 4.68313 15.9185 4.73266 15.8081C5.15963 14.8559 6.29748 14.1748 7.63412 14.1747V14.1733H13.7932C14.6444 14.1733 15.3344 14.8482 15.3344 15.6808C15.3344 16.5133 14.6444 17.0677 13.7932 17.0677L10.6408 17.0677L10.6321 17.0987C10.5777 17.2917 10.4981 17.574 10.3965 17.7376L14.6322 18.4459C15.1304 18.5292 15.6413 18.4107 16.052 18.1167L18.6083 16.2864C19.1554 15.7513 20.0425 15.7513 20.5896 16.2864C21.1368 16.8216 21.1368 17.6893 20.5896 18.2245L17.4599 20.621C16.8767 21.0676 16.1436 21.2718 15.4135 21.1911L9.3469 20.5207C9.1056 20.494 8.86558 20.5809 8.69719 20.7558L7.65426 21.8389C7.43541 22.0529 7.08057 22.0529 6.86172 21.8389L3.16414 18.2221Z" fill="#000000"></path><path d="M6.26115 5.3836C6.26115 4.97361 6.59694 4.64123 7.01115 4.64123H16.9888C17.4031 4.64123 17.7388 4.97361 17.7388 5.3836C17.7388 5.7936 17.4031 6.12597 16.9888 6.12597H7.01115C6.59694 6.12597 6.26115 5.7936 6.26115 5.3836Z" fill="#000000"></path><path d="M7.01115 7.16315C6.59694 7.16315 6.26115 7.49551 6.26115 7.90551C6.26115 8.3155 6.59694 8.64787 7.01115 8.64787L12.4598 8.64787C12.874 8.64787 13.2098 8.3155 13.2098 7.90551C13.2098 7.49551 12.874 7.16315 12.4598 7.16315H7.01115Z"></path></svg></div></span><span class="Sidebar-module_iconLink__E5gdw">Payouts</span></a></div><div class="Sidebar-module_navItemContent__yjLDE"><a href="/docs/disputes/" title="Navigate to Disputes"><span class="Sidebar-module_icon__DFohx "><svg width="21" height="21" viewBox="0 0 16 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.79988 1.83891C2.79988 1.30871 3.22969 0.878906 3.75988 0.878906C4.29008 0.878906 4.71988 1.30871 4.71988 1.83891V2.79891H14.845C15.3621 2.79891 15.7106 3.32773 15.5067 3.80288L14.0664 7.15856C14.0118 7.28587 14.0148 7.43057 14.0747 7.55548L15.4428 10.4075C15.6721 10.8855 15.3237 11.4389 14.7936 11.4389H4.71988V18.1589H5.67988C6.21008 18.1589 6.63988 18.5887 6.63988 19.1189C6.63988 19.6491 6.21008 20.0789 5.67988 20.0789H1.83988C1.30969 20.0789 0.879883 19.6491 0.879883 19.1189C0.879883 18.5887 1.30969 18.1589 1.83988 18.1589H2.79988V1.83891Z" fill="#000000"></path></svg></span><span class="Sidebar-module_iconLink__E5gdw">Disputes</span></a></div><div class="Sidebar-module_navItemContent__yjLDE"><a title="Navigate to Reports" href="/docs/reports/"><span class="Sidebar-module_icon__DFohx "><svg width="21" height="21" viewBox="0 0 16 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 0C14.3807 0 15.5 1.11929 15.5 2.5V17.5C15.5 18.8807 14.3807 20 13 20H3C1.61929 20 0.5 18.8807 0.5 17.5V2.5C0.5 1.11929 1.61929 0 3 0H13ZM9.875 15H3.625C3.27982 15 3 15.2798 3 15.625C3 15.9702 3.27982 16.25 3.625 16.25H9.875C10.2202 16.25 10.5 15.9702 10.5 15.625C10.5 15.2798 10.2202 15 9.875 15ZM12.375 15C12.0298 15 11.75 15.2798 11.75 15.625C11.75 15.9702 12.0298 16.25 12.375 16.25C12.7202 16.25 13 15.9702 13 15.625C13 15.2798 12.7202 15 12.375 15ZM9.875 12.5H3.625C3.27982 12.5 3 12.7798 3 13.125C3 13.4702 3.27982 13.75 3.625 13.75H9.875C10.2202 13.75 10.5 13.4702 10.5 13.125C10.5 12.7798 10.2202 12.5 9.875 12.5ZM12.375 12.5C12.0298 12.5 11.75 12.7798 11.75 13.125C11.75 13.4702 12.0298 13.75 12.375 13.75C12.7202 13.75 13 13.4702 13 13.125C13 12.7798 12.7202 12.5 12.375 12.5ZM9.875 10H3.625C3.27982 10 3 10.2798 3 10.625C3 10.9702 3.27982 11.25 3.625 11.25H9.875C10.2202 11.25 10.5 10.9702 10.5 10.625C10.5 10.2798 10.2202 10 9.875 10ZM12.375 10C12.0298 10 11.75 10.2798 11.75 10.625C11.75 10.9702 12.0298 11.25 12.375 11.25C12.7202 11.25 13 10.9702 13 10.625C13 10.2798 12.7202 10 12.375 10ZM7.375 3.75H3.625C3.27982 3.75 3 4.02982 3 4.375V5.625C3 5.97018 3.27982 6.25 3.625 6.25H7.375C7.72018 6.25 8 5.97018 8 5.625V4.375C8 4.02982 7.72018 3.75 7.375 3.75Z" fill="#000000"></path></svg></span><span class="Sidebar-module_iconLink__E5gdw">Reports</span></a></div><div class="Sidebar-module_navItemContent__yjLDE"><a title="Navigate to Identity" href="/docs/log-in-with-paypal/"><span class="Sidebar-module_icon__DFohx "><svg width="21" height="21" viewBox="0 0 20 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 16.5V12.5H1.5V16H5V17.5H1C0.447716 17.5 0 17.0523 0 16.5ZM1.5 2H5V0.5H1C0.447715 0.5 0 0.947716 0 1.5V5.5H1.5V2ZM18.5 2V5.5H20V1.5C20 0.947715 19.5523 0.5 19 0.5H15V2H18.5ZM18.5 16H15V17.5H19C19.5523 17.5 20 17.0523 20 16.5V12.5H18.5V16ZM3 5.5C3 4.67157 3.67157 4 4.5 4H15.5C16.3284 4 17 4.67157 17 5.5V12.5C17 13.3284 16.3284 14 15.5 14H4.5C3.67157 14 3 13.3284 3 12.5V5.5ZM4.5 6C4.22386 6 4 6.22386 4 6.5C4 6.77614 4.22386 7 4.5 7H15.5C15.7761 7 16 6.77614 16 6.5C16 6.22386 15.7761 6 15.5 6H4.5ZM9.93421 11.7481C10.4118 10.9123 10.8675 10.4151 11.2418 10.1505C11.619 9.88387 11.8659 9.88178 11.9814 9.91641C12.0841 9.94723 12.1971 10.041 12.2454 10.2681C12.2949 10.5009 12.2642 10.8538 12.0529 11.2764C11.9294 11.5234 12.0295 11.8237 12.2765 11.9472C12.5235 12.0707 12.8238 11.9706 12.9473 11.7236C13.1728 11.2725 13.4108 10.995 13.6102 10.8412C13.8133 10.6845 13.9464 10.676 13.9919 10.6825C14.0165 10.686 14.0451 10.6933 14.0716 10.7633C14.1046 10.8501 14.1269 11.0385 14.0257 11.3419C13.9384 11.6039 14.08 11.887 14.342 11.9743C14.6039 12.0617 14.8871 11.9201 14.9744 11.6581C15.1233 11.2115 15.1456 10.7749 15.0066 10.4086C14.8613 10.0254 14.5462 9.75151 14.1333 9.69252C13.811 9.64648 13.4845 9.73815 13.1875 9.91961C13.0531 9.47337 12.7422 9.10061 12.2688 8.95859C11.7592 8.80573 11.1937 8.95988 10.6646 9.3339C10.1327 9.70992 9.58836 10.3377 9.06596 11.2519C8.92896 11.4917 9.01226 11.7971 9.25202 11.9341C9.49178 12.0711 9.7972 11.9878 9.93421 11.7481Z" fill="#000000"></path></svg></span><span class="Sidebar-module_iconLink__E5gdw">Identity</span></a></div><div class="Sidebar-module_navItemContent__yjLDE"><a title="Navigate to Docs Archive" href="/docs/archive/"><span class="Sidebar-module_icon__DFohx "><svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.5309 3C3.72442 3 3.23261 4.07444 3.65978 4.75849L5.76145 8.22571C6.06188 8.70681 5.91541 9.34037 5.4343 9.6408C4.9532 9.94123 4.31964 9.79477 4.01921 9.31366L1.91754 5.84645C0.63605 3 2.11148 1.00018 4.5309 1.00018H16.7556C16.8492 1.00018 16.9399 0.976706 17.0261 1.00018C17.706 1.1156 18.7134 1.70548 19.7022 2.81903C20.9122 4.18169 21.0687 6.96557 20.9787 8.52667C20.9595 8.86052 20.7603 9.15289 20.4671 9.31366L19.3422 9.93045C18.7986 10.2285 18.117 9.9807 17.8916 9.40323L15.5116 3H4.5309Z" fill="#000000"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M2.42773 11H14.9998V21H3.18138C2.15468 21 2.12957 19.8886 1.99026 18.8714L1.01841 12.6931C0.849453 11.4594 1.18254 11 2.42773 11ZM7.48833 15.9409C8.08666 15.7294 8.51534 15.1588 8.51534 14.488C8.51534 13.6372 7.82563 12.9475 6.97482 12.9475C6.12402 12.9475 5.4343 13.6372 5.4343 14.488C5.4343 15.1588 5.86298 15.7294 6.46132 15.9409V17.2699C6.46132 17.5535 6.69122 17.7834 6.97482 17.7834C7.25843 17.7834 7.48833 17.5535 7.48833 17.2699V15.9409Z" fill="#000000"></path><path d="M15.9998 11H19C20.1344 11 20 11.2962 20 12.4306V19.4494C20 20.5838 19.6344 21 18.5 21H15.9998V11Z" fill="#000000"></path></svg></span><span class="Sidebar-module_iconLink__E5gdw">Docs Archive</span></a></div><div class="Sidebar-module_navItemContent__yjLDE"><a href="/video/home/" title="Navigate to Video"><span class="Sidebar-module_icon__DFohx "><svg width="21" height="21" viewBox="2 2 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM14.66 13.73L13.38 14.47L12.1 15.21C10.45 16.16 9.1 15.38 9.1 13.48V12V10.52C9.1 8.61 10.45 7.84 12.1 8.79L13.38 9.53L14.66 10.27C16.31 11.22 16.31 12.78 14.66 13.73Z" fill="#000000"></path><path d="M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM14.66 13.73L13.38 14.47L12.1 15.21C10.45 16.16 9.1 15.38 9.1 13.48V12V10.52C9.1 8.61 10.45 7.84 12.1 8.79L13.38 9.53L14.66 10.27C16.31 11.22 16.31 12.78 14.66 13.73Z" fill="#000000"></path></svg></span><span class="Sidebar-module_iconLink__E5gdw">Video</span></a></div></div></nav><div class="Sidebar-module_secondary__1n0th"><a class="Sidebar-module_secondaryNavTitle__rNxKm" href="/reference/">Reference</a><ul class="Sidebar-module_linksContainer__dl4-Q"><div class="activeNavChildren"><div class="outerNav"><li class="Sidebar-module_nestedLink__0X2Jv" style="padding-left:0px"><a rel="noopener noreferrer" href="/reference/currency-codes/" target="_self">Currency Codes</a></li></div></div><div class="activeNavChildren"><div class="outerNav"><li class="Sidebar-module_nestedLink__0X2Jv" style="padding-left:0px"><a rel="noopener noreferrer" href="/reference/country-codes/" target="_self">Country Codes</a></li></div></div><div class="activeNavChildren"><div class="outerNav"><li class="Sidebar-module_nestedLink__0X2Jv" style="padding-left:0px"><a rel="noopener noreferrer" href="/reference/locale-codes/" target="_self">Locale Codes</a></li></div></div><div class="activeNavChildren"><div class="outerNav"><li class="Sidebar-module_nestedLink__0X2Jv" style="padding-left:0px"><a rel="noopener noreferrer" href="/reference/state-codes/" target="_self">State Codes</a></li></div></div><div class="activeNavChildren"><div class="outerNav"><div class="navWithChildren"><li class="Sidebar-module_nestedNav__gN9ix" style="padding-left:0px"><div class="Sidebar-module_nestedNavContainer__v1HgI" data-testid="nested-nav-container"><a href="/reference/guidelines/">Guidelines</a><a href="/reference/guidelines/"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.29778 7.81926C5.6883 7.42874 6.32147 7.42874 6.71199 7.81926L12.0043 13.1116L17.2872 7.81985C17.6774 7.429 18.3106 7.42847 18.7014 7.81867C19.0922 8.20887 19.0928 8.84203 18.7026 9.23288L12.7132 15.2322C12.7132 15.2322 12.7126 15.2329 12.0049 14.5264L12.7132 15.2322C12.5258 15.42 12.2707 15.5263 12.0053 15.5264C11.7399 15.5265 11.4854 15.4211 11.2978 15.2335L5.29778 9.23347C4.90725 8.84295 4.90725 8.20979 5.29778 7.81926Z" fill="#0c0c0d"></path></svg></a></div></li></div></div></div><div class="activeNavChildren"><div class="outerNav"><li class="Sidebar-module_nestedLink__0X2Jv" style="padding-left:0px"><a rel="noopener noreferrer" href="/reference/production/" target="_self">Production Environment</a></li></div></div></ul></div></div></div></div></div></div><div class="css-1nhh7rf-col" style="padding-left:0" data-ppui="true"><div class="mainWrapper"><div class="docsRouteContainer"><style data-emotion="css 165s6em-layout_container">.css-165s6em-layout_container{width:100%;padding-right:2.25rem;padding-left:2.25rem;margin-right:auto;margin-left:auto;max-width:90rem;}@media (min-width: 47rem){.css-165s6em-layout_container{padding-right:2rem;padding-left:2rem;max-width:90rem;}}@media (min-width: 90rem){.css-165s6em-layout_container{padding-right:3rem;padding-left:3rem;max-width:90rem;}}</style><div class="css-165s6em-layout_container" data-ppui-info="grid_3.3.5"><div class="css-s8u2ug-row" data-ppui-info="grid_3.3.5"><div class="noPaddingHeader css-1nhh7rf-col" data-ppui="true"><div class="breadcrumb breadcrumbInner"><div class=""><a href="/" class="breadcrumbLink">Home</a><span style="padding:0 4px">/</span> </div><div class=""><a href="/reference/" class="activeBreadcrumbLink">Reference</a> </div></div><div class="headlineWith_dropdown"><h1 class="guideTitle guideTitle_auto">Codes, guidelines and policies for developers</h1><div class="automatedCountry_dropdown"></div></div><div class="badgesRow"><style data-emotion="css 17zwphu-badge_base-text_caption-neutral">.css-17zwphu-badge_base-text_caption-neutral{color:#001435;font-family:PayPalOpen-Regular,"Helvetica Neue",Arial,sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:500;max-width:18rem;overflow:hidden;word-break:break-word;text-transform:none;-webkit-line-clamp:2;display:-webkit-inline-box;-webkit-box-orient:vertical;height:auto;padding:0.125rem 0.5rem;border-radius:0.5rem;color:#001435;background-color:#e6e0d9;}@media screen and (max-width: 752px){.css-17zwphu-badge_base-text_caption-neutral{font-size:min(0.875rem, 28px);line-height:min(1.25rem, 40px);}}[dir='rtl'] .css-17zwphu-badge_base-text_caption-neutral{text-align:right;}</style><span class="css-17zwphu-badge_base-text_caption-neutral" data-ppui-info="badge_3.4.8" style="margin-right:8px">DOCS</span><style data-emotion="css w619c7-badge_base-text_caption-warning">.css-w619c7-badge_base-text_caption-warning{color:#001435;font-family:PayPalOpen-Regular,"Helvetica Neue",Arial,sans-serif;font-size:0.875rem;line-height:1.25rem;font-weight:500;max-width:18rem;overflow:hidden;word-break:break-word;text-transform:none;-webkit-line-clamp:2;display:-webkit-inline-box;-webkit-box-orient:vertical;height:auto;padding:0.125rem 0.5rem;border-radius:0.5rem;color:#001435;background-color:#ffbe4a;}@media screen and (max-width: 752px){.css-w619c7-badge_base-text_caption-warning{font-size:min(0.875rem, 28px);line-height:min(1.25rem, 40px);}}[dir='rtl'] .css-w619c7-badge_base-text_caption-warning{text-align:right;}</style><span class="css-w619c7-badge_base-text_caption-warning" data-ppui-info="badge_3.4.8" style="margin-right:8px">Current</span><p class="lastUpdated">Last updated: <!-- -->Aug 15th, 7:16am</p></div></div></div></div><div class="css-165s6em-layout_container" data-ppui-info="grid_3.3.5"><div class="css-s8u2ug-row" data-ppui-info="grid_3.3.5"><div class="css-1nhh7rf-col" data-ppui="true"><div style="max-width:100%"><div class="ecmRichText" style="margin-bottom:0px"><h2 id="regional-codes" class="dx-anchor"> <span id="#regional-codes" class="headingAnchorLinks"></span> <a href="#regional-codes" class="dx-anchor__icon" aria-hidden="true" pa-marked="1" tabindex="-1"></a> <!-- -->Regional Codes</h2><section><div class="grid"><div class="grid grid__item--12"><div class="grid__item grid__item--6 block block--outlined"><a class="div-head" data-link-internal="true" href="/reference/currency-codes/"><span>Currency codes</span></a><p><span>Codes for supported currencies</span></p></div><div class="grid__item grid__item--6 block block--outlined"><a class="div-head" data-link-internal="true" href="/reference/country-codes/"><span>Country codes</span></a><p><span>Codes for supported countries</span></p></div></div><div class="grid grid__item--12"><div class="grid__item grid__item--6 block block--outlined"><a class="div-head" data-link-internal="true" href="/reference/country-codes/"><span>State codes</span></a><p><span>Codes for supported states and provinces</span></p></div><div class="grid__item grid__item--6 block block--outlined"><a class="div-head" data-link-internal="true" href="/reference/country-codes/"><span>Locale codes</span></a><p><span>Codes for supported languages and locales</span></p></div></div></div></section><h2 id="guidelines--policies" class="dx-anchor"> <span id="#guidelines--policies" class="headingAnchorLinks"></span> <a href="#guidelines--policies" class="dx-anchor__icon" aria-hidden="true" pa-marked="1" tabindex="-1"></a> <!-- -->Guidelines &amp; Policies</h2><section><div class="grid grid__item--12"><div class="grid__item grid__item--12 block block--outlined"><a class="div-head" data-link-internal="true" href="/reference/guidelines/"><span>Work smarter</span></a><p><span>Guidelines and policies to help you during your integration</span></p></div></div></section></div></div></div></div></div></div><div class="footerWrapper"><div class="Footer-module_pp-footer__OHeGT"><a href="/reference/">Reference</a><a href="https://www.paypal.com">PayPal.com</a><a href="https://www.paypal.com/myaccount/privacy/privacyhub?_ga=1.14097599.947497879.1704302180">Privacy</a><a href="https://www.paypal.com/myaccount/privacy/cookiePrefs?_ga=1.20912176.947497879.1704302180">Cookies</a><a href="/support/">Support</a><a href="https://www.paypal.com/us/webapps/mpp/ua/legalhub-full?_ga=1.20912176.947497879.1704302180">Legal</a><a href="https://www.paypal.com/us/smarthelp/contact-us?_ga=1.20912176.947497879.1704302180">Contact</a></div></div></div></div></div></div></div><script src="https://www.paypalobjects.com/pa/js/min/pa.js"></script><script nonce="WuTmfoyxnPB2PMW4Zw3WF8ckw8PRyRghRCIpNIV80XurBe+O">((STORAGE_KEY, restoreKey) => { if (!window.history.state || !window.history.state.key) { let key = Math.random().toString(32).slice(2); window.history.replaceState({ key }, ""); } try { let positions = JSON.parse(sessionStorage.getItem(STORAGE_KEY) || "{}"); let storedY = positions[restoreKey || window.history.state.key]; if (typeof storedY === "number") { window.scrollTo(0, storedY); } } catch (error) { console.error(error); sessionStorage.removeItem(STORAGE_KEY); } })("positions", null)</script><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/entry.client-LE7HVE6L.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-74XPZ2XI.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-K6PKMUOT.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-NIHYRWYB.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-R3BZDWPT.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-6W5JIPOY.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-ZIKIQIN5.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-234JEMSE.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-CXVSS6YP.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-HCUK4XTP.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-7IWYD2YT.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-HDBMZYQT.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-GV2W7C53.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-UNPNSDYV.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-B5UUCXUI.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/root-2EH2KKKA.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-S7WCVRNL.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-QWLJYJSA.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-BPVC5GQJ.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-O5GINU3Q.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-H3EOENUU.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-2TO4XNRJ.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-HWY7WL4B.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-NG2RVBTY.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-UUUE4SLH.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-4ZP7FUZQ.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-SEWB2RP6.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/routes/__docs-pages-LLCQOP5U.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-FS5KCQ6G.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-KZZLGDCP.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-XPLI3DTO.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-62WJBUZI.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-EKTSJK5B.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-YOY4QA3B.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-FUHNLPVE.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/_shared/chunk-HAIGETTC.js"/><link rel="modulepreload" href="https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/routes/__docs-pages/reference.$-JQUBQLXE.js"/><script nonce="WuTmfoyxnPB2PMW4Zw3WF8ckw8PRyRghRCIpNIV80XurBe+O">window.__remixContext = {"url":"/reference/","state":{"loaderData":{"root":{"nonce":"WuTmfoyxnPB2PMW4Zw3WF8ckw8PRyRghRCIpNIV80XurBe+O","_csrf":"jlgiz7fKbCp/NoKQvm45hltcCrMU65mq/G1Nk=","serverData":{"cdnHost":"www.paypalobjects.com"},"locale":{"timezone":{"determiner":"viaCowPrimary","value":"America/Los_Angeles"},"country":"US","locale":"en_US","language":"en","directionality":"ltr"},"anomalyDetection":{},"feedback":"Trmt_feedback_buttons_survey_2","onboarding":"Trmt_simplified_onboarding_ddnw","signupramp":"Trmt_Developer_Signup_UI_Update","uiramp":"Trmt_Developer_New_IA","webllsOn":"Trmt_Developer_WebLLS","runInPostmanFeatureSwitch":"Trmt_Devdoc_RunInPostman_Button","integrationBuilder":"Trmt_Developer_Integration_Builder","isRedocly":"Trmt_Redocly_Hosting","isNewArchetype":"Trmt_Page_Archetypes","reboot":"Ctrl_Developer_Account_Reboot","ai_search":"Ctrl_Developer_AI_Search","devsignup":"Trmt_developer_sign_up","codespaces":"Trmt_Developer_Codespaces","communityExperience":"Trmt_Community_Developer_Experience","ecmramp":"Trmt_Developer_ECM","homePageRamp":"Trmt_Homepage_New_UI","studioRamp":"Trmt_Dev_Studio","studioStandardRamp":"Trmt_Dev_Standard_Studio","serverSdkExperience":"Trmt_Server_Sdk_Portal","ecmhomeramp":"Trmt_ECM_Homepage","fastlanecommunity":"Trmt_Fastlane_Community","developerReferralFormExp":"Trmt_Developer_Referral_Form","devregistration":"Trmt_developer_devregistration","newsletterSignup":"Trmt_Newsletter_Signup_DevHome","treatmentIds":{"Ctrl_Developer_AI_Search":{"treatmentId":"151346","experimentId":"108221"},"Trmt_Dev_Studio":{"treatmentId":"146747","experimentId":"109550"},"Trmt_Developer_Signup_UI_Update":{"treatmentId":"108151","experimentId":"102213"},"Trmt_Homepage_New_UI":{"treatmentId":"146245","experimentId":"109549"},"Trmt_developer_devregistration":{"treatmentId":"153818","experimentId":"110831"},"Trmt_simplified_onboarding_ddnw":{"treatmentId":"104418","experimentId":"101352"},"Trmt_Developer_WebLLS":{"treatmentId":"123359","experimentId":"105174"},"Trmt_Server_Sdk_Portal":{"treatmentId":"151297","experimentId":"110527"},"Trmt_Dev_Standard_Studio":{"treatmentId":"150437","experimentId":"110393"},"Trmt_ECM_Homepage":{"treatmentId":"149028","experimentId":"110128"},"Trmt_Community_Developer_Experience":{"treatmentId":"143363","experimentId":"109056"},"Trmt_Developer_Codespaces":{"treatmentId":"139030","experimentId":"108272"},"Trmt_Developer_Homepage_UI_Update":{"treatmentId":"106023","experimentId":"101765"},"Trmt_Developer_ECM":{"treatmentId":"145859","experimentId":"109543"},"Trmt_Redocly_Hosting":{"treatmentId":"131534","experimentId":"106823"},"Trmt_Developer_Referral_Form":{"treatmentId":"152833","experimentId":"110712"},"Trmt_Page_Archetypes":{"treatmentId":"131142","experimentId":"106744"},"Trmt_Developer_New_IA":{"treatmentId":"119781","experimentId":"104539"},"Trmt_Developer_Integration_Builder":{"treatmentId":"123040","experimentId":"105242"},"Trmt_Fastlane_Community":{"treatmentId":"149996","experimentId":"110303"},"Ctrl_Developer_IB2_KBYC":{"treatmentId":"133540","experimentId":"107199"},"Trmt_Devdoc_RunInPostman_Button":{"treatmentId":"123290","experimentId":"105277"},"Trmt_developer_sign_up":{"treatmentId":"150170","experimentId":"110263"},"Ctrl_Developer_Account_Reboot":{"treatmentId":"134509","experimentId":"107395"},"Trmt_feedback_buttons_survey_2":{"treatmentId":"104129","experimentId":"100963"},"do_not_show_gateway":{"treatmentId":"100512","experimentId":"100216"},"Trmt_Newsletter_Signup_DevHome":{"treatmentId":"154815","experimentId":"111029"}},"experiments":{"feedback":"Trmt_feedback_buttons_survey_2","onboarding":"Trmt_simplified_onboarding_ddnw","signupramp":"Trmt_Developer_Signup_UI_Update","uiramp":"Trmt_Developer_New_IA","webllsOn":"Trmt_Developer_WebLLS","runInPostmanFeatureSwitch":"Trmt_Devdoc_RunInPostman_Button","integrationBuilder":"Trmt_Developer_Integration_Builder","isRedocly":"Trmt_Redocly_Hosting","isNewArchetype":"Trmt_Page_Archetypes","reboot":"Ctrl_Developer_Account_Reboot","ai_search":"Ctrl_Developer_AI_Search","devsignup":"Trmt_developer_sign_up","codespaces":"Trmt_Developer_Codespaces","communityExperience":"Trmt_Community_Developer_Experience","ecmramp":"Trmt_Developer_ECM","homePageRamp":"Trmt_Homepage_New_UI","studioRamp":"Trmt_Dev_Studio","studioStandardRamp":"Trmt_Dev_Standard_Studio","serverSdkExperience":"Trmt_Server_Sdk_Portal","ecmhomeramp":"Trmt_ECM_Homepage","fastlanecommunity":"Trmt_Fastlane_Community","developerReferralFormExp":"Trmt_Developer_Referral_Form","devregistration":"Trmt_developer_devregistration","newsletterSignup":"Trmt_Newsletter_Signup_DevHome"},"user":{"loggedIn":false,"userGuid":"76be409f1930a7361d923b54ffffbba5","logout":{"url":"https://www.paypal.com/signout?returnUri=PAGEURL","isNewWindow":false},"hardLogout":{"url":"https://www.paypal.com/signout?returnUri=PAGEURL\u0026hard=true","isNewWindow":false},"login":{"url":"https://www.paypal.com/signin?returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdashboard%2F\u0026intent=developer\u0026ctxId=ul1732864000159","isNewWindow":false}},"cookieBannerInfo":{"css":"\u003cstyle nonce=\"WuTmfoyxnPB2PMW4Zw3WF8ckw8PRyRghRCIpNIV80XurBe+O\"\u003e@font-face { font-family: \"PayPalOpen-Regular\"; font-style: normal; font-display: swap; src: url('https://www.paypalobjects.com/paypal-ui/fonts/PayPalOpen-Regular.woff2') format('woff2'), url('https://www.paypalobjects.com/paypal-ui/fonts/PayPalOpen-Regular.woff') format('woff'), url('https://www.paypalobjects.com/paypal-ui/fonts/PayPalOpen-Regular.otf') format('opentype'); } #ccpaCookieBanner { font-family: PayPalOpen-Regular, sans-serif; } @keyframes slideInFromBottom { 0% { transform: translateY(100%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } } .ccpaCookieBanner_container { animation: 1s ease-in 0s 1 slideInFromBottom; width: 84%; margin-left: 8%; position: fixed; bottom: 2rem; background-color: #FFFFFF; z-index: 1051; display: flex; align-items: center; justify-content: center; min-height: 6rem; box-shadow: 0px 12px 28px rgb(0 0 0 / 16%); border-radius: 12px; } .ccpaCookieBanner_content-container { padding: 1.875rem 4rem 1.875rem 5rem; } .ccpaCookieBanner_content { color: #000000; font-family: 'PayPalOpen-Regular'; font-size: 14px; line-height: 20px; margin: 0; padding: 0; } #manageCookiesLink { text-decoration: underline; color: #0070ba; font-family: PayPalOpen-Regular; font-weight: 500; } .ccpaCookieBanner_content a:focus, .ccpaCookieBanner_buttonGroup button:focus { border: 1px solid #0070BA; } .ccpaCookieBanner_buttonGroup { padding-right: 5rem; display: flex; flex-direction: column; } button.ccpaCookieBanner_top-button { font-size: 14px; line-height: 24px; font-weight: 600; color: #FFFFFF; background: #0070BA; border: 1px solid #0070BA; border-radius: 24px; min-width: 6rem; min-height: 2rem; cursor: pointer; padding: 0px 2rem; text-wrap: nowrap; white-space: nowrap; } button.ccpaCookieBanner_bottom-button { font-size: 14px; line-height: 24px; font-weight: 600; color: #FFFFFF; background: #0070BA; border: 1px solid #0070BA; border-radius: 24px; min-width: 6rem; min-height: 2rem; cursor: pointer; padding: 0px 2rem; text-wrap: nowrap; white-space: nowrap; } .ccpaCookieBanner-acceptedAll { height: auto; padding-bottom: 8em; } @media only screen and (max-width: 768px) { .ccpaCookieBanner_container{ width: 92%; margin-left: 4%; display: block; bottom: 1rem; } .ccpaCookieBanner_content-container { padding: 0.75rem 2.5rem 0.75rem 1.25rem } .ccpaCookieBanner_buttonGroup { flex-direction: row; justify-content: center; padding: 0 0 0.75rem 0; } button.ccpaCookieBanner_top-button{ margin: 0 1.25rem 0 0; } } @media only screen and (max-width: 600px) { .ccpaCookieBanner-acceptedAll { height: auto; padding-bottom: 12em; } } @media only screen and (max-width: 575.98px) { .ccpaHideCookieBannerMobile { display:none; } } @media only screen and (min-width: 768px) { button.ccpaCookieBanner_top-button, button.ccpaCookieBanner_bottom-button { display: block; } button.ccpaCookieBanner_bottom-button{ margin-top: 0.5rem; } }\u003c/style\u003e","html":"\u003cdiv id=\"ccpaCookieBanner\" class=\"ccpaCookieBanner_container\"\u003e\u003cdiv id=\"ccpaCookieContent_wrapper\" class=\"ccpaCookieBanner_content-container\"\u003e\u003cp class=\"ccpaCookieBanner_content\"\u003eWe use cookies to improve your experience on our site. May we use marketing cookies to show you personalized ads? \u003ca id=\"manageCookiesLink\" href=\"https://www.paypal.com/myaccount/privacy/cookiePrefs?locale=en_US\"\u003eManage all cookies\u003c/a\u003e\u003c/p\u003e\u003c/div\u003e\u003cdiv class=\"ccpaCookieBanner_buttonGroup\"\u003e\u003cbutton id=\"acceptAllButton\" class=\"ccpaCookieBanner_top-button\"\u003eYes, I accept\u003c/button\u003e\u003cbutton id=\"bannerDeclineButton\" aria-label=\"decline\" class=\"ccpaCookieBanner_bottom-button\"\u003eNo, I decline\u003c/button\u003e \u003c/div\u003e\u003c/div\u003e","js":"\u003cscript nonce=\"WuTmfoyxnPB2PMW4Zw3WF8ckw8PRyRghRCIpNIV80XurBe+O\"\u003e(function () { var bannerFptiData = {}; function getFptiReqData () { let fptiReqData = window \u0026\u0026 window.fpti \u0026\u0026 window.PAYPAL \u0026\u0026 window.PAYPAL.analytics \u0026\u0026 window.PAYPAL.analytics.instance \u0026\u0026 window.PAYPAL.analytics.instance.options \u0026\u0026 window.PAYPAL.analytics.instance.options.request \u0026\u0026 window.PAYPAL.analytics.instance.options.request.data; if (fptiReqData) { bannerFptiData = { api_name: 'cookieBanner', page: 'main:privacy:policy:ccpa', pgrp: 'main:privacy:policy', displaypage: window.fpti.pgrp, ppage: 'privacy_banner', bannertype: 'cookiebanner', ccpg: 'US', flag: 'ccpa', bannerversion: 'v4', bannersource: 'ConsentNodeServ', bannervariant: '', xe: '110041,109128,105410,105409,104759,109059,104407', xt: '148500,143659,123956,123954,120842,143369,119038', eligibility_reason: 'true', is_native: 'false', cookie_disabled: cookieDisabled(), reason_to_hide: reasonToHideBanner() }; if(true){ bannerFptiData = { ...bannerFptiData, userstate : 'NOT FOUND', usercountry : 'SG', stateaccuracy : '0', countryaccuracy : '99', loggedin : 'false' } } } return fptiReqData; } function getFptiPage () { return getFptiReqData() \u0026\u0026 getFptiReqData().page; } function setSessionStorage(key) { try { sessionStorage.setItem(key, true); } catch (e) { console.log('error on setting sessioStorage', e); } } function isBannerClosed () { let is_banner_closed = false; try{ if(sessionStorage.getItem(\"isBannerClosed\") || sessionStorage.getItem(\"isUserAccepted\") || sessionStorage.getItem(\"isInvisibleBanner\")){ is_banner_closed = true; } } catch (e){ is_banner_closed = false; } return is_banner_closed || (false \u0026\u0026 true \u0026\u0026 !navigator.cookieEnabled); } function reasonToHideBanner(){ let reason = ''; try { if (false \u0026\u0026 true \u0026\u0026 !navigator.cookieEnabled){ reason = 'cookies are disabled'; } else if(sessionStorage.getItem(\"isUserAccepted\")){ reason = 'User accepted or declined'; } else if(sessionStorage.getItem(\"isBannerClosed\")){ reason = 'Banner Closed'; } else if(sessionStorage.getItem(\"isInvisibleBanner\")){ reason = 'Invisible banner loaded'; } } catch (error) { reason=''; } return reason; } function cookieFilteringRequest(eventSource){ const page = window \u0026\u0026 window.fpti \u0026\u0026 window.fpti.page || window \u0026\u0026 window.location \u0026\u0026 window.location.href; const component = window \u0026\u0026 window.fpti \u0026\u0026 window.fpti.comp || \"\"; let eventSourceUrl = window \u0026\u0026 window.location \u0026\u0026 window.location.href || ''; eventSourceUrl = eventSourceUrl.split(\"?\")[0]; const xhr = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP'); const endPoint = \"https://www.paypal.com/myaccount/privacy/cookieprefs/cookies?eventSource=\"+eventSource+\"\u0026page=\"+page+\"\u0026component=\"+component+\"\u0026eventSourceUrl=\"+eventSourceUrl; xhr.open('GET', endPoint); xhr.withCredentials = true; xhr.onreadystatechange = function () { if (xhr.readyState \u003e 3 \u0026\u0026 xhr.status === 200) { } }; xhr.setRequestHeader('Accept','application/json'); xhr.setRequestHeader('Content-Type','application/json'); xhr.send(); }; function cookieFiltering(eventSource=\"cookieBanner\"){ if(!true || false){ return; } cookieFilteringRequest(eventSource); } function postAjax(isFptiDataAvailable , cookieObj ) { if(!isFptiDataAvailable \u0026\u0026 getFptiReqData()){ isFptiDataAvailable = true; } if(isFptiDataAvailable){ acceptDeclineFptiEvents(cookieObj); } var xhr = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject(\"Microsoft.XMLHTTP\"); var endPoint = cookieObj.endPointPrefix + cookieObj.endPointSuffix; xhr.open('GET',endPoint); xhr.withCredentials = true; xhr.onreadystatechange = function() { if (xhr.readyState \u003e 3 \u0026\u0026 xhr.status == 200) { cookieFiltering(cookieObj.eventSource); } }; xhr.setRequestHeader('Accept', 'application/json','Content-Type', 'application/json'); xhr.send(null); return xhr; }; function fptiRecordClick(bannerData){ window.PAYPAL.analytics.Analytics.prototype.recordClick({ data: {...bannerData, product:\"cookieBanner\"}}); }; function acceptDeclineFptiEvents(cookieObj){ var trackingPageName = '' || getFptiPage() || document.title; var cookiesText = cookieObj.cookiesText; var cookiePrefs = cookieObj.cookiePrefs; var eventName = cookieObj.eventName; var bannerData = { e: 'cl', link: cookiesText, pglk: trackingPageName + '|' + cookiesText, pgln: trackingPageName + '|' + cookiesText, c_prefs: cookiePrefs, opsel: cookiePrefs + ',US', csource: 'cookie', event_name: eventName }; for(var key in bannerFptiData){ bannerData[key] = bannerFptiData[key]; }; fptiRecordClick(bannerData); var winFptiData = JSON.parse(JSON.stringify((window \u0026\u0026 window.fpti) || {})); var updatedFptiData = { cookiebannerhidden: 'true', c_prefs: cookiePrefs }; for(var key in bannerFptiData){ updatedFptiData[key] = bannerFptiData[key]; }; for(var key in updatedFptiData){ winFptiData[key] = updatedFptiData[key]; }; window.PAYPAL.analytics.Analytics.prototype.logActivity(winFptiData); }; function cookieObjSetup (type) { const cookieObjValue = { \"accept\" : { endPointSuffix : '\u0026type=explicit_banner\u0026country=US\u0026policy=ccpa\u0026version=v4', endPointPrefix : 'https://www.paypal.com/myaccount/privacy/cookiePrefs/accept?marketing=true\u0026performance=true\u0026functional=true', eventSource : 'acceptCookieBanner', cookiesText : 'acceptcookies', cookiePrefs : 'T=1,P=1,F=1,type=explicit_banner', eventName : 'cookie_banner_accept_clicked' }, \"decline\" : { endPointSuffix : '\u0026type=explicit_banner\u0026country=US\u0026policy=ccpa\u0026version=v4', endPointPrefix : 'https://www.paypal.com/myaccount/privacy/cookiePrefs/accept?marketing=false\u0026performance=true\u0026functional=true', eventSource : 'declineCookieBanner', cookiesText : 'declinecookies', cookiePrefs : 'T=0,P=1,F=1,type=explicit_banner', eventName : 'cookie_banner_decline_clicked' }, \"close\" : { endPointSuffix : '\u0026type=explicit_close\u0026country=US\u0026policy=ccpa\u0026version=v4', endPointPrefix : 'https://www.paypal.com/myaccount/privacy/cookiePrefs/accept?marketing=true\u0026performance=true\u0026functional=true', eventSource : 'closeCookieBanner', cookiesText : 'closecookies', cookiePrefs : 'T=1,P=1,F=1,type=explicit_close', eventName : 'cookie_banner_close_clicked' } }; return cookieObjValue[type]; } function bindGdprEvents () { var acceptAllButton = document.getElementById('acceptAllButton'); var bannerDeclineButton = document.getElementById('bannerDeclineButton'); var bannerCloseButton = document.getElementById('bannerCloseButton'); var usBannerCloseButton = document.getElementById('usBannerCloseButton'); var manageCookiesLink = document.getElementById('manageCookiesLink'); var cookieStatement = document.getElementById('cookieStatement'); var cookieLanguage = document.getElementById('ccpaCookieContent_wrapper'); var cookieBanner = document.getElementById('ccpaCookieBanner'); var cookieBannerAcceptAll = document.getElementsByClassName(\"ccpaCookieBanner-acceptedAll\"); var trackingPageName = '' || getFptiPage() || document.title; if (manageCookiesLink) { manageCookiesLink.onclick = function() { var manageCookiesData = { e: 'cl', link: 'managecookies', pglk: trackingPageName + '|managecookies', pgln: trackingPageName + '|managecookies', event_name: 'cookie_banner_manage_cookies_clicked' }; for(var key in bannerFptiData){ manageCookiesData[key] = bannerFptiData[key]; }; fptiRecordClick(manageCookiesData); }; } if (cookieStatement) { cookieStatement.onclick = function() { var cookieStatementData = { e: 'cl', link: 'cookieStmtLink', pglk: trackingPageName + '|cookieStmtLink', pgln: trackingPageName + '|cookieStmtLink', event_name: 'cookie_banner_cookie_statement_clicked' }; for(var key in bannerFptiData){ cookieStatementData[key] = bannerFptiData[key]; }; fptiRecordClick(cookieStatementData); }; } if(bannerCloseButton \u0026\u0026 cookieBanner \u0026\u0026 cookieLanguage){ bannerCloseButton.onclick = function() { hideBanner(); setSessionStorage('isBannerClosed'); var closebannerFptiData = { e: 'cl', link: 'closeBanner', pglk: trackingPageName + '|closeBanner', pgln: trackingPageName + '|closeBanner', event_name: 'cookie_banner_close_clicked' }; for(var key in bannerFptiData){ closebannerFptiData[key] = bannerFptiData[key]; }; fptiRecordClick(closebannerFptiData); }; } if (acceptAllButton \u0026\u0026 cookieBanner \u0026\u0026 cookieLanguage) { acceptAllButton.onclick = function() { hideBanner(); if (false) { setSessionStorage('isUserAccepted'); } postAjax(true , cookieObjSetup('accept')); }; } if (bannerDeclineButton \u0026\u0026 cookieBanner \u0026\u0026 cookieLanguage) { bannerDeclineButton.onclick = function() { hideBanner(); if (false) { setSessionStorage('isUserAccepted'); } postAjax(true , cookieObjSetup('decline')); }; } if (usBannerCloseButton \u0026\u0026 cookieBanner \u0026\u0026 cookieLanguage) { usBannerCloseButton.onclick = function() { hideBanner(); if (false) { setSessionStorage('isUserAccepted'); } postAjax(true , cookieObjSetup('close')); }; } window.hideGdprBanner = function () { var cookieBannerUi = document.getElementById('ccpaCookieBanner'); if (cookieBannerUi \u0026\u0026 cookieBannerUi.className.indexOf('ccpaHideCookieBannerMobile') === -1) { cookieBannerUi.className += \" ccpaHideCookieBannerMobile\"; } }; window.showGdprBanner = function () { var cookieBannerUi = document.getElementById('ccpaCookieBanner'); if (cookieBannerUi) { cookieBannerUi.className = cookieBannerUi.className.replace(\"ccpaHideCookieBannerMobile\",\"\"); } }; document.body.addEventListener(\"focus\", function (event) { if (event.target.type === 'text' || event.target.type === 'number' || event.target.type === 'password' || event.target.type === 'email' || event.target.type === 'select-one') { window.hideGdprBanner(); } }, true); } function adjustPaddingTop(){ var cookieBannerAcceptAll = document.getElementsByClassName(\"ccpaCookieBanner-acceptedAll\"); if(cookieBannerAcceptAll.length \u003e 0){ var cookieBanner = document.getElementById('ccpaCookieBanner'); var bannerHeight = cookieBanner ? cookieBanner.clientHeight : 0; if(cookieBannerAcceptAll \u0026\u0026 cookieBannerAcceptAll[0] \u0026\u0026 bannerHeight){ cookieBannerAcceptAll[0].style.paddingTop = bannerHeight/16 +'em'; } } }; var isPaddingBottomAdded = false, bannerPaddingBottom = \"\"; function adjustPaddingBottom(addListener){ if (undefined || !false) { return; } function adjustPaddingBottomEvent() { var cookieBannerAcceptAll = document.getElementsByClassName(\"ccpaCookieBanner-acceptedAll\"); if(cookieBannerAcceptAll.length \u003e 0){ var bodyPaddingBottom = cookieBannerAcceptAll[0].style.paddingBottom; var cookieBanner = document.getElementById('ccpaCookieBanner'); if(cookieBannerAcceptAll \u0026\u0026 cookieBannerAcceptAll[0] \u0026\u0026 cookieBanner.style.display != 'none') { if (bodyPaddingBottom === \"\" || (isPaddingBottomAdded \u0026\u0026 bannerPaddingBottom === bodyPaddingBottom)) { var cookieBannerContainer = document.getElementsByClassName('ccpaCookieBanner_container'); var bannerBottomHeight = cookieBannerContainer.length \u003e 0 ? parseInt(window.getComputedStyle(cookieBannerContainer[0]).bottom.replace(\"px\", \"\")) : 0; var bannerHeight = cookieBanner ? cookieBanner.clientHeight : 0; bannerPaddingBottom = ((bannerHeight + bannerBottomHeight) / 16) + 'em'; cookieBannerAcceptAll[0].style.paddingBottom = bannerPaddingBottom; isPaddingBottomAdded = true; } else if (isPaddingBottomAdded \u0026\u0026 bannerPaddingBottom !== bodyPaddingBottom) { isPaddingBottomAdded = false; } } } } if (addListener) { adjustPaddingBottomEvent(); window.addEventListener('resize', adjustPaddingBottomEvent); } else { var cookieBannerAcceptAll = document.getElementsByClassName(\"ccpaCookieBanner-acceptedAll\"); if(cookieBannerAcceptAll \u0026\u0026 cookieBannerAcceptAll[0]){ window.removeEventListener('resize', adjustPaddingBottomEvent); adjustPaddingBottomEvent(); if (isPaddingBottomAdded \u0026\u0026 cookieBannerAcceptAll[0].style.paddingBottom === bannerPaddingBottom) { cookieBannerAcceptAll[0].style.removeProperty('padding-bottom'); } } } }; window.bindGdprEvents = bindGdprEvents; function cookieDisabled() { if (navigator.cookieEnabled === false) return \"true\"; else if (navigator.cookieEnabled === true) return \"false\"; else return \"undefined\"; }; function fptiLogActivity(winFptiData){ window.PAYPAL.analytics.Analytics.prototype.logActivity({...winFptiData, product:\"cookieBanner\"}); }; function gdprSetup () { var cookieLanguage = document.getElementById('ccpaCookieContent_wrapper'); var cookieBanner = document.getElementById('ccpaCookieBanner'); var manageLink = document.getElementById('manageCookiesLink'); var acceptAllLink = document.getElementById('acceptAllButton'); var trackingPageName = '' || getFptiPage() || document.title; if(!isBannerClosed()){ document.body.className = document.body.className += \" ccpaCookieBanner-acceptedAll\"; if(undefined){ adjustPaddingTop(); window.addEventListener('resize', adjustPaddingTop); document.body.className = document.body.className += \" top-cookie-banner-enabled\"; } enableEvents(true); } var pageName = trackingPageName || getFptiPage() || document.title; var winFptiData = JSON.parse(JSON.stringify((window \u0026\u0026 window.fpti) || {})); if(false){ bannerFptiData.isNativeBannerHidden = true; } for(var key in bannerFptiData){ winFptiData[key] = bannerFptiData[key]; }; winFptiData['event_name'] = 'cookie_banner_shown'; fptiLogActivity(winFptiData); if (manageLink) { manageLink.setAttribute('pagename', (pageName + '|managecookies')); } if (acceptAllLink) { acceptAllLink.setAttribute('pagename', (pageName + '|acceptcookies')); } bindGdprEvents(); }; function hideBanner() { var cookieLanguage = document.getElementById('ccpaCookieContent_wrapper'); var cookieBanner = document.getElementById('ccpaCookieBanner'); if(cookieLanguage \u0026\u0026 cookieBanner){ cookieLanguage.style.display = 'none'; cookieBanner.style.display = 'none'; }else { return false; } window.removeEventListener('resize', adjustPaddingTop); var cookieBannerAcceptAll = document.getElementsByClassName(\"ccpaCookieBanner-acceptedAll\"); if(cookieBannerAcceptAll \u0026\u0026 cookieBannerAcceptAll[0]){ cookieBannerAcceptAll[0].style.removeProperty('padding-top'); } enableEvents(false); document.body.className = document.body.className.replace(\"ccpaCookieBanner-acceptedAll\",\"\"); document.body.className = document.body.className.replace(\"top-cookie-banner-enabled\",\"\"); return true; } function isPageReady () { var cookieBannerUi = document.getElementById('ccpaCookieBanner'); return !!(cookieBannerUi \u0026\u0026 getFptiReqData()); } function enableFocusEvent(addListener){ if(!false || undefined){ return; } var cookieBanner = document.getElementById('ccpaCookieBanner'); function focusIn(e) { if(cookieBanner \u0026\u0026 cookieBanner.style.display != 'none'){ var activeElement = document.activeElement; if(((activeElement.getBoundingClientRect().bottom) \u003e (cookieBanner.getBoundingClientRect().top)) \u0026\u0026 !activeElement.parentElement.nodeName.includes(\"UL\")){ activeElement.scrollIntoView({block: 'center'}); } }else{ document.removeEventListener(\"focusin\", focusIn); } } if(addListener){ document.addEventListener(\"focusin\",focusIn); } } function enableEvents(enable){ adjustPaddingBottom(enable); enableFocusEvent(enable); } var maxRetries = 34, bannerhidden=false; function triggerBanner() { if (isPageReady()) { cookieFiltering('pageLoad'); if(true){setTimeout(function(){ cookieFiltering('afterPageLoad')}, 3000);} if (isBannerClosed()) { hideBanner(); } if(false){ setSessionStorage('isInvisibleBanner'); } gdprSetup(); } else { if (isBannerClosed() \u0026\u0026 !bannerhidden ) { bannerhidden=hideBanner(); } if (maxRetries-- \u003e 0) { setTimeout(triggerBanner, 150); } else { cookieFiltering('pageLoad'); if(true){setTimeout(function(){ cookieFiltering('afterPageLoad')}, 3000);} if (isBannerClosed()) { hideBanner(); } if(!isBannerClosed() \u0026\u0026 document.getElementById('ccpaCookieBanner') \u0026\u0026 !document.body.className.includes(\"ccpaCookieBanner-acceptedAll\")){ document.body.className = document.body.className += \" ccpaCookieBanner-acceptedAll\"; if(undefined){ adjustPaddingTop(); window.addEventListener('resize', adjustPaddingTop); document.body.className = document.body.className += \" top-cookie-banner-enabled\"; } enableEvents(true); } var acceptAllButton = document.getElementById('acceptAllButton'); var bannerDeclineButton = document.getElementById('bannerDeclineButton'); var bannerCloseButton = document.getElementById('bannerCloseButton'); var usBannerCloseButton = document.getElementById('usBannerCloseButton'); var cookieBanner = document.getElementById('ccpaCookieBanner'); if ( acceptAllButton ) { acceptAllButton.onclick = function() { hideBanner(); if (false) { setSessionStorage('isUserAccepted'); } postAjax(false,cookieObjSetup('accept')); }; } if ( bannerDeclineButton ) { bannerDeclineButton.onclick = function() { hideBanner(); if (false) { setSessionStorage('isUserAccepted'); } postAjax(false,cookieObjSetup('decline')); }; } if ( usBannerCloseButton ) { usBannerCloseButton.onclick = function() { hideBanner(); if (false) { setSessionStorage('isUserAccepted'); } postAjax(false,cookieObjSetup('close')); }; } if ( bannerCloseButton ) { bannerCloseButton.onclick = function() { hideBanner(); setSessionStorage('isBannerClosed'); } } if(false){ setSessionStorage('isInvisibleBanner'); } } } } triggerBanner(); })();\u003c/script\u003e","cookies":{"cookie_prefs":{"value":"T=0,P=0,F=0,type=initial","options":{"maxAge":31536000000,"domain":".paypal.com"}}}},"isInternalRequest":false,"deviceInfo":{"isMobile":false,"osWindowsRt":false,"cldc":null,"networkBrand":null,"supportBasicJavaScript":false,"displayPpi":null,"indexedDB":false,"botName":null,"webSockets":false,"isWebSockets":false,"isSvg":false,"querySelector":false,"hscsd":false,"geoLocation":false,"isGeoLocation":false,"flashCapable":false,"json":false,"osWindowsPhone":false,"isTablet":false,"supportConsoleLog":false,"midiPolyphonic":false,"diagonalScreenSize":null,"memoryLimitDownload":null,"deviceOrientation":false,"aac":false,"isDownloader":"0","wmv":null,"osBada":false,"osAndroid":false,"inlinesvg":false,"jsr118":false,"displayHeight":null,"screenHeight":null,"screenWidth":null,"imagePng":false,"languageLocale":null,"supportEvents":false,"webGl":false,"imageGif89a":false,"modifyCss":false,"developerPlatform":null,"language":null,"isMobilePhone":false,"browserVersion":"7.0","modifyDom":false,"lteAdvanced":false,"version":null,"jsr37":false,"css3Transitions":false,"drmOmaCombinedDelivery":false,"uriSchemeTel":false,"mobileDevice":false,"usableDisplayWidth":null,"jsr30":false,"https":false,"imageJPG":false,"edge":false,"osVersion":"NT 6.0","vendor":null,"memoryLimitMarkup":null,"jsr139":false,"css3Columns":false,"isBrowser":true,"midiMonophonic":false,"nfc":false,"displayColorDepth":null,"sessionStorage":false,"isSessionStorage":false,"developerPlatformVersion":null,"browserName":"Internet Explorer","mcc":null,"imageGIF87":false,"osRim":false,"devicePixelRatio":null,"supportsClientSide":false,"cookieSupport":false,"gprs":false,"applicationCache":false,"umts":false,"webSqlDatabase":false,"httpLiveStreaming":false,"marketingName":null,"isFeedReader":false,"hsdpa":false,"webWorkers":false,"networkOperator":null,"countryCode":null,"vCardDownload":false,"deviceMotion":false,"osWebOs":"0","qcelpInVideo":false,"qcelp":false,"manufacturer":null,"osiOs":false,"primaryHardwareType":"Desktop","lte":false,"osProprietary":null,"touchEvents":false,"osName":"Windows Vista","supportEventListener":false,"model":null,"svg":false,"drmOmaForwardLock":false,"xhr":false,"mp3":false,"canvas":false,"hspaEvolved":false,"displayWidth":null,"id":null,"usableDisplayHeight":null,"osWindowsMobile":false,"uriSchemeSmsTo":false,"uriSchemeSms":false,"browserRenderingEngine":"Trident","mnc":null,"drmOmaSeparateDelivery":false,"osSymbian":"0","yearReleased":null,"isLocalStorage":false,"css3Transforms":false,"camera":null,"memoryLimitEmbeddedMedia":null,"html5Video":false,"csd":false,"css3Animations":false,"isDesktop":true,"isJS":false,"isCookie":false,"isHTTPS":false,"robot":false,"checker":false,"filter":false,"spam":false,"masqueradingAsDesktop":false,"isTouchScreen":false,"ereader":false,"setTopBox":false,"mediaPlayer":false,"gamesConsole":false,"tv":false,"desktop":true,"deviceOS":"Windows Vista","deviceOSVersion":"NT 6.0","browser":"Internet Explorer","cpu":null,"memory":null,"client_os":"WVI","browser_type":"IE","device_type":"DESKTOP"},"formData":{"files":[]},"analyticsOptions":{"xe":"108221,109550,102213,109549,110831,101352,105174,110527,110393,110128,109056,108272,101765,109543,106823,110712,106744,104539,105242,110303,107199,105277,110263,107395,100963,100216,111029","xt":"151346,146747,108151,146245,153818,104418,123359,151297,150437,149028,143363,139030,106023,145859,131534,152833,131142,119781,123040,149996,133540,123290,150170,134509,104129,100512,154815"}},"routes/__docs-pages/reference.$":{"id":"3rdDPBmu8CdwQjpqvizt20","createTime":"2024-08-15T07:16:38.548Z","updateTime":"2024-08-15T07:16:38.772Z","componentType":"devDocAutoMigrated","slug":"/reference/","title":"Codes, guidelines and policies for developers","badges":[{"id":"6RmrmlmNCJQ2td20fMTySj","createTime":"2024-08-15T05:47:18.767Z","updateTime":"2024-11-07T23:29:58.996Z","componentType":"Badge","text":"DOCS","type":"neutral"},{"id":"2GvySZ2i3tWbdX3wLlCk2i","createTime":"2024-08-15T05:48:06.786Z","updateTime":"2024-08-15T05:48:06.786Z","componentType":"Badge","text":"Current","type":"warning"}],"pageBody":{"node":"root","child":[{"node":"element","tag":"h2","attr":{"id":"regional-codes"},"child":[{"node":"text","text":"Regional Codes"}]},{"node":"element","tag":"section","child":[{"node":"element","tag":"div","attr":{"class":"grid"},"child":[{"node":"element","tag":"div","attr":{"class":["grid","grid__item--12"]},"child":[{"node":"element","tag":"div","attr":{"class":["grid__item","grid__item--6","block","block--outlined"]},"child":[{"node":"element","tag":"a","attr":{"data-link-internal":"true","class":"div-head","href":"/reference/currency-codes/"},"child":[{"node":"text","text":"Currency codes"}]},{"node":"element","tag":"p","child":[{"node":"text","text":"Codes for supported currencies"}]}]},{"node":"element","tag":"div","attr":{"class":["grid__item","grid__item--6","block","block--outlined"]},"child":[{"node":"element","tag":"a","attr":{"data-link-internal":"true","class":"div-head","href":"/reference/country-codes/"},"child":[{"node":"text","text":"Country codes"}]},{"node":"element","tag":"p","child":[{"node":"text","text":"Codes for supported countries"}]}]}]},{"node":"element","tag":"div","attr":{"class":["grid","grid__item--12"]},"child":[{"node":"element","tag":"div","attr":{"class":["grid__item","grid__item--6","block","block--outlined"]},"child":[{"node":"element","tag":"a","attr":{"data-link-internal":"true","class":"div-head","href":"/reference/country-codes/"},"child":[{"node":"text","text":"State codes"}]},{"node":"element","tag":"p","child":[{"node":"text","text":"Codes for supported states and provinces"}]}]},{"node":"element","tag":"div","attr":{"class":["grid__item","grid__item--6","block","block--outlined"]},"child":[{"node":"element","tag":"a","attr":{"data-link-internal":"true","class":"div-head","href":"/reference/country-codes/"},"child":[{"node":"text","text":"Locale codes"}]},{"node":"element","tag":"p","child":[{"node":"text","text":"Codes for supported languages and locales"}]}]}]}]}]},{"node":"element","tag":"h2","attr":{"id":"guidelines--policies"},"child":[{"node":"text","text":"Guidelines \u0026amp; Policies"}]},{"node":"element","tag":"section","child":[{"node":"element","tag":"div","attr":{"class":["grid","grid__item--12"]},"child":[{"node":"element","tag":"div","attr":{"class":["grid__item","grid__item--12","block","block--outlined"]},"child":[{"node":"element","tag":"a","attr":{"data-link-internal":"true","class":"div-head","href":"/reference/guidelines/"},"child":[{"node":"text","text":"Work smarter"}]},{"node":"element","tag":"p","child":[{"node":"text","text":"Guidelines and policies to help you during your integration"}]}]}]}]}]},"language":["en-US"]},"routes/__docs-pages":null},"actionData":null,"errors":null},"future":{"v2_dev":true,"unstable_postcss":false,"unstable_tailwind":false,"v2_errorBoundary":false,"v2_headers":false,"v2_meta":true,"v2_normalizeFormMethod":true,"v2_routeConvention":false}};</script><script nonce="WuTmfoyxnPB2PMW4Zw3WF8ckw8PRyRghRCIpNIV80XurBe+O" type="module" async="">import "https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/manifest-59CBC403.js"; import * as route0 from "https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/root-2EH2KKKA.js"; import * as route1 from "https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/routes/__docs-pages-LLCQOP5U.js"; import * as route2 from "https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/routes/__docs-pages/reference.$-JQUBQLXE.js"; window.__remixRouteModules = {"root":route0,"routes/__docs-pages":route1,"routes/__docs-pages/reference.$":route2}; import("https://www.paypalobjects.com/ppdevdocs/bundles/10.0.21/entry.client-LE7HVE6L.js");</script><div id="cookieBanner"><div id="ccpaCookieBanner" class="ccpaCookieBanner_container"><div id="ccpaCookieContent_wrapper" class="ccpaCookieBanner_content-container"><p class="ccpaCookieBanner_content">We use cookies to improve your experience on our site. May we use marketing cookies to show you personalized ads? <a id="manageCookiesLink" href="https://www.paypal.com/myaccount/privacy/cookiePrefs?locale=en_US">Manage all cookies</a></p></div><div class="ccpaCookieBanner_buttonGroup"><button id="acceptAllButton" class="ccpaCookieBanner_top-button">Yes, I accept</button><button id="bannerDeclineButton" aria-label="decline" class="ccpaCookieBanner_bottom-button">No, I decline</button> </div></div><style nonce="WuTmfoyxnPB2PMW4Zw3WF8ckw8PRyRghRCIpNIV80XurBe+O">@font-face { font-family: "PayPalOpen-Regular"; font-style: normal; font-display: swap; src: url('https://www.paypalobjects.com/paypal-ui/fonts/PayPalOpen-Regular.woff2') format('woff2'), url('https://www.paypalobjects.com/paypal-ui/fonts/PayPalOpen-Regular.woff') format('woff'), url('https://www.paypalobjects.com/paypal-ui/fonts/PayPalOpen-Regular.otf') format('opentype'); } #ccpaCookieBanner { font-family: PayPalOpen-Regular, sans-serif; } @keyframes slideInFromBottom { 0% { transform: translateY(100%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } } .ccpaCookieBanner_container { animation: 1s ease-in 0s 1 slideInFromBottom; width: 84%; margin-left: 8%; position: fixed; bottom: 2rem; background-color: #FFFFFF; z-index: 1051; display: flex; align-items: center; justify-content: center; min-height: 6rem; box-shadow: 0px 12px 28px rgb(0 0 0 / 16%); border-radius: 12px; } .ccpaCookieBanner_content-container { padding: 1.875rem 4rem 1.875rem 5rem; } .ccpaCookieBanner_content { color: #000000; font-family: 'PayPalOpen-Regular'; font-size: 14px; line-height: 20px; margin: 0; padding: 0; } #manageCookiesLink { text-decoration: underline; color: #0070ba; font-family: PayPalOpen-Regular; font-weight: 500; } .ccpaCookieBanner_content a:focus, .ccpaCookieBanner_buttonGroup button:focus { border: 1px solid #0070BA; } .ccpaCookieBanner_buttonGroup { padding-right: 5rem; display: flex; flex-direction: column; } button.ccpaCookieBanner_top-button { font-size: 14px; line-height: 24px; font-weight: 600; color: #FFFFFF; background: #0070BA; border: 1px solid #0070BA; border-radius: 24px; min-width: 6rem; min-height: 2rem; cursor: pointer; padding: 0px 2rem; text-wrap: nowrap; white-space: nowrap; } button.ccpaCookieBanner_bottom-button { font-size: 14px; line-height: 24px; font-weight: 600; color: #FFFFFF; background: #0070BA; border: 1px solid #0070BA; border-radius: 24px; min-width: 6rem; min-height: 2rem; cursor: pointer; padding: 0px 2rem; text-wrap: nowrap; white-space: nowrap; } .ccpaCookieBanner-acceptedAll { height: auto; padding-bottom: 8em; } @media only screen and (max-width: 768px) { .ccpaCookieBanner_container{ width: 92%; margin-left: 4%; display: block; bottom: 1rem; } .ccpaCookieBanner_content-container { padding: 0.75rem 2.5rem 0.75rem 1.25rem } .ccpaCookieBanner_buttonGroup { flex-direction: row; justify-content: center; padding: 0 0 0.75rem 0; } button.ccpaCookieBanner_top-button{ margin: 0 1.25rem 0 0; } } @media only screen and (max-width: 600px) { .ccpaCookieBanner-acceptedAll { height: auto; padding-bottom: 12em; } } @media only screen and (max-width: 575.98px) { .ccpaHideCookieBannerMobile { display:none; } } @media only screen and (min-width: 768px) { button.ccpaCookieBanner_top-button, button.ccpaCookieBanner_bottom-button { display: block; } button.ccpaCookieBanner_bottom-button{ margin-top: 0.5rem; } }</style><script nonce="WuTmfoyxnPB2PMW4Zw3WF8ckw8PRyRghRCIpNIV80XurBe+O">(function () { var bannerFptiData = {}; function getFptiReqData () { let fptiReqData = window && window.fpti && window.PAYPAL && window.PAYPAL.analytics && window.PAYPAL.analytics.instance && window.PAYPAL.analytics.instance.options && window.PAYPAL.analytics.instance.options.request && window.PAYPAL.analytics.instance.options.request.data; if (fptiReqData) { bannerFptiData = { api_name: 'cookieBanner', page: 'main:privacy:policy:ccpa', pgrp: 'main:privacy:policy', displaypage: window.fpti.pgrp, ppage: 'privacy_banner', bannertype: 'cookiebanner', ccpg: 'US', flag: 'ccpa', bannerversion: 'v4', bannersource: 'ConsentNodeServ', bannervariant: '', xe: '110041,109128,105410,105409,104759,109059,104407', xt: '148500,143659,123956,123954,120842,143369,119038', eligibility_reason: 'true', is_native: 'false', cookie_disabled: cookieDisabled(), reason_to_hide: reasonToHideBanner() }; if(true){ bannerFptiData = { ...bannerFptiData, userstate : 'NOT FOUND', usercountry : 'SG', stateaccuracy : '0', countryaccuracy : '99', loggedin : 'false' } } } return fptiReqData; } function getFptiPage () { return getFptiReqData() && getFptiReqData().page; } function setSessionStorage(key) { try { sessionStorage.setItem(key, true); } catch (e) { console.log('error on setting sessioStorage', e); } } function isBannerClosed () { let is_banner_closed = false; try{ if(sessionStorage.getItem("isBannerClosed") || sessionStorage.getItem("isUserAccepted") || sessionStorage.getItem("isInvisibleBanner")){ is_banner_closed = true; } } catch (e){ is_banner_closed = false; } return is_banner_closed || (false && true && !navigator.cookieEnabled); } function reasonToHideBanner(){ let reason = ''; try { if (false && true && !navigator.cookieEnabled){ reason = 'cookies are disabled'; } else if(sessionStorage.getItem("isUserAccepted")){ reason = 'User accepted or declined'; } else if(sessionStorage.getItem("isBannerClosed")){ reason = 'Banner Closed'; } else if(sessionStorage.getItem("isInvisibleBanner")){ reason = 'Invisible banner loaded'; } } catch (error) { reason=''; } return reason; } function cookieFilteringRequest(eventSource){ const page = window && window.fpti && window.fpti.page || window && window.location && window.location.href; const component = window && window.fpti && window.fpti.comp || ""; let eventSourceUrl = window && window.location && window.location.href || ''; eventSourceUrl = eventSourceUrl.split("?")[0]; const xhr = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP'); const endPoint = "https://www.paypal.com/myaccount/privacy/cookieprefs/cookies?eventSource="+eventSource+"&page="+page+"&component="+component+"&eventSourceUrl="+eventSourceUrl; xhr.open('GET', endPoint); xhr.withCredentials = true; xhr.onreadystatechange = function () { if (xhr.readyState > 3 && xhr.status === 200) { } }; xhr.setRequestHeader('Accept','application/json'); xhr.setRequestHeader('Content-Type','application/json'); xhr.send(); }; function cookieFiltering(eventSource="cookieBanner"){ if(!true || false){ return; } cookieFilteringRequest(eventSource); } function postAjax(isFptiDataAvailable , cookieObj ) { if(!isFptiDataAvailable && getFptiReqData()){ isFptiDataAvailable = true; } if(isFptiDataAvailable){ acceptDeclineFptiEvents(cookieObj); } var xhr = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("Microsoft.XMLHTTP"); var endPoint = cookieObj.endPointPrefix + cookieObj.endPointSuffix; xhr.open('GET',endPoint); xhr.withCredentials = true; xhr.onreadystatechange = function() { if (xhr.readyState > 3 && xhr.status == 200) { cookieFiltering(cookieObj.eventSource); } }; xhr.setRequestHeader('Accept', 'application/json','Content-Type', 'application/json'); xhr.send(null); return xhr; }; function fptiRecordClick(bannerData){ window.PAYPAL.analytics.Analytics.prototype.recordClick({ data: {...bannerData, product:"cookieBanner"}}); }; function acceptDeclineFptiEvents(cookieObj){ var trackingPageName = '' || getFptiPage() || document.title; var cookiesText = cookieObj.cookiesText; var cookiePrefs = cookieObj.cookiePrefs; var eventName = cookieObj.eventName; var bannerData = { e: 'cl', link: cookiesText, pglk: trackingPageName + '|' + cookiesText, pgln: trackingPageName + '|' + cookiesText, c_prefs: cookiePrefs, opsel: cookiePrefs + ',US', csource: 'cookie', event_name: eventName }; for(var key in bannerFptiData){ bannerData[key] = bannerFptiData[key]; }; fptiRecordClick(bannerData); var winFptiData = JSON.parse(JSON.stringify((window && window.fpti) || {})); var updatedFptiData = { cookiebannerhidden: 'true', c_prefs: cookiePrefs }; for(var key in bannerFptiData){ updatedFptiData[key] = bannerFptiData[key]; }; for(var key in updatedFptiData){ winFptiData[key] = updatedFptiData[key]; }; window.PAYPAL.analytics.Analytics.prototype.logActivity(winFptiData); }; function cookieObjSetup (type) { const cookieObjValue = { "accept" : { endPointSuffix : '&type=explicit_banner&country=US&policy=ccpa&version=v4', endPointPrefix : 'https://www.paypal.com/myaccount/privacy/cookiePrefs/accept?marketing=true&performance=true&functional=true', eventSource : 'acceptCookieBanner', cookiesText : 'acceptcookies', cookiePrefs : 'T=1,P=1,F=1,type=explicit_banner', eventName : 'cookie_banner_accept_clicked' }, "decline" : { endPointSuffix : '&type=explicit_banner&country=US&policy=ccpa&version=v4', endPointPrefix : 'https://www.paypal.com/myaccount/privacy/cookiePrefs/accept?marketing=false&performance=true&functional=true', eventSource : 'declineCookieBanner', cookiesText : 'declinecookies', cookiePrefs : 'T=0,P=1,F=1,type=explicit_banner', eventName : 'cookie_banner_decline_clicked' }, "close" : { endPointSuffix : '&type=explicit_close&country=US&policy=ccpa&version=v4', endPointPrefix : 'https://www.paypal.com/myaccount/privacy/cookiePrefs/accept?marketing=true&performance=true&functional=true', eventSource : 'closeCookieBanner', cookiesText : 'closecookies', cookiePrefs : 'T=1,P=1,F=1,type=explicit_close', eventName : 'cookie_banner_close_clicked' } }; return cookieObjValue[type]; } function bindGdprEvents () { var acceptAllButton = document.getElementById('acceptAllButton'); var bannerDeclineButton = document.getElementById('bannerDeclineButton'); var bannerCloseButton = document.getElementById('bannerCloseButton'); var usBannerCloseButton = document.getElementById('usBannerCloseButton'); var manageCookiesLink = document.getElementById('manageCookiesLink'); var cookieStatement = document.getElementById('cookieStatement'); var cookieLanguage = document.getElementById('ccpaCookieContent_wrapper'); var cookieBanner = document.getElementById('ccpaCookieBanner'); var cookieBannerAcceptAll = document.getElementsByClassName("ccpaCookieBanner-acceptedAll"); var trackingPageName = '' || getFptiPage() || document.title; if (manageCookiesLink) { manageCookiesLink.onclick = function() { var manageCookiesData = { e: 'cl', link: 'managecookies', pglk: trackingPageName + '|managecookies', pgln: trackingPageName + '|managecookies', event_name: 'cookie_banner_manage_cookies_clicked' }; for(var key in bannerFptiData){ manageCookiesData[key] = bannerFptiData[key]; }; fptiRecordClick(manageCookiesData); }; } if (cookieStatement) { cookieStatement.onclick = function() { var cookieStatementData = { e: 'cl', link: 'cookieStmtLink', pglk: trackingPageName + '|cookieStmtLink', pgln: trackingPageName + '|cookieStmtLink', event_name: 'cookie_banner_cookie_statement_clicked' }; for(var key in bannerFptiData){ cookieStatementData[key] = bannerFptiData[key]; }; fptiRecordClick(cookieStatementData); }; } if(bannerCloseButton && cookieBanner && cookieLanguage){ bannerCloseButton.onclick = function() { hideBanner(); setSessionStorage('isBannerClosed'); var closebannerFptiData = { e: 'cl', link: 'closeBanner', pglk: trackingPageName + '|closeBanner', pgln: trackingPageName + '|closeBanner', event_name: 'cookie_banner_close_clicked' }; for(var key in bannerFptiData){ closebannerFptiData[key] = bannerFptiData[key]; }; fptiRecordClick(closebannerFptiData); }; } if (acceptAllButton && cookieBanner && cookieLanguage) { acceptAllButton.onclick = function() { hideBanner(); if (false) { setSessionStorage('isUserAccepted'); } postAjax(true , cookieObjSetup('accept')); }; } if (bannerDeclineButton && cookieBanner && cookieLanguage) { bannerDeclineButton.onclick = function() { hideBanner(); if (false) { setSessionStorage('isUserAccepted'); } postAjax(true , cookieObjSetup('decline')); }; } if (usBannerCloseButton && cookieBanner && cookieLanguage) { usBannerCloseButton.onclick = function() { hideBanner(); if (false) { setSessionStorage('isUserAccepted'); } postAjax(true , cookieObjSetup('close')); }; } window.hideGdprBanner = function () { var cookieBannerUi = document.getElementById('ccpaCookieBanner'); if (cookieBannerUi && cookieBannerUi.className.indexOf('ccpaHideCookieBannerMobile') === -1) { cookieBannerUi.className += " ccpaHideCookieBannerMobile"; } }; window.showGdprBanner = function () { var cookieBannerUi = document.getElementById('ccpaCookieBanner'); if (cookieBannerUi) { cookieBannerUi.className = cookieBannerUi.className.replace("ccpaHideCookieBannerMobile",""); } }; document.body.addEventListener("focus", function (event) { if (event.target.type === 'text' || event.target.type === 'number' || event.target.type === 'password' || event.target.type === 'email' || event.target.type === 'select-one') { window.hideGdprBanner(); } }, true); } function adjustPaddingTop(){ var cookieBannerAcceptAll = document.getElementsByClassName("ccpaCookieBanner-acceptedAll"); if(cookieBannerAcceptAll.length > 0){ var cookieBanner = document.getElementById('ccpaCookieBanner'); var bannerHeight = cookieBanner ? cookieBanner.clientHeight : 0; if(cookieBannerAcceptAll && cookieBannerAcceptAll[0] && bannerHeight){ cookieBannerAcceptAll[0].style.paddingTop = bannerHeight/16 +'em'; } } }; var isPaddingBottomAdded = false, bannerPaddingBottom = ""; function adjustPaddingBottom(addListener){ if (undefined || !false) { return; } function adjustPaddingBottomEvent() { var cookieBannerAcceptAll = document.getElementsByClassName("ccpaCookieBanner-acceptedAll"); if(cookieBannerAcceptAll.length > 0){ var bodyPaddingBottom = cookieBannerAcceptAll[0].style.paddingBottom; var cookieBanner = document.getElementById('ccpaCookieBanner'); if(cookieBannerAcceptAll && cookieBannerAcceptAll[0] && cookieBanner.style.display != 'none') { if (bodyPaddingBottom === "" || (isPaddingBottomAdded && bannerPaddingBottom === bodyPaddingBottom)) { var cookieBannerContainer = document.getElementsByClassName('ccpaCookieBanner_container'); var bannerBottomHeight = cookieBannerContainer.length > 0 ? parseInt(window.getComputedStyle(cookieBannerContainer[0]).bottom.replace("px", "")) : 0; var bannerHeight = cookieBanner ? cookieBanner.clientHeight : 0; bannerPaddingBottom = ((bannerHeight + bannerBottomHeight) / 16) + 'em'; cookieBannerAcceptAll[0].style.paddingBottom = bannerPaddingBottom; isPaddingBottomAdded = true; } else if (isPaddingBottomAdded && bannerPaddingBottom !== bodyPaddingBottom) { isPaddingBottomAdded = false; } } } } if (addListener) { adjustPaddingBottomEvent(); window.addEventListener('resize', adjustPaddingBottomEvent); } else { var cookieBannerAcceptAll = document.getElementsByClassName("ccpaCookieBanner-acceptedAll"); if(cookieBannerAcceptAll && cookieBannerAcceptAll[0]){ window.removeEventListener('resize', adjustPaddingBottomEvent); adjustPaddingBottomEvent(); if (isPaddingBottomAdded && cookieBannerAcceptAll[0].style.paddingBottom === bannerPaddingBottom) { cookieBannerAcceptAll[0].style.removeProperty('padding-bottom'); } } } }; window.bindGdprEvents = bindGdprEvents; function cookieDisabled() { if (navigator.cookieEnabled === false) return "true"; else if (navigator.cookieEnabled === true) return "false"; else return "undefined"; }; function fptiLogActivity(winFptiData){ window.PAYPAL.analytics.Analytics.prototype.logActivity({...winFptiData, product:"cookieBanner"}); }; function gdprSetup () { var cookieLanguage = document.getElementById('ccpaCookieContent_wrapper'); var cookieBanner = document.getElementById('ccpaCookieBanner'); var manageLink = document.getElementById('manageCookiesLink'); var acceptAllLink = document.getElementById('acceptAllButton'); var trackingPageName = '' || getFptiPage() || document.title; if(!isBannerClosed()){ document.body.className = document.body.className += " ccpaCookieBanner-acceptedAll"; if(undefined){ adjustPaddingTop(); window.addEventListener('resize', adjustPaddingTop); document.body.className = document.body.className += " top-cookie-banner-enabled"; } enableEvents(true); } var pageName = trackingPageName || getFptiPage() || document.title; var winFptiData = JSON.parse(JSON.stringify((window && window.fpti) || {})); if(false){ bannerFptiData.isNativeBannerHidden = true; } for(var key in bannerFptiData){ winFptiData[key] = bannerFptiData[key]; }; winFptiData['event_name'] = 'cookie_banner_shown'; fptiLogActivity(winFptiData); if (manageLink) { manageLink.setAttribute('pagename', (pageName + '|managecookies')); } if (acceptAllLink) { acceptAllLink.setAttribute('pagename', (pageName + '|acceptcookies')); } bindGdprEvents(); }; function hideBanner() { var cookieLanguage = document.getElementById('ccpaCookieContent_wrapper'); var cookieBanner = document.getElementById('ccpaCookieBanner'); if(cookieLanguage && cookieBanner){ cookieLanguage.style.display = 'none'; cookieBanner.style.display = 'none'; }else { return false; } window.removeEventListener('resize', adjustPaddingTop); var cookieBannerAcceptAll = document.getElementsByClassName("ccpaCookieBanner-acceptedAll"); if(cookieBannerAcceptAll && cookieBannerAcceptAll[0]){ cookieBannerAcceptAll[0].style.removeProperty('padding-top'); } enableEvents(false); document.body.className = document.body.className.replace("ccpaCookieBanner-acceptedAll",""); document.body.className = document.body.className.replace("top-cookie-banner-enabled",""); return true; } function isPageReady () { var cookieBannerUi = document.getElementById('ccpaCookieBanner'); return !!(cookieBannerUi && getFptiReqData()); } function enableFocusEvent(addListener){ if(!false || undefined){ return; } var cookieBanner = document.getElementById('ccpaCookieBanner'); function focusIn(e) { if(cookieBanner && cookieBanner.style.display != 'none'){ var activeElement = document.activeElement; if(((activeElement.getBoundingClientRect().bottom) > (cookieBanner.getBoundingClientRect().top)) && !activeElement.parentElement.nodeName.includes("UL")){ activeElement.scrollIntoView({block: 'center'}); } }else{ document.removeEventListener("focusin", focusIn); } } if(addListener){ document.addEventListener("focusin",focusIn); } } function enableEvents(enable){ adjustPaddingBottom(enable); enableFocusEvent(enable); } var maxRetries = 34, bannerhidden=false; function triggerBanner() { if (isPageReady()) { cookieFiltering('pageLoad'); if(true){setTimeout(function(){ cookieFiltering('afterPageLoad')}, 3000);} if (isBannerClosed()) { hideBanner(); } if(false){ setSessionStorage('isInvisibleBanner'); } gdprSetup(); } else { if (isBannerClosed() && !bannerhidden ) { bannerhidden=hideBanner(); } if (maxRetries-- > 0) { setTimeout(triggerBanner, 150); } else { cookieFiltering('pageLoad'); if(true){setTimeout(function(){ cookieFiltering('afterPageLoad')}, 3000);} if (isBannerClosed()) { hideBanner(); } if(!isBannerClosed() && document.getElementById('ccpaCookieBanner') && !document.body.className.includes("ccpaCookieBanner-acceptedAll")){ document.body.className = document.body.className += " ccpaCookieBanner-acceptedAll"; if(undefined){ adjustPaddingTop(); window.addEventListener('resize', adjustPaddingTop); document.body.className = document.body.className += " top-cookie-banner-enabled"; } enableEvents(true); } var acceptAllButton = document.getElementById('acceptAllButton'); var bannerDeclineButton = document.getElementById('bannerDeclineButton'); var bannerCloseButton = document.getElementById('bannerCloseButton'); var usBannerCloseButton = document.getElementById('usBannerCloseButton'); var cookieBanner = document.getElementById('ccpaCookieBanner'); if ( acceptAllButton ) { acceptAllButton.onclick = function() { hideBanner(); if (false) { setSessionStorage('isUserAccepted'); } postAjax(false,cookieObjSetup('accept')); }; } if ( bannerDeclineButton ) { bannerDeclineButton.onclick = function() { hideBanner(); if (false) { setSessionStorage('isUserAccepted'); } postAjax(false,cookieObjSetup('decline')); }; } if ( usBannerCloseButton ) { usBannerCloseButton.onclick = function() { hideBanner(); if (false) { setSessionStorage('isUserAccepted'); } postAjax(false,cookieObjSetup('close')); }; } if ( bannerCloseButton ) { bannerCloseButton.onclick = function() { hideBanner(); setSessionStorage('isBannerClosed'); } } if(false){ setSessionStorage('isInvisibleBanner'); } } } } triggerBanner(); })();</script></div></body></html>