> ## 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.

# Direct debit

export const LogoBacs = <svg width="93" height="36" viewBox="0 0 93 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_29759_143)">
<rect width="93" height="36" rx="4" fill="white" />
<path d="M25.9383 14.2485C26.2888 17.2731 23.4199 20.2198 20.4602 21.7906C23.2901 20.9598 29.6899 16.0788 26.5355 11.4834C23.381 6.88806 18.3313 6.0962 18.3313 6.0962L18.0846 6.01831H17.6562C23.1733 7.99147 25.6008 11.3406 25.9383 14.2485Z" fill="#DC0032" />
<path d="M13.3223 23.2575C22.1236 22.4396 25.9401 16.9745 24.3693 12.5219C22.7986 8.06935 16.4897 6.0962 16.4897 6.0962L16.3599 6.01831H14.166C15.9964 6.49862 24.0967 8.96506 23.4477 14.7288C22.7077 21.2454 17.0739 22.5565 13.3223 23.2575Z" fill="#DC0032" />
<path d="M20.5916 15.1831C21.8378 8.22509 10.8556 6.03125 10.8556 6.03125H10.5441L7.48047 22.141C10.8296 22.2189 19.3584 22.1021 20.5916 15.1831Z" fill="#DC0032" />
<path d="M18.8385 6.03125C24.771 6.91398 32.391 13.6513 25.7186 20.752C19.4876 27.3985 8.33663 25.4642 6.90869 25.1787L6 29.9817H19.3318C24.057 29.9817 28.1201 26.347 29.0158 21.7127L32.0664 6.03125H18.8385Z" fill="#DC0032" />
<path d="M43.4377 22.7641C41.6852 26.4638 39.9587 27.4504 37.4274 27.71C34.896 27.9696 35.0128 24.932 35.0128 24.932C34.909 22.9589 36.0384 18.9996 37.7259 17.2731C39.4135 15.5465 40.7246 15.3648 42.2304 15.6244C43.7363 15.8841 45.2031 19.0645 43.4377 22.7641ZM43.4117 13.3916C39.1668 12.47 36.4927 16.4682 36.4927 16.4682L38.6865 6.03125H35.9345L32.2348 24.7373C32.2348 24.7373 31.3521 29.826 36.7783 29.826C42.1915 29.826 44.3594 26.6715 45.8912 23.6339C47.4359 20.6092 47.6566 14.3133 43.4117 13.3916Z" fill="black" />
<path d="M58.6007 21.9592C57.3935 24.9579 55.4852 27.7878 53.1875 27.5672C50.8769 27.3465 50.0071 24.8541 50.8379 21.3361C51.6817 17.8182 55.1607 14.8844 59.8859 15.5335C59.8859 15.5335 59.808 18.9606 58.6007 21.9592ZM63.0403 14.0926C63.0403 14.0926 61.7941 13.132 58.419 13.132C55.0439 13.132 51.0586 14.6638 48.6441 19.9082C46.2296 25.1397 48.6441 28.372 49.9292 29.0989C51.2144 29.8259 53.7717 30.5269 55.641 28.8004C57.5103 27.0739 58.3541 25.4252 58.3541 25.4252L58.1724 29.8129H60.8465C60.8465 29.8129 60.6648 25.2305 61.1451 22.816C61.6124 20.4274 63.0403 14.0926 63.0403 14.0926Z" fill="black" />
<path d="M76.3593 13.9109L75.4766 16.1047C75.4766 16.1047 73.1659 15.1831 71.2966 15.7023C69.4273 16.2216 66.6882 18.7399 66.3897 21.8035C66.0911 24.8671 66.831 27.4114 69.6869 27.5802C72.5428 27.749 73.8279 26.6585 73.8279 26.6585L74.0097 28.9692C74.0097 28.9692 72.4 29.9428 69.7259 29.8909C67.0517 29.8389 63.391 28.8134 63.352 23.9454C63.3131 19.0775 65.6627 15.3259 69.3234 13.9239C72.9971 12.5089 76.3593 13.9109 76.3593 13.9109Z" fill="black" />
<path d="M86.9505 14.0926L86.1068 16.1047C86.1068 16.1047 84.1596 15.261 82.9912 15.4427C81.8229 15.6244 80.5767 16.0658 80.5378 17.7534C80.4988 19.4409 84.1596 21.5179 84.1596 21.5179C84.1596 21.5179 85.912 23.0757 85.6265 25.2695C85.3279 27.4634 83.0691 29.8909 80.7585 29.8909C78.4478 29.8909 75.6309 28.8524 75.6309 28.8524L76.3578 26.6585C76.3578 26.6585 78.4867 27.749 80.1613 27.736C81.8489 27.723 82.8744 26.5157 82.7965 25.0878C82.7186 23.6599 81.4465 22.8291 80.2003 21.9983C78.9541 21.1674 77.4872 19.7395 77.7468 17.3899C78.0064 15.0403 80.9272 12.9633 83.5365 13.145C86.1457 13.3267 86.9505 14.0926 86.9505 14.0926Z" fill="black" />
</g>
<defs>
<clipPath id="clip0_29759_143">
<rect width="93" height="36" fill="white" />
</clipPath>
</defs>
</svg>;

export const LogoSepa = <svg width="76" height="36" viewBox="0 0 76 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="76" height="36" rx="4" fill="white" />
<path d="M6.82227 27.0666L7.45775 27.005C7.49563 27.2181 7.57341 27.3745 7.69027 27.4748C7.80713 27.5748 7.9651 27.6247 8.16336 27.6247C8.37371 27.6247 8.53208 27.58 8.63887 27.4914C8.74525 27.4023 8.79885 27.2983 8.79885 27.179C8.79885 27.1029 8.77628 27.0376 8.73155 26.9836C8.68642 26.9304 8.60824 26.8837 8.49662 26.8438C8.42006 26.8172 8.24597 26.77 7.97356 26.7027C7.62378 26.6157 7.37797 26.5093 7.23693 26.3828C7.03826 26.2051 6.93913 25.9879 6.93913 25.732C6.93913 25.5676 6.98587 25.4132 7.07936 25.2702C7.17245 25.1263 7.30704 25.0175 7.48314 24.9421C7.65844 24.8672 7.8708 24.8297 8.11944 24.8297C8.52523 24.8297 8.83069 24.9188 9.0358 25.0969C9.24091 25.2746 9.34891 25.5123 9.35898 25.8093L8.70617 25.838C8.67796 25.6715 8.61832 25.5522 8.52644 25.4793C8.43456 25.4068 8.29634 25.3701 8.11259 25.3701C7.92319 25.3701 7.77449 25.4092 7.6673 25.4874C7.59799 25.5369 7.56333 25.6042 7.56333 25.688C7.56333 25.7642 7.59557 25.8299 7.66045 25.8843C7.74266 25.9536 7.94293 26.0253 8.26048 26.1003C8.57802 26.1752 8.81295 26.253 8.96528 26.3332C9.1176 26.4134 9.23648 26.523 9.32272 26.6616C9.40855 26.8011 9.45167 26.9727 9.45167 27.177C9.45167 27.3624 9.40009 27.5357 9.29733 27.6977C9.19417 27.8593 9.04869 27.9794 8.86051 28.0583C8.67232 28.1369 8.43779 28.1764 8.15691 28.1764C7.7479 28.1764 7.43398 28.0817 7.21476 27.8927C6.99554 27.7037 6.86498 27.4285 6.82227 27.0666Z" fill="#10298E" />
<path d="M10.1309 24.8849H10.7506V25.4583H10.1309V24.8849ZM10.1309 25.7759H10.7506V28.1187H10.1309V25.7759Z" fill="#10298E" />
<path d="M13.6529 28.1187H13.0332V26.9231C13.0332 26.67 13.0199 26.5064 12.9933 26.4323C12.9671 26.3581 12.924 26.3001 12.8643 26.259C12.8047 26.2179 12.7329 26.1973 12.6491 26.1973C12.5419 26.1973 12.4456 26.2267 12.3602 26.2856C12.2748 26.3444 12.2163 26.4222 12.1849 26.5193C12.1531 26.6164 12.1374 26.7957 12.1374 27.0577V28.1187H11.5176V25.7758H12.0934V26.12C12.2977 25.8552 12.5552 25.723 12.8655 25.723C13.0021 25.723 13.1271 25.7476 13.2403 25.7968C13.3535 25.8463 13.4394 25.9092 13.4974 25.9854C13.5554 26.0619 13.5957 26.149 13.6187 26.2457C13.6417 26.3428 13.6529 26.4818 13.6529 26.6628V28.1187Z" fill="#10298E" />
<path d="M14.3611 28.2733L15.0691 28.3595C15.0808 28.4417 15.1082 28.4981 15.1509 28.5292C15.2098 28.5735 15.302 28.5953 15.429 28.5953C15.5906 28.5953 15.7119 28.5711 15.7929 28.5227C15.8473 28.4901 15.8884 28.4381 15.9162 28.366C15.9351 28.3144 15.9448 28.2197 15.9448 28.0815V27.7393C15.7598 27.9924 15.5257 28.1189 15.2436 28.1189C14.9289 28.1189 14.6794 27.9856 14.4957 27.7196C14.3514 27.5092 14.2793 27.2477 14.2793 26.9342C14.2793 26.5417 14.374 26.2415 14.563 26.0344C14.752 25.8268 14.9869 25.7233 15.2678 25.7233C15.5575 25.7233 15.7965 25.8502 15.9847 26.1049V25.7761H16.565V27.8784C16.565 28.1548 16.542 28.3615 16.4965 28.4981C16.4509 28.6352 16.3868 28.7423 16.3046 28.8205C16.222 28.8983 16.112 28.9591 15.9746 29.0035C15.8372 29.0474 15.6631 29.0696 15.4532 29.0696C15.0558 29.0696 14.7741 29.0015 14.6081 28.8657C14.4421 28.7294 14.3591 28.557 14.3591 28.3482L14.3611 28.2733ZM14.9148 26.8991C14.9148 27.1474 14.9627 27.3295 15.0595 27.4452C15.1554 27.5604 15.2742 27.618 15.4157 27.618C15.5668 27.618 15.6949 27.5588 15.7993 27.4407C15.9037 27.3223 15.9561 27.147 15.9561 26.9145C15.9561 26.6719 15.9061 26.4917 15.8062 26.3741C15.7058 26.2564 15.5793 26.1976 15.4266 26.1976C15.2779 26.1976 15.1554 26.2552 15.0595 26.3704C14.9627 26.4861 14.9148 26.6622 14.9148 26.8991Z" fill="#10298E" />
<path d="M17.3125 24.8849H17.9323V28.1187H17.3125V24.8849Z" fill="#10298E" />
<path d="M20.0588 27.3731L20.6766 27.4766C20.5972 27.7031 20.4715 27.8756 20.3002 27.9941C20.1289 28.1125 19.9146 28.1718 19.6575 28.1718C19.2501 28.1718 18.9486 28.0384 18.7528 27.7724C18.5985 27.5592 18.5215 27.2901 18.5215 26.9649C18.5215 26.5768 18.6226 26.2726 18.8257 26.0525C19.0288 25.8329 19.2851 25.7229 19.5954 25.7229C19.944 25.7229 20.2192 25.8382 20.4207 26.0682C20.6222 26.2983 20.7185 26.6509 20.7096 27.1261H19.1566C19.161 27.3098 19.211 27.4529 19.3065 27.5552C19.402 27.6572 19.5213 27.7084 19.6639 27.7084C19.761 27.7084 19.8428 27.6818 19.9089 27.629C19.975 27.5762 20.025 27.4907 20.0588 27.3731ZM20.0943 26.7465C20.0899 26.5671 20.0435 26.4305 19.9553 26.3374C19.867 26.2439 19.7594 26.1972 19.6329 26.1972C19.4979 26.1972 19.3859 26.2468 19.2976 26.3451C19.2094 26.4434 19.1662 26.5776 19.1675 26.7465H20.0943Z" fill="#10298E" />
<path d="M22.7461 28.1187V24.8849H25.1438V25.4317H23.3989V26.149H25.0225V26.6938H23.3989V27.5739H25.2058V28.1187H22.7461Z" fill="#10298E" />
<path d="M27.432 28.1186V27.7681C27.3466 27.893 27.2346 27.9913 27.0955 28.0634C26.9565 28.1356 26.8098 28.1714 26.6555 28.1714C26.4979 28.1714 26.3569 28.1372 26.232 28.0679C26.1071 27.9986 26.0164 27.9018 25.9608 27.7765C25.9048 27.6516 25.877 27.4787 25.877 27.2583V25.7758H26.4967V26.8525C26.4967 27.1817 26.508 27.3836 26.531 27.4582C26.5535 27.5323 26.5951 27.5912 26.6555 27.6347C26.7159 27.6778 26.7925 27.6996 26.8848 27.6996C26.9908 27.6996 27.0859 27.6705 27.1697 27.6125C27.2535 27.5545 27.3107 27.4819 27.3418 27.3961C27.3724 27.3099 27.3881 27.0995 27.3881 26.7643V25.7758H28.0079V28.1186H27.432Z" fill="#10298E" />
<path d="M29.3795 28.1187H28.7598V25.7758H29.3356V26.1091C29.4339 25.9515 29.5226 25.8479 29.6012 25.798C29.6798 25.748 29.7692 25.723 29.8692 25.723C30.0106 25.723 30.1464 25.7621 30.2774 25.8399L30.0855 26.3803C29.9808 26.313 29.8841 26.2791 29.7942 26.2791C29.7076 26.2791 29.6338 26.3029 29.5738 26.3509C29.5133 26.3984 29.4658 26.485 29.4315 26.61C29.3969 26.7349 29.3795 26.9968 29.3795 27.395V28.1187Z" fill="#10298E" />
<path d="M30.5352 26.9142C30.5352 26.7083 30.5859 26.5092 30.6875 26.3166C30.789 26.1236 30.9325 25.9765 31.1187 25.8753C31.3044 25.7738 31.5124 25.723 31.7417 25.723C32.0963 25.723 32.3868 25.8383 32.6133 26.0684C32.8394 26.2985 32.953 26.589 32.953 26.9408C32.953 27.295 32.8386 27.5888 32.6097 27.8217C32.3812 28.055 32.0935 28.1715 31.7461 28.1715C31.5313 28.1715 31.3266 28.1231 31.132 28.026C30.9369 27.9289 30.789 27.7867 30.6875 27.5993C30.5859 27.4115 30.5352 27.1834 30.5352 26.9142ZM31.1706 26.9473C31.1706 27.1798 31.2254 27.3575 31.3359 27.4812C31.4463 27.6045 31.5821 27.6666 31.7441 27.6666C31.9057 27.6666 32.0415 27.6045 32.1511 27.4812C32.2603 27.3575 32.3155 27.1782 32.3155 26.9428C32.3155 26.7135 32.2603 26.537 32.1511 26.4133C32.0415 26.29 31.9057 26.2284 31.7441 26.2284C31.5821 26.2284 31.4463 26.29 31.3359 26.4133C31.2254 26.537 31.1706 26.7147 31.1706 26.9473Z" fill="#10298E" />
<path d="M34.9707 28.1187V24.8849H36.0184C36.4158 24.8849 36.6745 24.901 36.795 24.9332C36.9803 24.982 37.1355 25.0876 37.2604 25.25C37.3853 25.4124 37.4478 25.6223 37.4478 25.8798C37.4478 26.0781 37.4119 26.2449 37.3398 26.3803C37.2677 26.5157 37.1762 26.6221 37.0654 26.6995C36.9541 26.7764 36.8413 26.8276 36.7265 26.8526C36.5709 26.8832 36.3448 26.8989 36.0495 26.8989H35.6235V28.1187H34.9707ZM35.6235 25.4317V26.3497H35.981C36.2385 26.3497 36.4105 26.3328 36.4972 26.2989C36.5838 26.2651 36.6519 26.2119 36.7011 26.1401C36.7506 26.068 36.7752 25.9842 36.7752 25.8887C36.7752 25.771 36.7406 25.6739 36.6717 25.5973C36.6023 25.5208 36.5149 25.4728 36.4089 25.4539C36.3311 25.4394 36.1744 25.4317 35.939 25.4317H35.6235Z" fill="#10298E" />
<path d="M38.5774 26.4907L38.0152 26.3891C38.0781 26.1627 38.1873 25.995 38.3417 25.8862C38.496 25.7774 38.7253 25.723 39.0299 25.723C39.306 25.723 39.5119 25.7557 39.6473 25.8213C39.7827 25.8866 39.8778 25.9696 39.933 26.0704C39.9882 26.1711 40.0156 26.3561 40.0156 26.6253L40.0092 27.3486C40.0092 27.5549 40.0192 27.7065 40.039 27.8044C40.0587 27.9019 40.0958 28.0071 40.1506 28.1187H39.5373C39.5208 28.0776 39.501 28.0163 39.4772 27.9357C39.4672 27.8991 39.4599 27.8745 39.4555 27.8628C39.3495 27.9656 39.2363 28.0429 39.1158 28.0945C38.9953 28.1461 38.8667 28.1715 38.7297 28.1715C38.4883 28.1715 38.2985 28.1062 38.1595 27.9752C38.0205 27.8443 37.9512 27.6791 37.9512 27.4788C37.9512 27.3466 37.9826 27.2285 38.0459 27.125C38.1087 27.0214 38.1974 26.942 38.3118 26.8864C38.4255 26.8316 38.5899 26.7832 38.8047 26.7421C39.0944 26.6877 39.2951 26.637 39.4067 26.5898V26.5282C39.4067 26.4089 39.3777 26.3243 39.3185 26.2735C39.2596 26.2227 39.1488 26.1973 38.9856 26.1973C38.8752 26.1973 38.789 26.2191 38.7273 26.2626C38.6656 26.3057 38.6157 26.3819 38.5774 26.4907ZM39.4067 26.9936C39.3273 27.0202 39.202 27.0516 39.0299 27.0887C38.8579 27.1254 38.745 27.1612 38.6922 27.1967C38.6112 27.2539 38.5709 27.3269 38.5709 27.4151C38.5709 27.5017 38.6032 27.5767 38.6681 27.64C38.7325 27.7032 38.8147 27.7347 38.9151 27.7347C39.0267 27.7347 39.1331 27.698 39.2346 27.6247C39.3096 27.5686 39.3592 27.5001 39.3829 27.4195C39.3987 27.3663 39.4067 27.2656 39.4067 27.1173V26.9936Z" fill="#10298E" />
<path d="M40.4688 25.7761H41.1284L41.689 27.4396L42.2358 25.7761H42.8777L42.0504 28.0308L41.9025 28.4386C41.8481 28.5756 41.7961 28.68 41.7474 28.7521C41.6978 28.8238 41.6414 28.8826 41.5773 28.9274C41.5133 28.9721 41.4347 29.0072 41.3412 29.0321C41.2477 29.0571 41.1425 29.0696 41.0244 29.0696C40.9056 29.0696 40.7887 29.0571 40.6743 29.0321L40.6187 28.547C40.7158 28.5659 40.8032 28.5756 40.8814 28.5756C41.0253 28.5756 41.132 28.5333 41.201 28.4486C41.2703 28.364 41.3231 28.2564 41.3601 28.1255L40.4688 25.7761Z" fill="#10298E" />
<path d="M43.3633 25.7761H43.9347V26.096C44.139 25.8474 44.3824 25.7233 44.6649 25.7233C44.8148 25.7233 44.945 25.7539 45.0554 25.8155C45.1654 25.8776 45.256 25.9711 45.3266 26.096C45.4293 25.9711 45.5405 25.8776 45.6598 25.8155C45.7787 25.7539 45.906 25.7233 46.0414 25.7233C46.2135 25.7233 46.359 25.7579 46.4779 25.8276C46.5971 25.8978 46.6862 26.0001 46.745 26.1355C46.7873 26.2358 46.8091 26.3974 46.8091 26.6211V28.1189H46.1889V26.7799C46.1889 26.5473 46.168 26.3974 46.1253 26.3297C46.0676 26.2415 45.9794 26.1976 45.8605 26.1976C45.7735 26.1976 45.6921 26.2238 45.6155 26.277C45.5389 26.3297 45.4841 26.4075 45.4503 26.5095C45.416 26.6118 45.3995 26.773 45.3995 26.9938V28.1189H44.7793V26.8351C44.7793 26.607 44.7684 26.4599 44.7463 26.3938C44.7245 26.3277 44.6903 26.2782 44.6439 26.2459C44.5976 26.2137 44.5347 26.1976 44.4553 26.1976C44.3594 26.1976 44.2736 26.223 44.197 26.2745C44.1209 26.3261 44.0657 26.4003 44.033 26.4974C43.9996 26.5945 43.9831 26.7557 43.9831 26.9805V28.1189H43.3633V25.7761Z" fill="#10298E" />
<path d="M48.9186 27.3731L49.5364 27.4766C49.457 27.7031 49.3313 27.8756 49.16 27.9941C48.9887 28.1125 48.7743 28.1718 48.5172 28.1718C48.1094 28.1718 47.8084 28.0384 47.6126 27.7724C47.4582 27.5592 47.3809 27.2901 47.3809 26.9649C47.3809 26.5768 47.4824 26.2726 47.6855 26.0525C47.8886 25.8329 48.1449 25.7229 48.4552 25.7229C48.8038 25.7229 49.079 25.8382 49.2805 26.0682C49.4816 26.2983 49.5783 26.6509 49.5694 27.1261H48.0163C48.0208 27.3098 48.0707 27.4529 48.1663 27.5552C48.2622 27.6572 48.381 27.7084 48.5237 27.7084C48.6208 27.7084 48.7026 27.6818 48.7687 27.629C48.8348 27.5762 48.8848 27.4907 48.9186 27.3731ZM48.9541 26.7465C48.9496 26.5671 48.9033 26.4305 48.815 26.3374C48.7268 26.2439 48.6192 26.1972 48.4927 26.1972C48.3577 26.1972 48.2456 26.2468 48.1574 26.3451C48.0691 26.4434 48.0256 26.5776 48.0272 26.7465H48.9541Z" fill="#10298E" />
<path d="M52.3424 28.1187H51.7226V26.9231C51.7226 26.67 51.7093 26.5064 51.6827 26.4323C51.6561 26.3581 51.6134 26.3001 51.5538 26.259C51.4941 26.2179 51.4224 26.1973 51.3386 26.1973C51.2314 26.1973 51.1351 26.2267 51.0497 26.2856C50.9642 26.3444 50.9058 26.4222 50.8744 26.5193C50.8429 26.6164 50.8268 26.7957 50.8268 27.0577V28.1187H50.207V25.7758H50.7829V26.12C50.9872 25.8552 51.2447 25.723 51.555 25.723C51.6916 25.723 51.8165 25.7476 51.9297 25.7968C52.043 25.8463 52.1284 25.9092 52.1868 25.9854C52.2449 26.0619 52.2856 26.149 52.3081 26.2457C52.3311 26.3428 52.3424 26.4818 52.3424 26.6628V28.1187Z" fill="#10298E" />
<path d="M54.1798 25.7762V26.2702H53.7563V27.2144C53.7563 27.4054 53.7603 27.517 53.7684 27.5484L53.8236 27.627C53.8522 27.6476 53.8869 27.6576 53.9284 27.6576C53.9856 27.6576 54.0686 27.6379 54.1774 27.5984L54.2302 28.0792C54.0863 28.1408 53.9231 28.1718 53.7406 28.1718C53.629 28.1718 53.5282 28.1529 53.4388 28.1158C53.3489 28.0779 53.2832 28.0296 53.2413 27.9699C53.1994 27.9103 53.17 27.8297 53.1539 27.7286C53.1406 27.6564 53.1341 27.511 53.1341 27.2917V26.2702H52.8496V25.7762H53.1341V25.3107L53.7563 24.9489V25.7762H54.1798Z" fill="#10298E" />
<path d="M54.5293 27.4504L55.1515 27.3557C55.1777 27.4762 55.2313 27.5677 55.3123 27.6301C55.3933 27.6926 55.5065 27.724 55.652 27.724C55.8124 27.724 55.9329 27.6946 56.0139 27.6358C56.0683 27.5947 56.0957 27.5395 56.0957 27.4702C56.0957 27.423 56.0807 27.3843 56.0513 27.3533C56.0207 27.3239 55.951 27.2969 55.8442 27.2719C55.3437 27.1615 55.027 27.0607 54.8932 26.9697C54.7078 26.8431 54.6151 26.6674 54.6151 26.4422C54.6151 26.2395 54.6953 26.0686 54.8557 25.9304C55.0157 25.7922 55.2643 25.7233 55.6016 25.7233C55.922 25.7233 56.1601 25.7753 56.3161 25.8796C56.4716 25.9844 56.5792 26.1387 56.6381 26.343L56.0533 26.451C56.0284 26.36 55.9812 26.2902 55.9111 26.2415C55.8414 26.1931 55.7418 26.169 55.6121 26.169C55.4489 26.169 55.3324 26.1915 55.2615 26.2371C55.2144 26.2693 55.191 26.3112 55.191 26.3628C55.191 26.4071 55.2115 26.4446 55.253 26.4752C55.3087 26.5163 55.5017 26.5747 55.8317 26.6497C56.1617 26.7247 56.3922 26.8165 56.5236 26.9253C56.6526 27.0358 56.7174 27.1893 56.7174 27.3863C56.7174 27.6011 56.628 27.7857 56.4487 27.94C56.2689 28.0944 56.0034 28.1717 55.652 28.1717C55.3328 28.1717 55.0806 28.1069 54.8944 27.9775C54.7082 27.8481 54.5865 27.6724 54.5293 27.4504Z" fill="#10298E" />
<path d="M61.5377 28.1187H60.8273L60.5452 27.3841H59.2525L58.9853 28.1187H58.293L59.5523 24.8849H60.243L61.5377 28.1187ZM60.3356 26.8393L59.89 25.6393L59.4531 26.8393H60.3356Z" fill="#10298E" />
<path d="M62.6081 28.1187H61.9883V25.7758H62.5641V26.1091C62.6625 25.9515 62.7511 25.8479 62.8297 25.798C62.9083 25.748 62.9977 25.723 63.0977 25.723C63.2391 25.723 63.3749 25.7621 63.5059 25.8399L63.3141 26.3803C63.2093 26.313 63.1126 26.2791 63.0227 26.2791C62.9361 26.2791 62.8623 26.3029 62.8023 26.3509C62.7418 26.3984 62.6943 26.485 62.6596 26.61C62.6254 26.7349 62.6081 26.9968 62.6081 27.395V28.1187Z" fill="#10298E" />
<path d="M65.2663 27.3731L65.884 27.4766C65.8046 27.7031 65.6793 27.8756 65.508 27.9941C65.3364 28.1125 65.122 28.1718 64.8649 28.1718C64.4575 28.1718 64.1561 28.0384 63.9602 27.7724C63.8059 27.5592 63.7285 27.2901 63.7285 26.9649C63.7285 26.5768 63.8301 26.2726 64.0332 26.0525C64.2359 25.8329 64.493 25.7229 64.8028 25.7229C65.1514 25.7229 65.4266 25.8382 65.6281 26.0682C65.8296 26.2983 65.9259 26.6509 65.9171 27.1261H64.364C64.3684 27.3098 64.4184 27.4529 64.5139 27.5552C64.6094 27.6572 64.7287 27.7084 64.8713 27.7084C64.9685 27.7084 65.0503 27.6818 65.1164 27.629C65.1824 27.5762 65.2324 27.4907 65.2663 27.3731ZM65.3017 26.7465C65.2973 26.5671 65.2509 26.4305 65.1627 26.3374C65.0744 26.2439 64.9669 26.1972 64.8403 26.1972C64.7053 26.1972 64.5933 26.2468 64.505 26.3451C64.4168 26.4434 64.3737 26.5776 64.3749 26.7465H65.3017Z" fill="#10298E" />
<path d="M67.0192 26.4907L66.4571 26.3891C66.5199 26.1627 66.6291 25.995 66.7835 25.8862C66.9378 25.7774 67.1671 25.723 67.4717 25.723C67.7478 25.723 67.9537 25.7557 68.0895 25.8213C68.2245 25.8866 68.3196 25.9696 68.3748 26.0704C68.43 26.1711 68.4574 26.3561 68.4574 26.6253L68.451 27.3486C68.451 27.5549 68.461 27.7065 68.4808 27.8044C68.5005 27.9019 68.5376 28.0071 68.5924 28.1187H67.9791C67.9626 28.0776 67.9428 28.0163 67.9194 27.9357C67.909 27.8991 67.9017 27.8745 67.8973 27.8628C67.7913 27.9656 67.6781 28.0429 67.5576 28.0945C67.4371 28.1461 67.3085 28.1715 67.1715 28.1715C66.9301 28.1715 66.7403 28.1062 66.6013 27.9752C66.4623 27.8443 66.3926 27.6791 66.3926 27.4788C66.3926 27.3466 66.4244 27.2285 66.4877 27.125C66.5509 27.0214 66.6392 26.942 66.7536 26.8864C66.8673 26.8316 67.0317 26.7832 67.2465 26.7421C67.5362 26.6877 67.7369 26.637 67.8485 26.5898V26.5282C67.8485 26.4089 67.8195 26.3243 67.7603 26.2735C67.7014 26.2227 67.5906 26.1973 67.4274 26.1973C67.3174 26.1973 67.2312 26.2191 67.1691 26.2626C67.1075 26.3057 67.0575 26.3819 67.0192 26.4907ZM67.8485 26.9936C67.7691 27.0202 67.6438 27.0516 67.4717 27.0887C67.2997 27.1254 67.1868 27.1612 67.1341 27.1967C67.0531 27.2539 67.0128 27.3269 67.0128 27.4151C67.0128 27.5017 67.045 27.5767 67.1099 27.64C67.1743 27.7032 67.2566 27.7347 67.3569 27.7347C67.4685 27.7347 67.5753 27.698 67.6765 27.6247C67.7518 27.5686 67.801 27.5001 67.8247 27.4195C67.8405 27.3663 67.8485 27.2656 67.8485 27.1173V26.9936Z" fill="#10298E" />
<path d="M20.5623 12.1756H16.3243C16.3243 11.4801 16.2424 11.0134 16.0796 10.7757C15.8274 10.4243 15.1315 10.2482 13.9922 10.2482C12.8857 10.2482 12.1523 10.3493 11.7944 10.552C11.4366 10.7555 11.2573 11.1976 11.2573 11.8782C11.2573 12.4943 11.416 12.9005 11.734 13.0948C11.9617 13.233 12.2627 13.314 12.6374 13.3382L13.4922 13.3986C15.3241 13.5199 16.4681 13.6057 16.9243 13.6545C18.373 13.8004 19.4231 14.1856 20.0747 14.8098C20.5873 15.297 20.8932 15.9337 20.9907 16.7195C21.0479 17.1898 21.0761 17.7221 21.0761 18.3133C21.0761 19.6761 20.946 20.6739 20.686 21.3062C20.2142 22.4667 19.1539 23.1997 17.5046 23.5076C16.8135 23.6378 15.7565 23.7026 14.3344 23.7026C11.9609 23.7026 10.3071 23.5616 9.37296 23.2775C8.2269 22.9297 7.47093 22.2249 7.10543 21.1639C6.90152 20.5731 6.80078 19.5891 6.80078 18.2117H11.0389C11.0389 18.3653 11.0393 18.4829 11.0393 18.5639C11.0393 19.2989 11.2504 19.7712 11.6723 19.982C11.9645 20.1271 12.3171 20.2032 12.7317 20.2125H14.29C15.0851 20.2125 15.5925 20.1718 15.8113 20.09C16.2009 19.9369 16.4568 19.6902 16.5789 19.3489C16.6438 19.1386 16.676 18.867 16.676 18.5341C16.676 17.789 16.404 17.3357 15.8608 17.1729C15.6573 17.1088 14.7128 17.0189 13.0259 16.9057C11.6711 16.809 10.7302 16.7159 10.2035 16.6256C8.81605 16.3661 7.89123 15.8322 7.42982 15.0218C7.02403 14.3335 6.82133 13.2918 6.82133 11.8979C6.82133 10.8369 6.93094 9.98582 7.15016 9.3459C7.36938 8.70558 7.72278 8.21959 8.21038 7.88714C8.92485 7.37657 9.8392 7.07716 10.9518 6.9877C11.8778 6.9067 12.905 6.8656 14.035 6.8656C15.8137 6.8656 17.0814 6.96796 17.837 7.17065C19.6814 7.66631 20.6034 9.05415 20.6034 11.335C20.6034 11.522 20.5897 11.8016 20.5623 12.1756Z" fill="#10298E" />
<path d="M39.2012 23.7029V6.77637H45.841H46.8831H47.6886C48.8528 6.77637 49.7409 6.87107 50.3514 7.06127C51.7473 7.4985 52.6839 8.39431 53.1638 9.74749C53.4112 10.4579 53.5353 11.5274 53.5353 12.9556C53.5353 14.6726 53.3979 15.9061 53.1259 16.6577C52.5815 18.143 51.4612 18.999 49.7691 19.2206C49.5701 19.254 48.7234 19.2835 47.2288 19.3076L46.4728 19.3326H43.7568V23.7029H39.2012ZM43.7568 15.406H46.5965C47.4972 15.3738 48.0448 15.3045 48.2419 15.1961C48.5111 15.0482 48.692 14.7516 48.7819 14.3071C48.8395 14.0114 48.8681 13.5713 48.8681 12.987C48.8681 12.2709 48.8109 11.7402 48.696 11.3936C48.5324 10.9081 48.1399 10.6127 47.5185 10.5051C47.3952 10.489 47.1011 10.4801 46.6348 10.4801H43.7568V15.406Z" fill="#10298E" />
<path d="M63.2593 20.7776H57.1683L56.3499 23.7027H51.6367L56.7226 6.77625H63.5946L68.7425 23.7027H64.1285L63.2593 20.7776ZM62.3546 17.48L60.2201 10.1427L58.1488 17.48H62.3546Z" fill="#10298E" />
<path d="M32.9137 9.15762C34.7924 9.15762 36.4696 10.0232 37.5717 11.3788L38.5537 9.27327C37.018 7.82176 34.9278 6.92676 32.6224 6.92676C29.0327 6.92676 25.962 9.09476 24.7019 12.1638H22.787L21.6562 14.5877H24.1196C24.1011 14.8125 24.089 15.0374 24.089 15.2671C24.089 15.5447 24.1035 15.8196 24.1309 16.0908H22.893L21.7626 18.5155H24.7608C26.0567 21.5067 29.0891 23.6066 32.6224 23.6066C34.4031 23.6066 36.0553 23.0731 37.4234 22.1616V19.19C36.3217 20.4445 34.7102 21.2372 32.9137 21.2372C30.8138 21.2372 28.9666 20.1544 27.8911 18.5155H34.1686L35.2993 16.0908H26.9674C26.9243 15.799 26.9014 15.5008 26.9014 15.197C26.9014 14.9915 26.9118 14.7884 26.932 14.5877H36.0001L37.1304 12.1638H27.7158C28.757 10.3669 30.6945 9.15762 32.9137 9.15762Z" fill="#FFBE00" />
<path d="M32.9145 9.2303C34.7049 9.2303 36.3821 10.0306 37.516 11.4249L37.5894 11.5152L37.6389 11.41L38.6206 9.30445L38.6423 9.25649L38.6049 9.22023C36.9906 7.69457 34.8661 6.85437 32.6231 6.85437C30.8714 6.85437 29.1862 7.36615 27.7488 8.33449C26.3452 9.27987 25.2685 10.5948 24.6358 12.1361L24.7027 12.091H22.7878H22.741L22.7217 12.1329L21.5913 14.5572L21.543 14.6608H21.657H24.1204L24.0479 14.5818C24.0273 14.8336 24.0172 15.0573 24.0172 15.2672C24.0172 15.5393 24.0313 15.8193 24.0591 16.0982L24.1317 16.0184H22.8937H22.8478L22.8285 16.0603L21.6973 18.4846L21.6494 18.5882H21.7634H24.7615L24.6946 18.5442C26.0462 21.6636 29.1584 23.6793 32.6231 23.6793C34.3599 23.6793 36.0335 23.176 37.4644 22.2226L37.4963 22.2012V22.1617V19.1902V18.9972L37.3693 19.1422C36.2406 20.4273 34.617 21.164 32.9145 21.164C30.9117 21.164 29.0568 20.1585 27.9523 18.4753L27.8918 18.5882H34.1693H34.2161L34.2354 18.5466L35.3662 16.1216L35.4145 16.0184H35.3001H26.9682L27.0403 16.0804C26.9972 15.7867 26.9751 15.4901 26.9751 15.1971C26.9751 14.9977 26.9851 14.7954 27.0053 14.5951L26.9327 14.6608H36.0008H36.0476L36.0669 14.6189L37.1973 12.1946L37.246 12.091H37.1312H27.7165L27.7794 12.2002C28.8408 10.3683 30.8089 9.2303 32.9145 9.2303ZM27.7165 12.2365H37.1312L37.0651 12.1329L35.9352 14.5572L36.0008 14.5153H26.9327H26.8671L26.8598 14.581C26.8397 14.7857 26.8296 14.9932 26.8296 15.1971C26.8296 15.4969 26.8521 15.8016 26.8961 16.1018L26.9057 16.1639H26.9682H35.3001L35.2344 16.0603L34.1041 18.4846L34.1693 18.4427H27.8918H27.7568L27.831 18.5547C28.9621 20.2802 30.8629 21.309 32.9145 21.309C34.6585 21.309 36.3224 20.5547 37.479 19.2381L37.3512 19.1902V22.1617L37.3835 22.1017C35.9767 23.0386 34.3309 23.5338 32.6231 23.5338C29.216 23.5338 26.1566 21.5524 24.8284 18.4862L24.8091 18.4427H24.7615H21.7634L21.8299 18.5466L22.9598 16.1216L22.8937 16.1639H24.1317H24.2119L24.2042 16.0837C24.1768 15.8096 24.1623 15.5344 24.1623 15.2672C24.1623 15.0617 24.1724 14.8413 24.1929 14.5939L24.1994 14.5153H24.1204H21.657L21.7227 14.6189L22.8534 12.1946L22.7878 12.2365H24.7027H24.7514L24.7696 12.1914C25.3922 10.6766 26.4504 9.38464 27.8302 8.45498C29.243 7.50356 30.9008 7.00025 32.6231 7.00025C34.829 7.00025 36.9172 7.82594 38.5045 9.32621L38.4884 9.24239L37.5072 11.3483L37.6293 11.333C36.4667 9.90448 34.7488 9.08483 32.9145 9.08483C30.7566 9.08483 28.7413 10.2506 27.6533 12.1273L27.59 12.2365H27.7165Z" fill="#10298E" />
</svg>;

export const WorkingDay = ({content}) => <Tooltip tip="Monday to Friday, excluding weekends and public holidays">
        {content}
    </Tooltip>;

export const Chargeback = ({content}) => <Tooltip tip="The reversal of a pay-in back to the user because they contested it with their bank.">
        {content}
    </Tooltip>;

<table>
  <thead>
    <tr>
      <th class="header">Scheme</th>
      <th class="header">SEPA Core</th>
      <th class="header">Bacs</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <th class="header">Region</th>

      <td class="table-content">
        Eurozone
      </td>

      <td class="table-content">
        UK
      </td>
    </tr>

    <tr>
      <th class="header">Currencies</th>

      <td class="table-content">
        EUR
      </td>

      <td class="table-content">
        GBP
      </td>
    </tr>

    <tr>
      <th class="header">[Refunds](#late-failures%2C-chargebacks-and-refunds)</th>

      <td class="table-content">
        Supported, after 7 days and within 13 months
      </td>

      <td class="table-content">
        Supported, after 7 days and within 13 months
      </td>
    </tr>

    <tr>
      <th class="header">[Disputes](#late-failures%2C-chargebacks-and-refunds)</th>

      <td class="table-content">
        Supported – Non-contestable
      </td>

      <td class="table-content">
        Supported – Non-contestable
      </td>
    </tr>
  </tbody>
</table>

## Introduction

Direct debit is a term used to describe a preauthorized bank debit from a user's bank account. Payments are authorized by the user by way of a **mandate**, which is an authorization from the user to their bank to allow the future debits by the collecting party.

Mangopay provides a hosted digital mandate form that users can confirm. Users can cancel a mandate at any time with their bank.

Each country or region operates its own direct debit **scheme** which governs the infrastructure and mechanisms of payment, for example rules about the mandate and advance notice before each payment.

Mangopay offers two schemes:

<CardGroup cols={2}>
  <Card title="SEPA Direct Debit (SDD) Core" icon={LogoSepa}>
    Scheme operated by the European Payments Council (EPC) for collecting payments in the Eurozone in EUR.

    An IBAN-type Bank Account is required for the mandate.
  </Card>

  <Card title="Bacs Direct Debit" icon={LogoBacs}>
    Scheme operated by Pay.UK in the UK for collecting payments in the UK in GBP.

    A GB-type Bank Account is required for the mandate.
  </Card>
</CardGroup>

### IBAN compatibility

The user's bank must be participating in the relevant scheme, which is not always the case. It may also be that the scheme rules prevent the use of certain account types.

For SDD, Mangopay only supports the SEPA Core scheme and not the SEPA B2B scheme. Furthermore, the IBAN must be accepted as part of the SEPA Core scheme. Some European countries, notably Denmark and Sweden, operate different local direct debit schemes and IBANs from these countries (starting `DK` or `SE`) may not be supported.

## How it works

The steps for setting up a direct debit and collecting payments are described below. For more guidance on testing direct debits, including mock values, see [Testing – Payment methods](/testing/payment-methods#direct-debit).

<Steps>
  <Step title="Register the user's bank account">
    Using the `Id` of the user as the `UserId` path parameter, register their bank account using the relevant endpoint. The scheme of the mandate is determined automatically by the type of bank account you create.

    * For the **SEPA scheme**, use the <a href="/api-reference/bank-accounts/create-iban-bank-account">POST Create an IBAN Bank Account</a> endpoint.
    * For the **Bacs scheme**, use the <a href="/api-reference/bank-accounts/create-gb-bank-account">POST Create a GB Bank Account</a> endpoint.

    In response, the bank account's `Active` property should be `true` and its `Id` allows you to create the mandate.
  </Step>

  <Step title="Create the mandate">
    Create the mandate using the <a href="/api-reference/mandates/create-mandate">POST Create a Mandate</a> endpoint, using the bank account's `Id` as the `BankAccountId` and defining a `ReturnURL` to which the user is returned after confirming the mandate.

    For SDD, IBANs that are not SEPA Core are not accepted ([read more](#iban-compatibility)).
  </Step>

  <Step title="Let the user confirm the mandate">
    In the response to the mandate creation request, the API returns a `RedirectURL` to which you must redirect the user so they can validate the mandate. After confirming, the user is returned on the URL you provided for `ReturnURL`.

    <Note>
      **Note – Mandate expires after 1 hour**

      The user must validate the mandate within 1 hour, otherwise it expires and a new mandate must be created.
    </Note>

    The Mandate's `Status` changes from `CREATED` to `SUBMITTED`, indicating that it has been submitted to the issuing bank. It becomes `ACTIVE`:

    * After the first successful pay-in for SEPA
    * After a few days (usually 3) for Bacs

    Set up webhooks for the `MANDATE_SUBMITTED` and `MANDATE_ACTIVE` [event types](/webhooks/event-types#direct-debit-mandates) to receive [webhook notifications](/webhooks).
  </Step>

  <Step title="Request the first pay-in">
    Once the mandate's `Status` is `SUBMITTED`, request the first pay-in using the <a href="/api-reference/direct-debit-payins/create-direct-debit-payin">POST Create a Direct Debit PayIn</a> endpoint, specifying the `Id` of the mandate as the `MandateId`.
  </Step>

  <Step title="Wait for the pay-in to be processed">
    Due to the nature of direct debits, payments take a few days to clear – see [processing times](#pay-in-processing-times) below.

    The wallet is credited when the pay-in's `Status` changes to `SUCCEEDED`.

    You can be notified of this by setting up a <a href="/webhooks">webhook</a> for the `PAYIN_NORMAL_SUCCEEDED` event type.

    You can then use the <a href="/api-reference/direct-debit-payins/view-payin-direct-debit">GET View a PayIn</a> endpoint to confirm the successful payment and other details.
  </Step>

  <Step title="Request subsequent pay-ins">
    You can continue requesting direct debit pay-ins as agreed with the user until the mandate is:

    * Canceled - The user or the platform has canceled the mandate (Mandate `Status` becomes `FAILED`)
    * Expired - No pay-ins were made against the mandate in the last 24 months, which makes it expire (Mandate `Status` becomes `EXPIRED`)

    You can be notified if this happens by setting up webhooks for <a href="/webhooks/event-types#direct-debit-mandates">mandate event types</a>.
  </Step>
</Steps>

## Pay-in processing times

When a direct debit pay-in is created, the API returns a `ChargeDate`. The charge date is used to provide advance notice to the user of the future charge, and is set at midnight (00:00) on the given day.

When the issuer confirms the scheduled payment, the pay-in `Status` changes to `SUCCEEDED` and the wallet is credited. The user's account is usually debited the following day, but it depends on their bank.

### Timings

The following table describes the timings relative to the pay-in's `ChargeDate` in <WorkingDay content="business days" />. Note that for Bacs, the first pay-in against a mandate takes an extra day as shown.

<table>
  <thead>
    <tr>
      <th class="header" rowSpan={2} />

      <th class="header" rowSpan={2}>SEPA</th>
      <th class="header" colSpan={2}>Bacs</th>
    </tr>

    <tr>
      <th class="header header-normal-weight">First pay-in</th>
      <th class="header header-normal-weight">Subsequent pay-ins</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <th class="header">Pay-in creation cutoff</th>
      <td class="table-content">D-1, 5:30 am CET</td>
      <td class="table-content">D-4, 4:00 pm GMT</td>
      <td class="table-content">D-3, 4:00 pm GMT</td>
    </tr>

    <tr>
      <th class="header">Pay-in `ChargeDate`</th>
      <td class="table-content">D</td>
      <td class="table-content">D</td>
      <td class="table-content">D</td>
    </tr>

    <tr>
      <th class="header">Pay-in `SUCCEEDED`</th>
      <td class="table-content">D+1</td>
      <td class="table-content">D+1</td>
      <td class="table-content">D+1</td>
    </tr>

    <tr>
      <th class="header">Total business days</th>
      <td class="table-content">3</td>
      <td class="table-content">6</td>
      <td class="table-content">5</td>
    </tr>
  </tbody>
</table>

<Note>
  **Note – Timings are typical durations**

  The time it takes for a specific payment to be cleared depends on the issuing bank and the scheme.

  The timings given here are a strong general indication but never a certainty.

  You should also create pay-ins well in advance of the cutoff to ensure expected processing.
</Note>

### Example

The following table provides an example in terms of weekdays:

<table>
  <thead>
    <tr>
      <th class="header" rowSpan={2} />

      <th class="header" rowSpan={2}>SEPA</th>
      <th class="header" colSpan={2}>Bacs</th>
    </tr>

    <tr>
      <th class="header header-normal-weight">First pay-in</th>
      <th class="header header-normal-weight">Subsequent pay-ins</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <th class="header">Pay-in creation cutoff</th>
      <td class="table-content">Fri, 5:30 am CET</td>
      <td class="table-content">Tue, 4:00 pm GMT</td>
      <td class="table-content">Wed, 4:00 pm GMT</td>
    </tr>

    <tr>
      <th class="header">Pay-in `ChargeDate`</th>
      <td class="table-content">Mon</td>
      <td class="table-content">Mon</td>
      <td class="table-content">Mon</td>
    </tr>

    <tr>
      <th class="header">Pay-in `SUCCEEDED`</th>
      <td class="table-content">Tue</td>
      <td class="table-content">Tue</td>
      <td class="table-content">Tue</td>
    </tr>

    <tr>
      <th class="header">Total business days</th>
      <td class="table-content">3</td>
      <td class="table-content">6</td>
      <td class="table-content">5</td>
    </tr>
  </tbody>
</table>

## Email notifications

Mangopay notifies the user by email (to the user's `Email` parameter) when a mandate is first confirmed and when a pay-in is created.

While Mangopay's emails can't be customized, it is possible to deactivate them so you can put in place your own flow in accordance with scheme rules.

## Bacs specificities

Note that for Bacs:

* NatWest, RBS, HSBC, Metro, and Nationwide banks don't show the platform trading name on bank statements – only Mangopay is displayed.
* Mandates can't be created on accounts where multiple signatures are required (e.g. business accounts).

## Late failures, chargebacks and refunds

In direct debits, a late failure occurs when the issuing bank fails to inform the collecting party that the funds could not be collected as scheduled (for example if the account is closed or has insufficient funds). As a result, the pay-in `Status` is `SUCCEEDED` but the funds are not subsequently debited from the account.

When a late failure happens, Mangopay creates a <a href="/api-reference/disputes/dispute-object">Dispute</a> object (and corresponding <a href="/api-reference/repudiations/repudiation-object">Repudiation</a>) in the same way as for a regular <Chargeback content="chargeback" />.

The Dispute `DisputeReasonType` parameter indicates the reason for the late failure:

* `LATE_FAILURE_BANKACCOUNT_CLOSED`
* `LATE_FAILURE_BANKACCOUNT_INCOMPATIBLE`
* `LATE_FAILURE_BANKACCOUNT_INCORRECT`
* `LATE_FAILURE_CONTACT_USER`
* `LATE_FAILURE_INSUFFICIENT_FUN`

Usually, late failures occur:

* Within 5 days for the SEPA scheme
* Within 2 or 3 days for the Bacs scheme

<Note>
  **Note – Refunds not possible within 7 days**

  For direct debits, you must wait 7 full calendar days before initiating a refund. This is because of the possibility that a late failure occurs, which would create a conflict on a pay-in that has already been refunded.

  A refund is possible from 00:00:01 UTC on the 8th day following the day of the pay-in's `CreationDate`, so if the pay-in was created on a Monday (at any time), the refund can be requested on the Tuesday of the following week.

  If you attempt to initiate a refund within 7 full calendar days, the refund fails with the error [001405](/errors/codes/001405). In Sandbox, you can avoid this limitation using the available [mock value for testing](/testing/payment-methods#direct-debit).

  Refunds are possible for 13 months following the initiation transaction's `CreationDate`, after which time the initial transaction is [archived](/api-reference/overview/data-availability-periods) and a refund is no longer possible.
</Note>

Besides late failures, a dispute can also be created if a user requests a chargeback on a direct debit payment with their bank.

The resulting disputes are always non-contestable and are possible:

* For up to 8 weeks for the SEPA scheme.
* Indefinitely for the Bacs scheme.

<a href="/guides/disputes">Read more about disputes</a> **→**

## Related resources

<CardGroup col={2}>
  <Card title="How to" href="/guides/payment-methods/banking/direct-debit">
    Learn how to process a SEPA direct debit payment
  </Card>

  <Card title="Endpoints" href="/api-reference/direct-debit-payins/direct-debit-payin-object">
    The Direct Debit PayIn object
  </Card>

  <Card title="Testing" href="/testing/payment-methods#direct-debit">
    Learn about testing direct debits
  </Card>
</CardGroup>
