> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mangopay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Checkout SDK overview

export const LogoVisa = <svg width="87" height="36" viewBox="0 0 87 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="87" height="36" rx="4" fill="white" />
<path d="M35.2136 6.4242L25.4851 29.6369H19.138L14.3506 11.1121C14.06 9.9711 13.8072 9.55309 12.9233 9.07238C11.4801 8.28938 9.09686 7.55477 7 7.09883L7.14242 6.4242H17.3593C18.6616 6.4242 19.8323 7.29119 20.128 8.79099L22.6564 22.2231L28.9052 6.42382H35.2136V6.4242ZM60.0825 22.0582C60.1081 15.9316 51.6115 15.5941 51.6699 12.8573C51.6881 12.0244 52.4811 11.1388 54.2169 10.9128C55.0772 10.8002 57.4477 10.7142 60.1363 11.9516L61.1909 7.02916C59.7462 6.50471 57.8873 6 55.5745 6C49.6396 6 45.4629 9.15521 45.4277 13.6732C45.3894 17.015 48.4089 18.8798 50.6838 19.9902C53.0241 21.1273 53.8093 21.8581 53.8004 22.8752C53.7838 24.4323 51.9339 25.1197 50.2051 25.1468C47.1871 25.1933 45.4358 24.3302 44.0399 23.6811L42.9516 28.7665C44.3545 29.4101 46.944 29.9717 49.6288 30C55.9368 30 60.0632 26.8839 60.0825 22.0582ZM75.7544 29.6369H81.3077L76.4603 6.4242H71.3346C70.1821 6.4242 69.2099 7.09534 68.7796 8.12721L59.7694 29.6369H66.0743L67.3259 26.1698H75.0295L75.7544 29.6369ZM69.0547 21.4122L72.2151 12.6967L74.0341 21.4122H69.0547ZM43.7926 6.4242L38.8275 29.6369H32.8233L37.7903 6.4242H43.7926Z" fill="#1434CB" />
</svg>;

export const LogoPayPal = <svg width="103" height="36" viewBox="0 0 103 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="103" height="36" rx="4" fill="white" />
<g clip-path="url(#clip0_29759_392)">
<path d="M34.9486 10.7994C34.7623 10.7994 34.604 10.9347 34.5749 11.1189L32.4183 24.7955C32.4105 24.8455 32.4135 24.8965 32.4273 24.9452C32.4411 24.9939 32.4653 25.039 32.4981 25.0774C32.531 25.1158 32.5718 25.1467 32.6177 25.1678C32.6636 25.189 32.7136 25.1999 32.7642 25.2H35.3218C35.5078 25.2 35.6663 25.0644 35.6955 24.8805L36.329 20.8643C36.3578 20.6804 36.5163 20.5448 36.7027 20.5448H39.0279C41.7448 20.5448 44.0511 18.5625 44.4724 15.8764C44.8972 13.1675 42.7809 10.8053 39.7815 10.7994H34.9486ZM37.4348 13.8526H39.2952C40.8269 13.8526 41.3257 14.7564 41.168 15.7558C41.0103 16.7574 40.2356 17.4952 38.754 17.4952H36.8604L37.4348 13.8526ZM49.6742 14.7823C49.0283 14.7847 48.2853 14.917 47.451 15.2645C45.5374 16.0621 44.6184 17.7106 44.2281 18.9124C44.2281 18.9124 42.9859 22.579 45.7924 24.5934C45.7924 24.5934 48.3951 26.5327 51.325 24.474L51.2745 24.7955C51.2667 24.8454 51.2698 24.8965 51.2835 24.9451C51.2972 24.9937 51.3213 25.0388 51.3542 25.0772C51.387 25.1156 51.4277 25.1465 51.4736 25.1677C51.5194 25.1889 51.5693 25.1999 51.6199 25.2H54.0478C54.2341 25.2 54.3924 25.0644 54.4215 24.8805L55.8984 15.5147C55.9063 15.4647 55.9033 15.4137 55.8896 15.365C55.8759 15.3163 55.8518 15.2712 55.8189 15.2327C55.7861 15.1942 55.7454 15.1633 55.6994 15.1421C55.6535 15.1208 55.6036 15.1098 55.553 15.1097H53.1251C52.9388 15.1097 52.7802 15.2453 52.7514 15.4292L52.672 15.9333C52.672 15.9333 51.6118 14.7751 49.6742 14.7823ZM49.7535 17.7405C50.0323 17.7405 50.2874 17.779 50.5162 17.8525C51.5637 18.1888 52.1577 19.1952 51.9858 20.2861C51.7738 21.6293 50.6723 22.6183 49.2596 22.6183C48.981 22.6183 48.726 22.5801 48.4969 22.5066C47.4496 22.1703 46.852 21.1639 47.0238 20.073C47.2358 18.7298 48.3408 17.7405 49.7535 17.7405Z" fill="#003087" />
<path d="M69.9115 10.7994C69.7252 10.7994 69.5669 10.9347 69.5378 11.1189L67.3812 24.7955C67.3733 24.8455 67.3764 24.8965 67.3902 24.9452C67.404 24.9939 67.4281 25.039 67.461 25.0774C67.4939 25.1158 67.5347 25.1467 67.5806 25.1678C67.6265 25.189 67.6765 25.1999 67.7271 25.2H70.2846C70.4707 25.2 70.6292 25.0644 70.6583 24.8805L71.2919 20.8643C71.3207 20.6804 71.4792 20.5448 71.6655 20.5448H73.9908C76.7077 20.5448 79.0138 18.5625 79.4348 15.8764C79.8598 13.1675 77.7438 10.8053 74.7444 10.7994H69.9115ZM72.3977 13.8526H74.2581C75.7898 13.8526 76.2886 14.7564 76.1309 15.7558C75.9732 16.7574 75.1988 17.4952 73.7168 17.4952H71.8233L72.3977 13.8526ZM84.6368 14.7823C83.991 14.7847 83.2479 14.917 82.4136 15.2645C80.5 16.0621 79.581 17.7106 79.1907 18.9124C79.1907 18.9124 77.9491 22.579 80.7555 24.5934C80.7555 24.5934 83.3577 26.5327 86.2879 24.474L86.2374 24.7955C86.2296 24.8455 86.2326 24.8965 86.2464 24.9452C86.2602 24.9939 86.2844 25.039 86.3172 25.0774C86.3501 25.1158 86.3909 25.1467 86.4368 25.1678C86.4828 25.189 86.5327 25.1999 86.5833 25.2H89.011C89.1973 25.2 89.3555 25.0644 89.3847 24.8805L90.862 15.5147C90.87 15.4647 90.867 15.4136 90.8532 15.3649C90.8395 15.3161 90.8153 15.271 90.7825 15.2325C90.7496 15.194 90.7088 15.1631 90.6628 15.1419C90.6168 15.1207 90.5668 15.1097 90.5162 15.1097H88.0882C87.9019 15.1097 87.7434 15.2453 87.7145 15.4292L87.6351 15.9333C87.6351 15.9333 86.5745 14.7751 84.6368 14.7823ZM84.7162 17.7405C84.995 17.7405 85.25 17.779 85.4788 17.8525C86.5264 18.1888 87.1203 19.1952 86.9484 20.2861C86.7365 21.6293 85.6349 22.6183 84.2222 22.6183C83.9437 22.6183 83.6887 22.5801 83.4596 22.5066C82.4123 22.1703 81.8146 21.1639 81.9865 20.073C82.1984 18.7298 83.3035 17.7405 84.7162 17.7405Z" fill="#0070E0" />
<path d="M57.0499 15.1098C56.8575 15.1098 56.7206 15.2977 56.7794 15.4808L59.4412 23.7408L57.0344 27.6333C56.9176 27.8222 57.0534 28.0663 57.2755 28.0663H60.1202C60.2015 28.0662 60.2815 28.0452 60.3523 28.0052C60.4232 27.9652 60.4825 27.9076 60.5246 27.838L67.9586 15.5401C68.0728 15.3511 67.9364 15.1095 67.7156 15.1095H64.8713C64.7891 15.1096 64.7084 15.131 64.6371 15.1718C64.5657 15.2125 64.5062 15.2711 64.4644 15.3418L61.5382 20.2821L60.0528 15.3784C60.0044 15.2188 59.8571 15.1095 59.6906 15.1095L57.0499 15.1098Z" fill="#003087" />
<path d="M93.6211 10.7994C93.4351 10.7994 93.2765 10.935 93.2474 11.1189L91.0902 24.795C91.0823 24.845 91.0854 24.8961 91.0991 24.9448C91.1128 24.9936 91.137 25.0387 91.1698 25.0772C91.2027 25.1157 91.2435 25.1466 91.2895 25.1678C91.3355 25.189 91.3855 25.2 91.4361 25.2H93.9937C94.1798 25.2 94.3383 25.0644 94.3674 24.8805L96.524 11.2039C96.5319 11.154 96.5288 11.1029 96.515 11.0543C96.5013 11.0057 96.4772 10.9606 96.4444 10.9222C96.4116 10.8838 96.3708 10.8529 96.325 10.8317C96.2791 10.8105 96.2292 10.7995 96.1787 10.7994H93.6211Z" fill="#0070E0" />
<path d="M13.6251 10.7994C13.4604 10.7996 13.3011 10.8585 13.1758 10.9655C13.0506 11.0726 12.9676 11.2208 12.9419 11.3835L11.8066 18.5836C11.8596 18.2474 12.1493 17.9996 12.4899 17.9996H15.8165C19.1645 17.9996 22.0054 15.5572 22.5245 12.2474C22.5631 12.0003 22.585 11.7509 22.59 11.5008C21.7392 11.0547 20.7397 10.7994 19.6445 10.7994H13.6251Z" fill="#001C64" />
<path d="M22.5915 11.5012C22.5865 11.7513 22.5646 12.0007 22.526 12.2478C22.0069 15.5576 19.1657 17.9999 15.818 17.9999H12.4914C12.1511 17.9999 11.8611 18.2475 11.8081 18.584L10.7643 25.2003L10.1105 29.351C10.0977 29.4312 10.1025 29.5132 10.1245 29.5914C10.1465 29.6696 10.1852 29.742 10.238 29.8038C10.2907 29.8655 10.3562 29.9151 10.43 29.9491C10.5037 29.9831 10.584 30.0006 10.6652 30.0006H14.2759C14.4407 30.0005 14.6 29.9416 14.7252 29.8345C14.8504 29.7275 14.9334 29.5793 14.9591 29.4165L15.9102 23.3843C15.936 23.2214 16.019 23.0732 16.1443 22.9661C16.2697 22.859 16.4291 22.8002 16.594 22.8002H18.7198C22.0678 22.8002 24.9088 20.3578 25.4279 17.0481C25.7965 14.699 24.6134 12.5614 22.5915 11.5012Z" fill="#0070E0" />
<path d="M9.52364 6.00024C9.18336 6.00024 8.89334 6.24777 8.84041 6.58377L6.00697 24.5509C5.95325 24.892 6.21681 25.2005 6.56217 25.2005H10.7639L11.8072 18.5842L12.9425 11.384C12.9682 11.2213 13.0512 11.0731 13.1764 10.966C13.3016 10.859 13.4609 10.8001 13.6257 10.8H19.6451C20.7405 10.8 21.7397 11.0555 22.5906 11.5014C22.6489 8.48805 20.1624 6.00024 16.7438 6.00024H9.52364Z" fill="#003087" />
</g>
<defs>
<clipPath id="clip0_29759_392">
<rect width="90.5273" height="24" fill="white" transform="translate(6 6)" />
</clipPath>
</defs>
</svg>;

export const LogoMastercard = <svg width="51" height="36" viewBox="0 0 51 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="51" height="36" rx="4" fill="white" />
<path d="M30.666 8.56494H20.166V27.4337H30.666V8.56494Z" fill="#FF5F00" />
<path d="M20.8324 18C20.8307 16.1828 21.2425 14.389 22.0366 12.7545C22.8306 11.12 23.9861 9.68753 25.4157 8.5656C23.6454 7.17415 21.5194 6.30883 19.2806 6.06853C17.0418 5.82824 14.7806 6.22268 12.7554 7.20677C10.7302 8.19085 9.02268 9.72488 7.82809 11.6335C6.6335 13.5421 6 15.7483 6 18C6 20.2516 6.6335 22.4579 7.82809 24.3665C9.02268 26.2751 10.7302 27.8091 12.7554 28.7932C14.7806 29.7773 17.0418 30.1718 19.2806 29.9315C21.5194 29.6912 23.6454 28.8259 25.4157 27.4344C23.9862 26.3125 22.8306 24.88 22.0366 23.2455C21.2425 21.611 20.8307 19.8172 20.8324 18V18Z" fill="#EB001B" />
<path d="M44.8311 18C44.8311 20.2516 44.1977 22.4578 43.0032 24.3665C41.8087 26.2751 40.1012 27.8091 38.0761 28.7932C36.0509 29.7773 33.7897 30.1717 31.5509 29.9315C29.3122 29.6912 27.1862 28.8258 25.416 27.4344C26.8443 26.3113 27.9989 24.8786 28.7928 23.2444C29.5868 21.6101 29.9993 19.8169 29.9993 18C29.9993 16.1831 29.5868 14.3899 28.7928 12.7556C27.9989 11.1214 26.8443 9.68866 25.416 8.5656C27.1862 7.17414 29.3122 6.30882 31.5509 6.06853C33.7897 5.82824 36.0509 6.22269 38.0761 7.20679C40.1012 8.19088 41.8087 9.72491 43.0032 11.6335C44.1977 13.5422 44.8311 15.7484 44.8311 18V18Z" fill="#F79E1B" />
<path d="M43.6843 25.4354V25.0491H43.8401V24.9704H43.4434V25.0491H43.5992V25.4354H43.6843ZM44.4545 25.4354V24.9696H44.3329L44.193 25.29L44.0531 24.9696H43.9314V25.4354H44.0173V25.084L44.1485 25.3869H44.2375L44.3687 25.0833V25.4354H44.4545Z" fill="#F79E1B" />
</svg>;

export const LogoMaestro = <svg width="51" height="36" viewBox="0 0 51 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="51" height="36" rx="4" fill="white" />
<path d="M30.666 8.56555H20.166V27.4343H30.666V8.56555Z" fill="#7375CF" />
<path d="M20.8324 18C20.8307 16.1828 21.2425 14.389 22.0366 12.7545C22.8306 11.12 23.9862 9.68753 25.4157 8.5656C23.6454 7.17415 21.5194 6.30883 19.2806 6.06853C17.0418 5.82824 14.7806 6.22268 12.7554 7.20677C10.7302 8.19085 9.02268 9.72488 7.82809 11.6335C6.6335 13.5421 6 15.7483 6 18C6 20.2516 6.6335 22.4579 7.82809 24.3665C9.02268 26.2751 10.7302 27.8091 12.7554 28.7932C14.7806 29.7773 17.0418 30.1718 19.2806 29.9315C21.5194 29.6912 23.6454 28.8259 25.4157 27.4344C23.9862 26.3125 22.8306 24.88 22.0366 23.2455C21.2425 21.611 20.8307 19.8172 20.8324 18V18Z" fill="#EB001B" />
<path d="M43.6843 25.436V25.0497H43.8401V24.971H43.4434V25.0497H43.5992V25.436H43.6843ZM44.4545 25.436V24.9702H44.3329L44.193 25.2906L44.0531 24.9702H43.9314V25.436H44.0173V25.0846L44.1485 25.3875H44.2375L44.3687 25.0839V25.436H44.4545Z" fill="#00A2E5" />
<path d="M44.8311 18C44.8311 20.2516 44.1977 22.4578 43.0032 24.3665C41.8087 26.2751 40.1012 27.8091 38.0761 28.7932C36.0509 29.7773 33.7897 30.1717 31.5509 29.9315C29.3122 29.6912 27.1862 28.8258 25.416 27.4344C26.8443 26.3113 27.9989 24.8786 28.7928 23.2444C29.5868 21.6101 29.9993 19.8169 29.9993 18C29.9993 16.1831 29.5868 14.3899 28.7928 12.7556C27.9989 11.1214 26.8443 9.68866 25.416 8.5656C27.1862 7.17414 29.3122 6.30882 31.5509 6.06853C33.7897 5.82824 36.0509 6.22269 38.0761 7.20679C40.1012 8.19088 41.8087 9.72491 43.0032 11.6335C44.1977 13.5422 44.8311 15.7484 44.8311 18V18Z" fill="#00A2E5" />
</svg>;

export const LogoGooglePay = <svg width="73" height="36" viewBox="0 0 73 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="73" height="36" rx="4" fill="white" />
<path d="M34.5523 17.6726V24.7486H32.3066V7.2749H38.2599C39.7686 7.2749 41.0552 7.77783 42.1078 8.78368C43.1838 9.78952 43.7218 11.0176 43.7218 12.4679C43.7218 13.9533 43.1838 15.1813 42.1078 16.1755C41.0669 17.1696 39.7803 17.6609 38.2599 17.6609H34.5523V17.6726ZM34.5523 9.42695V15.5205H38.3066C39.1955 15.5205 39.9441 15.2164 40.5289 14.6199C41.1254 14.0234 41.4294 13.2983 41.4294 12.4796C41.4294 11.6726 41.1254 10.9591 40.5289 10.3626C39.9441 9.74274 39.2072 9.43864 38.3066 9.43864H34.5523V9.42695Z" fill="#3C4043" />
<path d="M49.5933 12.3977C51.2541 12.3977 52.5641 12.8421 53.5232 13.731C54.4822 14.6199 54.9617 15.8363 54.9617 17.3802V24.7486H52.8214V23.0878H52.7278C51.8039 24.4562 50.5641 25.1345 49.0202 25.1345C47.6986 25.1345 46.5992 24.7486 45.7103 23.965C44.8214 23.1813 44.377 22.2106 44.377 21.041C44.377 19.8012 44.8448 18.8188 45.7805 18.0936C46.7161 17.3568 47.9676 16.9942 49.5232 16.9942C50.8565 16.9942 51.9559 17.2398 52.8097 17.731V17.2164C52.8097 16.4328 52.5056 15.7778 51.8857 15.2281C51.2658 14.6784 50.5407 14.4094 49.7103 14.4094C48.4588 14.4094 47.4647 14.9357 46.7395 16L44.7629 14.7603C45.8506 13.1813 47.4647 12.3977 49.5933 12.3977ZM46.6927 21.0761C46.6927 21.6609 46.9384 22.1521 47.4413 22.5381C47.9325 22.924 48.5173 23.1228 49.184 23.1228C50.1313 23.1228 50.9734 22.772 51.7103 22.0702C52.4471 21.3685 52.8214 20.5498 52.8214 19.6024C52.1196 19.0527 51.1489 18.772 49.8974 18.772C48.9851 18.772 48.2249 18.9942 47.6167 19.4269C46.9968 19.8831 46.6927 20.4328 46.6927 21.0761Z" fill="#3C4043" />
<path d="M67.1739 12.7837L59.6885 30.0001H57.3728L60.1564 23.9767L55.2207 12.7837H57.6651L61.2207 21.3685H61.2675L64.7295 12.7837H67.1739Z" fill="#3C4043" />
<path d="M25.6176 16.2456C25.6176 15.5134 25.5521 14.8128 25.4304 14.1392H16.0176V17.9988L21.4386 18C21.2187 19.2842 20.5111 20.3789 19.4269 21.1087V23.6128H22.6538C24.538 21.869 25.6176 19.2912 25.6176 16.2456Z" fill="#4285F4" />
<path d="M19.429 21.1087C18.5307 21.7145 17.374 22.0689 16.0208 22.0689C13.4068 22.0689 11.1892 20.3075 10.3951 17.9332H7.06641V20.5157C8.71553 23.7882 12.105 26.0338 16.0208 26.0338C18.7272 26.0338 21.0009 25.1438 22.6559 23.6116L19.429 21.1087Z" fill="#34A853" />
<path d="M10.0807 16.0175C10.0807 15.3508 10.1918 14.7064 10.3941 14.1005V11.5181H7.0655C6.38362 12.8713 6 14.3988 6 16.0175C6 17.6362 6.38479 19.1637 7.0655 20.5169L10.3941 17.9344C10.1918 17.3286 10.0807 16.6841 10.0807 16.0175Z" fill="#FABB05" />
<path d="M16.0208 9.96491C17.498 9.96491 18.8208 10.4737 19.8652 11.4678L22.7249 8.61053C20.988 6.99298 18.7237 6 16.0208 6C12.1062 6 8.71553 8.24561 7.06641 11.5181L10.3951 14.1006C11.1892 11.7263 13.4068 9.96491 16.0208 9.96491Z" fill="#E94235" />
</svg>;

export const LogoCb = <svg width="48" height="36" viewBox="0 0 48 36" fill="none" xmlns="http://www.w3.org/2000/svg">
    <rect width="48" height="36" rx="4" fill="white" />
    <path d="M6 26.0335C6 28.2426 7.79086 30.0334 10 30.0334H38.0308C40.2399 30.0334 42.0308 28.2426 42.0308 26.0334V10C42.0308 7.79088 40.2399 6.00002 38.0308 6.00002H10C7.79086 6.00002 6 7.79088 6 10V26.0335Z" fill="url(#paint0_linear_34951_561)" />
    <path d="M19.0917 24.5668L19.8079 24.4119C20.3509 24.2697 20.8818 24.0662 21.4005 23.8015L22.1467 23.337C22.462 23.1074 22.7514 22.8512 23.0147 22.5682C23.4453 22.0963 23.7933 21.5745 24.0585 21.003C24.356 20.3333 24.5443 19.634 24.6237 18.9051L24.6489 18.6597C24.649 18.6583 24.6491 18.6569 24.6491 18.6555C24.6491 18.6321 24.6292 18.6128 24.6049 18.6127L24.2159 18.6108L23.2244 18.6116H19.2722L17.281 18.6108C17.2713 18.6108 17.2634 18.6031 17.2634 18.5939L17.2626 17.3887C17.2626 17.3737 17.2754 17.3614 17.2909 17.3614L18.5832 17.3625L20.3999 17.3656L22.9161 17.3645L23.7361 17.3652L24.6109 17.3691C24.6111 17.3691 24.6113 17.3691 24.6114 17.3691C24.6311 17.3691 24.6474 17.3534 24.6474 17.3344C24.6474 17.3336 24.6473 17.3329 24.6473 17.3321C24.6055 16.7536 24.4967 16.1913 24.3209 15.6452C23.9532 14.5013 23.2962 13.5503 22.35 12.7923C22.0852 12.6048 21.8172 12.4068 21.5419 12.2566C21.2826 12.1154 21.0139 11.9871 20.7358 11.8718C20.3305 11.7193 19.9115 11.5926 19.4787 11.4917C19.0441 11.4065 18.6063 11.3443 18.1653 11.3053C17.6341 11.2683 17.1099 11.2679 16.5927 11.3041C16.1027 11.3403 15.6309 11.4063 15.1774 11.5021L14.2411 11.7702L13.6212 12.0236C13.259 12.1931 12.9265 12.3844 12.6237 12.5975C12.5071 12.6799 12.3652 12.788 12.1979 12.9218C11.8818 13.198 11.593 13.4964 11.3315 13.8168C10.7062 14.6554 10.3108 15.5896 10.1451 16.6192C10.1134 16.8169 10.0861 17.0054 10.0632 17.1846C10.0534 17.3623 10.0451 17.53 10.0385 17.6876C9.93859 20.0902 10.8737 22.3857 13.0779 23.6721C13.5591 23.9504 14.0703 24.1697 14.6114 24.3299C15.3765 24.5556 16.1612 24.6785 16.9654 24.6985C17.1056 24.6977 17.2514 24.7131 17.3824 24.71C18.0128 24.6935 18.4909 24.6657 19.0917 24.5668Z" fill="white" />
    <path d="M26.4329 24.3358L27.2718 24.3323L29.2994 24.3331L29.7528 24.3358L31.0067 24.3342L32.4918 24.335L33.2939 24.3331L34.3796 24.3327C34.871 24.3404 35.2875 24.3138 35.6291 24.253C35.6891 24.2425 35.8126 24.2142 35.9998 24.1682C36.3455 24.0573 36.6549 23.8863 36.9282 23.6552C37.522 23.1471 37.8545 22.5059 37.9256 21.7318C37.9376 21.6026 37.9372 21.4141 37.9244 21.1664C37.9113 21.0863 37.8968 21.0053 37.8809 20.9233C37.7211 20.1032 37.2837 19.4731 36.5686 19.033C36.3242 18.8823 36.0442 18.7758 35.7286 18.7134C35.323 18.6466 34.9736 18.6131 34.6804 18.6128C33.8775 18.6118 33.0749 18.6114 32.2725 18.6117L30.2956 18.6109H29.1264L26.78 18.609L25.8581 18.6124C25.8389 18.6124 25.8293 18.6217 25.8293 18.6402L25.8281 23.0879L25.8309 24.1836L25.8281 24.3134C25.8281 24.3136 25.8281 24.3137 25.8281 24.3139C25.8279 24.3261 25.8384 24.3364 25.8513 24.3365C25.8515 24.3365 25.8516 24.3365 25.8517 24.3365L26.4329 24.3358Z" fill="white" />
    <path d="M26.4532 17.3688L28.7009 17.3637L29.8689 17.3614L32.155 17.3634C33.11 17.3613 34.0652 17.3594 35.0207 17.3576C35.1211 17.3576 35.28 17.3415 35.4976 17.3094C36.4659 17.197 37.2612 16.5961 37.6659 15.7496C37.8869 15.2694 37.9738 14.776 37.9267 14.2695C37.8324 13.2501 37.3234 12.4859 36.3996 11.977C35.7912 11.697 35.1545 11.6601 34.4822 11.6597C34.1152 11.6594 33.7481 11.6596 33.3809 11.6601L31.9225 11.6597L30.8176 11.6593L28.4017 11.6551L28.1029 11.6589L26.2854 11.6593L25.8748 11.6547C25.8484 11.657 25.8352 11.6652 25.8352 11.6793C25.8355 12.9084 25.8347 14.1386 25.8328 15.3698L25.832 17.3175C25.832 17.3522 25.8499 17.3694 25.8856 17.3691L26.4532 17.3688Z" fill="white" />
    <defs>
      <linearGradient id="paint0_linear_34951_561" x1="6" y1="28.5" x2="42" y2="7.5" gradientUnits="userSpaceOnUse">
        <stop offset="0.237273" stop-color="#061C65" />
        <stop offset="0.356818" stop-color="#2C6CC7" />
        <stop offset="0.47472" stop-color="#BDB7C1" />
        <stop offset="0.805" stop-color="#B12023" />
        <stop offset="1" stop-color="#AF0707" />
      </linearGradient>
    </defs>
  </svg>;

export const LogoApplePay = <svg width="72" height="36" viewBox="0 0 72 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="72" height="36" rx="4" fill="white" />
<path d="M16.6803 9.0942C15.9952 9.90485 14.8991 10.5442 13.803 10.4529C13.666 9.3568 14.2026 8.1922 14.8306 7.47288C15.5157 6.63939 16.7145 6.04567 17.685 6C17.7992 7.14177 17.3539 8.2607 16.6803 9.0942ZM17.6736 10.6698C16.0865 10.5785 14.7278 11.5718 13.9743 11.5718C13.2093 11.5718 12.0561 10.7155 10.8002 10.7383C9.16742 10.7612 7.64887 11.686 6.81538 13.1589C5.10272 16.1047 6.37009 20.4662 8.02565 22.8639C8.83631 24.0514 9.80681 25.353 11.0856 25.3073C12.2959 25.2617 12.7754 24.5195 14.2369 24.5195C15.7098 24.5195 16.1322 25.3073 17.411 25.2845C18.7355 25.2617 19.5689 24.0971 20.3796 22.9096C21.3044 21.5623 21.6812 20.2493 21.7041 20.1808C21.6812 20.1579 19.1465 19.1874 19.1237 16.2645C19.1008 13.8211 21.1218 12.6565 21.2131 12.588C20.0713 10.8982 18.2902 10.7155 17.6736 10.6698ZM26.842 7.35871V25.1589H29.6051V19.0733H33.43C36.9238 19.0733 39.3787 16.6755 39.3787 13.2046C39.3787 9.73359 36.9695 7.35871 33.5214 7.35871H26.842ZM29.6051 9.68792H32.7906C35.1884 9.68792 36.5585 10.9667 36.5585 13.216C36.5585 15.4653 35.1884 16.7555 32.7792 16.7555H29.6051V9.68792ZM44.4253 25.2959C46.1608 25.2959 47.7707 24.4167 48.5014 23.0238H48.5585V25.1589H51.116V16.2988C51.116 13.7298 49.0609 12.0742 45.8982 12.0742C42.9638 12.0742 40.7944 13.7526 40.7145 16.059H43.2036C43.4091 14.9629 44.4253 14.2436 45.8182 14.2436C47.5081 14.2436 48.4557 15.0314 48.4557 16.4814V17.4634L45.0076 17.6689C41.7992 17.863 40.0637 19.176 40.0637 21.4596C40.0637 23.7659 41.8563 25.2959 44.4253 25.2959ZM45.1674 23.1836C43.6945 23.1836 42.7583 22.4757 42.7583 21.3911C42.7583 20.2721 43.6603 19.6213 45.3844 19.5186L48.4557 19.3245V20.3292C48.4557 21.9962 47.0399 23.1836 45.1674 23.1836ZM54.5299 30C57.2245 30 58.4919 28.9724 59.5994 25.8554L64.4519 12.2455H61.6432L58.3891 22.7612H58.332L55.078 12.2455H52.1893L56.8706 25.2046L56.6194 25.9924C56.1969 27.3283 55.5119 27.8421 54.2902 27.8421C54.0732 27.8421 53.6508 27.8192 53.4795 27.7964V29.9315C53.6394 29.9772 54.3244 30 54.5299 30Z" fill="black" />
</svg>;

export const LogoAmex = <svg width="62" height="36" viewBox="0 0 62 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="62" height="36" rx="4" fill="white" />
<rect x="6" y="6" width="50" height="24" rx="4" fill="#006FCF" />
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.584 26.6624V19.2192H23.9711L24.8709 20.3215L25.8005 19.2192H56.2437V26.1491C56.2437 26.1491 55.4475 26.655 54.5267 26.6624H37.6698L36.6552 25.4891V26.6624H33.3306V24.6595C33.3306 24.6595 32.8765 24.9391 31.8947 24.9391H30.7631V26.6624H25.7294L24.8308 25.5365L23.9185 26.6624H15.584ZM5.8125 13.6094L7.69954 9.46619H10.963L12.0339 11.7871V9.46619H16.0906L16.7281 11.1436L17.3462 9.46619H35.5568V10.3095C35.5568 10.3095 36.5141 9.46619 38.0874 9.46619L43.996 9.48563L45.0485 11.7761V9.46619H48.4434L49.3777 10.7819V9.46619H52.8038V16.9093H49.3777L48.4823 15.5894V16.9093H43.4944L42.9928 15.736H41.6519L41.1585 16.9093H37.7759C36.4221 16.9093 35.5568 16.0832 35.5568 16.0832V16.9093H30.4566L29.4444 15.736V16.9093H10.4795L9.97825 15.736H8.64163L8.14392 16.9093H5.8125V13.6094ZM5.82227 15.957L8.36747 10.3838H10.297L12.8398 15.957H11.1463L10.6791 14.841H7.94895L7.47932 15.957H5.82227ZM10.1413 13.631L9.30911 11.6808L8.4745 13.631H10.1413ZM13.0156 15.956V10.3828L15.3704 10.391L16.74 13.9843L18.0768 10.3828H20.4128V15.956H18.9333V11.8494L17.3651 15.956H16.0676L14.4951 11.8494V15.956H13.0156ZM21.4238 15.956V10.3828H26.2514V11.6295H22.9188V12.5828H26.1736V13.7561H22.9188V14.746H26.2514V15.956H21.4238ZM27.1094 15.957V10.3838H30.4016C31.4924 10.3838 32.4699 11.0191 32.4699 12.1919C32.4699 13.1944 31.6458 13.8402 30.8469 13.9037L32.7935 15.957H30.9856L29.2117 13.977H28.5888V15.957H27.1094ZM30.279 11.6304H28.5879V12.8037H30.3009C30.5974 12.8037 30.9798 12.5873 30.9798 12.217C30.9798 11.9292 30.6847 11.6304 30.279 11.6304ZM34.5828 15.956H33.0723V10.3828H34.5828V15.956ZM38.1662 15.956H37.8402C36.2625 15.956 35.3047 14.7855 35.3047 13.1923C35.3047 11.5598 36.2518 10.3828 38.2441 10.3828H39.8792V11.7028H38.1843C37.3755 11.7028 36.8036 12.2972 36.8036 13.2061C36.8036 14.2854 37.4576 14.7387 38.3998 14.7387H38.7891L38.1662 15.956ZM38.8398 15.957L41.385 10.3838H43.3146L45.8574 15.957H44.1638L43.6966 14.841H40.9665L40.4969 15.957H38.8398ZM43.1589 13.631L42.3267 11.6808L41.4921 13.631H43.1589ZM46.0293 15.956V10.3828H47.9102L50.3118 13.8844V10.3828H51.7913V15.956H49.9712L47.5087 12.3628V15.956H46.0293ZM16.5977 25.7092V20.136H21.4253V21.3826H18.0927V22.3359H21.3474V23.5092H18.0927V24.4992H21.4253V25.7092H16.5977ZM40.252 25.7091V20.1359H45.0796V21.3826H41.747V22.3359H44.9862V23.5092H41.747V24.4992H45.0796V25.7091H40.252ZM21.6126 25.7092L23.9631 22.957L21.5566 20.136H23.4205L24.8537 21.8799L26.2918 20.136H28.0827L25.7078 22.9226L28.0627 25.7092H26.1991L24.8075 23.9928L23.4497 25.7092H21.6126ZM28.2383 25.71V20.1368H31.5062C32.8471 20.1368 33.6304 20.9507 33.6304 22.0114C33.6304 23.2917 32.6316 23.9501 31.3139 23.9501H29.7566V25.71H28.2383ZM31.3959 21.3972H29.7559V22.6805H31.391C31.8231 22.6805 32.1259 22.4108 32.1259 22.0389C32.1259 21.6429 31.8216 21.3972 31.3959 21.3972ZM34.2715 25.7092V20.136H37.5637C38.6546 20.136 39.632 20.7713 39.632 21.9441C39.632 22.9466 38.8079 23.5924 38.009 23.6559L39.9556 25.7092H38.1477L36.3738 23.7292H35.7509V25.7092H34.2715ZM37.4411 21.3826H35.75V22.5559H37.463C37.7595 22.5559 38.1419 22.3395 38.1419 21.9692C38.1419 21.6814 37.8468 21.3826 37.4411 21.3826ZM45.764 25.7092V24.4992H48.7248C49.1629 24.4992 49.3526 24.2763 49.3526 24.0317C49.3526 23.7974 49.1635 23.5606 48.7248 23.5606H47.3869C46.2239 23.5606 45.5762 22.8933 45.5762 21.8914C45.5762 20.9977 46.1693 20.136 47.8975 20.136H50.7785L50.1556 21.39H47.6639C47.1876 21.39 47.041 21.6253 47.041 21.8501C47.041 22.0812 47.2222 22.3359 47.5861 22.3359H48.9876C50.2841 22.3359 50.8466 23.0285 50.8466 23.9355C50.8466 24.9106 50.2198 25.7092 48.917 25.7092H45.764ZM50.9769 25.7092V24.4992H53.9377C54.3758 24.4992 54.5655 24.2763 54.5655 24.0317C54.5655 23.7974 54.3764 23.5606 53.9377 23.5606H52.5998C51.4368 23.5606 50.7891 22.8933 50.7891 21.8914C50.7891 20.9977 51.3822 20.136 53.1104 20.136H55.9914L55.3685 21.39H52.8768C52.4005 21.39 52.2539 21.6253 52.2539 21.8501C52.2539 22.0812 52.4351 22.3359 52.7989 22.3359H54.2005C55.497 22.3359 56.0595 23.0285 56.0595 23.9355C56.0595 24.9106 55.4326 25.7092 54.1299 25.7092H50.9769Z" fill="white" />
</svg>;

The Mangopay Checkout SDK is a code-light, customizable solution to power the payment page of your website or app. It simplifies your implementation, improves security, and supports a variety of payment methods.

## Supported payment methods

### Card brands

<CardGroup cols={3}>
  <Card title="AMEX" icon={LogoAmex} />

  <Card title="CB (France)" icon={LogoCb} />

  <Card title="Maestro" icon={LogoMaestro} />

  <Card title="Mastercard" icon={LogoMastercard} />

  <Card title="Visa" icon={LogoVisa} />
</CardGroup>

### APMs

<CardGroup cols={3}>
  <Card title="Apple Pay" icon={LogoApplePay} />

  <Card title="Google Pay" icon={LogoGooglePay} />

  <Card title="PayPal" icon={LogoPayPal} />
</CardGroup>

<Note>
  **Note – Currency coverage and usage**

  Checkout SDK supports all currencies available for all payment methods.

  You must use the same currency for a transaction between your app, Checkout SDK, and calls to the Mangopay API to avoid incompatibility errors.
</Note>

## Features

* Simplified card tokenization in full compliance with PCI-DSS
* Integrated 3DS handling for secure and seamless payment authentication
* Detection and presentation of user's [co-branded card](/guides/payment-methods/card/co-branded) choice, leveraging Mangopay's [BIN lookup endpoint](/api-reference/payment-method-metadata/lookup-payment-method-metadata)
* Customizable design elements to match your branding
* Localization support for your whole user community
* Compliance with [privacy requirements](/guides/users/privacy)

## How it works

1. The user proceeds to payment on your app or website.
2. You configure and display your chosen payment methods to the user to collect payment information.
3. The user selects the payment method and provides the payment information when required (e.g. card details).
4. The Checkout SDK securely tokenizes the payment data:
   * For card payments, with the tokenization server via the Mangopay API to generate a `CardId`
   * For Google Pay and Apple Pay, with the payment methods API to generate tokenized payment data
5. You create a delegate function that gets called by the SDK to start payment processing.
6. Your server uses the `CardId` or tokenized payment data to create the transaction via the Mangopay API (pay-in, preauthorization, deposit preauthorization, or card validation).
7. Your delegate function returns the outcome of the transaction.
8. If required, the SDK handles additional redirect actions: 3DS authorization or validation via payment method interface (e.g. PayPal).
9. You present the payment result to the user.

## Flow diagram

The flow is described in the following diagram (numbered steps correspond to those above):

<div>
  <iframe width="100%" height="700" src="https://cdn.swimlanes.io/dist/embeded.html#rZRLjptAEIb3fYpaRR5rmEiZPJHGEgLioDgDAryIoix6oG23DLTTtGPNrHKHXCBnyVFyklTz8ADjRxZZ2Wrq8dffX3XMVcZMsFcsWYutgsj5CH9+/IQPYgdcwU7IdUnIjQnjMXgFV5wqLgp4Bht6n7NCQc7USqRQsowl1afxmBCYl0waxsTabOA57NhdyRV2CaRIGEtBiTad/P4FvSBj0pWi23558XXfO+MPrJJIoCcZW+mOugMrtapW3ULIHGMbOU9KX+vSUSV9ONBIbPQ4NDMBT5mEhMoUUqroBRYkUFsSizUr+ANtJwfgCxO892BboQOhO/WiOLRiz78dKh56g2peajU2zbK6l2RLXipZ105R5JIqhmUGfgUZVXpME0L2bctK9TQbk9ooY/KJFkuBw4IVeGiYH8VgS4alsTXmhf28bvTQwJCprSwOpvVH7ac1nrFK55lY9zuab4IoukbbIt9kTLF0dEFYkZqEL6Ay3QqCmQuB9fkSpr4/rf8fQ6U1fEa3RbIaXv/cO4aNtcUAqfW3DJ8ewb9TlBf7+koP8h+mJsSoCJz5luPdTiGKrdjVB+22Bk1DTeU58l7tyUOZBu/idpa2OoMcJQzLv9blu6ShNq+AUQ3QPJzdJI3Aq7zJvUpEjovWw6/fvWKvKtTpPRwOm7/Rzbvh+vk5Ot9Bwuu0hRT5Y+IeutB1vNC19Y7D6NqJLjV0gTXTz8RR8t7WolIu9dOD0oE2WNXrjgdJfd/1PrUo9q3VKOIV80R7Sou0zdGvxL9sLhpx0PiKL/3IATlJzp7ThrUuoid9dXiZ87J8tAfXrZ/Q8epdRU/zsOPPNlN/AQ==#rZRQ" />
</div>

## Resources

<CardGroup cols={2}>
  <Card title="Live demo" href="https://checkout-demo-mangopay.netlify.app/" icon="arrow-up-right">
    Try out the Checkout SDK online
  </Card>

  <Card title="Web integration" href="/sdks/checkout/web" icon="code">
    Integrate the Checkout SDK
  </Card>

  {/* See the SDK changelog on GitHub */}

  {/* <Card title="Example apps" href="https://github.com/Mangopay/mangopay-checkout-web/tree/main/examples" icon="github"> */}

  {/* </Card> */}
</CardGroup>

## Version policy

The Checkout SDK adheres to [semantic versioning](https://semver.org/) as the standard for versioning packages.

To ensure a smooth integration experience while avoiding potentially breaking changes, we recommend configuring your dependency manager to automatically install only patch updates.

For example, when using the web SDK, you can specify the desired patch version in your `package.json` file using the `~` operator:

```shell Specify patch version theme={null}
"dependencies": {
  "@mangopay/checkout-sdk": "~1.1.0"
}
```

This configuration will allow your project to automatically receive patch updates (e.g., `2.0.1`, `2.0.2`, etc.) for bug fixes and minor improvements. However, it will prevent updates to new minor (`2.1.0`) or major (`3.0.0`) versions, which may introduce breaking changes.

{/* 
https://swimlanes.io/u/o8rVe6hhV

Title: Checkout SDK – How it works

=: ** Initiation & payment method selection **

User-->App / website: Proceed to payment
App / website->Checkout SDK: **[2]** Initialize SDK 
Checkout SDK-->User: Present payment form
User-->Checkout SDK: **[3]** Select payment method (optional: enter card data)

=: ** Tokenization **
if: IF CARD REGISTRATION
Checkout SDK->App / website: **[4]** Call card registration delegate
App / website->Platform: Request card registration
Platform->Mangopay API: POST Create Card Registration
Mangopay API->Checkout SDK: Return Card Registration
Checkout SDK->Checkout SDK: Tokenize card
Checkout SDK->Checkout SDK: Event: onTokenizationCompleted()
end:
if : IF APPLE PAY, GOOGLE PAY
Checkout SDK-->User: **[4]** Launch payment method UI
User-->Checkout SDK: Authorize payment
Checkout SDK->Checkout SDK: Obtain payment token
Checkout SDK->Checkout SDK: Event: onTokenizationCompleted()
end

-: ** LOADING STATE ** 

=: ** Payment **
Checkout SDK->App / website: **[5]** Call pay-in delegate
App / website->Platform: Request pay-in
Platform->Mangopay API: **[6]** POST Create PayIn (ReturnURL=checkout.mangopay.com)
Mangopay API-->Platform: Return PayIn
Platform-->App / website:**[7]** Return PayIn to delegate
App / website->Checkout SDK: Return PayIn from delegate

if : IF REDIRECTION (3DS, PAYPAL)
 Checkout SDK-->User: **[8]** Redirect for authorization or completion
 User-->Mangopay API: Authenticate and complete
 Mangopay API->Checkout SDK: Return to checkout.mangopay.com
end


Checkout SDK->App / website: Event: onPaymentCompleted()
App / website->Checkout SDK: Dismiss Checkout UI
App / website-->User: **[9]** Present result

*/}
