{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-products/payments_mexico/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","tabs","tab"]},"type":"markdown"},"seo":{"title":"Register and Track Loan Portfolios","description":"Belvo provides open finance products for Latin America that allow you to securely access and aggregate financial data as well as accept and issue bank-to-bank payments","siteUrl":"https://developers.belvo.com/","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"register-and-track-loan-portfolios","__idx":0},"children":["Register and Track Loan Portfolios"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Feature availability"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Loans API is only available to merchants with the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Managed Collections"]}," feature enabled on their account. If you receive a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["403 Forbidden"]}," response, contact your Belvo account manager to have Managed Collections enabled."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Belvo's Loans API lets you register loan portfolio snapshots for direct debit customers. Each snapshot is both a record of your loan's current state ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["and"]}," a collection instruction — as soon as you POST a snapshot, Belvo automatically attempts a direct debit collection for that customer on the same day (or the next business day), according to your Managed Collections arrangement."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The general flow is:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["POST a loan snapshot"]}," — provide the current state of the loan, including the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["defaultDate"]}," (the date the loan became overdue)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Belvo collects immediately"]}," — no further action required from you. Belvo triggers the direct debit on the same day as your request (or the next business day)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Receive a webhook"]}," — Belvo notifies you of the collection outcome."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["POST a new snapshot"]}," — each time you want Belvo to attempt another collection, send a new snapshot."]}]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"sequenceDiagram\n    participant App as Your Application\n    participant Belvo as Belvo\n\n    Note over App,Belvo: 1. Register a loan snapshot (first time for a customer)\n    App->>Belvo: POST /loans\n    Note over Belvo: Creates loan + first snapshot internally\n    Belvo-->>App: 201 Created + snapshotId\n\n    Note over App,Belvo: 2. Register a subsequent snapshot\n    App->>Belvo: POST /loans\n    Note over Belvo: Adds snapshot to existing loan\n    Belvo-->>App: 201 Created + snapshotId\n\n    Note over App,Belvo: 3. Belvo auto-collects (same day or next business day)\n    Note over Belvo: Belvo triggers direct debit collection\n    Belvo-->>App: WEBHOOK collection outcome\n\n    Note over App,Belvo: 4. Review loan history\n    App->>Belvo: GET /loans?merchant_customer_id=CUST001234\n    Belvo-->>App: 200 OK + list of snapshots\n","diagramHtml":"<svg id=\"diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 760px;\" viewBox=\"-50 -10 760 913\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><g><rect x=\"431\" y=\"827\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Belvo\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"506\" y=\"859.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"506\" dy=\"0\">Belvo</tspan></text></g><g><rect x=\"0\" y=\"827\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"App\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"75\" y=\"859.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Your Application</tspan></text></g><g><line id=\"actor1\" x1=\"506\" y1=\"65\" x2=\"506\" y2=\"827\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Belvo\" data-et=\"life-line\" data-id=\"Belvo\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"Belvo\"><rect x=\"431\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Belvo\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"506\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"506\" dy=\"0\">Belvo</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"65\" x2=\"75\" y2=\"827\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"App\" data-et=\"life-line\" data-id=\"App\"></line><g id=\"root-0\" data-et=\"participant\" data-type=\"participant\" data-id=\"App\"><rect x=\"0\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"App\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"75\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Your Application</tspan></text></g></g><style>#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .error-icon{fill:#552222;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .error-text{fill:#552222;stroke:#552222;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .edge-thickness-normal{stroke-width:1px;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .edge-thickness-thick{stroke-width:3.5px;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .edge-pattern-solid{stroke-dasharray:0;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .marker{fill:#333333;stroke:#333333;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .marker.cross{stroke:#333333;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 svg{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 p{margin:0;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .actor{stroke:#9370DB;fill:#ECECFF;stroke-width:1;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 rect.note[data-look=\"neo\"]{stroke:#aaaa33;fill:#fff5ad;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 text.actor&gt;tspan{fill:black;stroke:none;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .actor-line{stroke:#9370DB;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 [id$=\"-arrowhead\"] path{fill:#333;stroke:#333;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .sequenceNumber{fill:white;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 [id$=\"-sequencenumber\"]{fill:#333;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 [id$=\"-crosshead\"] path{fill:#333;stroke:#333;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .messageText{fill:#333;stroke:none;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .labelBox{stroke:#9370DB;fill:#ECECFF;filter:none;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .labelText,#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .labelText&gt;tspan{fill:black;stroke:none;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .loopText,#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .loopText&gt;tspan{fill:black;stroke:none;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .sectionTitle,#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .sectionTitle&gt;tspan{fill:black;stroke:none;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#9370DB;fill:#9370DB;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .note{stroke:#aaaa33;fill:#fff5ad;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .noteText,#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .noteText&gt;tspan{fill:black;stroke:none;font-weight:normal;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .activation0{fill:#f4f4f4;stroke:#666;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .activation1{fill:#f4f4f4;stroke:#666;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .activation2{fill:#f4f4f4;stroke:#666;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .actorPopupMenu{position:absolute;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .actor-man circle,#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 line{fill:#ECECFF;stroke-width:2px;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 g rect.rect{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));stroke:#9370DB;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 .node .neo-node{stroke:#9370DB;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 [data-look=\"neo\"].node rect,#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 [data-look=\"neo\"].cluster rect,#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 [data-look=\"neo\"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 [data-look=\"neo\"].node path{stroke:#9370DB;stroke-width:1px;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 [data-look=\"neo\"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 [data-look=\"neo\"].node .neo-line path{stroke:#9370DB;filter:none;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 [data-look=\"neo\"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 [data-look=\"neo\"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><g data-et=\"note\" data-id=\"i0\"><rect x=\"50\" y=\"75\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"481\" height=\"42\" class=\"note\"></rect><text x=\"291\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"291\">1. Register a loan snapshot (first time for a customer)</tspan></text></g><g data-et=\"note\" data-id=\"i2\"><rect x=\"352\" y=\"181\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"308\" height=\"42\" class=\"note\"></rect><text x=\"506\" y=\"186\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"506\">Creates loan + first snapshot internally</tspan></text></g><g data-et=\"note\" data-id=\"i4\"><rect x=\"50\" y=\"287\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"481\" height=\"42\" class=\"note\"></rect><text x=\"291\" y=\"292\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"291\">2. Register a subsequent snapshot</tspan></text></g><g data-et=\"note\" data-id=\"i6\"><rect x=\"382\" y=\"393\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"248\" height=\"42\" class=\"note\"></rect><text x=\"506\" y=\"398\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"506\">Adds snapshot to existing loan</tspan></text></g><g data-et=\"note\" data-id=\"i8\"><rect x=\"50\" y=\"499\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"481\" height=\"42\" class=\"note\"></rect><text x=\"291\" y=\"504\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"291\">3. Belvo auto-collects (same day or next business day)</tspan></text></g><g data-et=\"note\" data-id=\"i9\"><rect x=\"363\" y=\"551\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"286\" height=\"42\" class=\"note\"></rect><text x=\"506\" y=\"556\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"506\">Belvo triggers direct debit collection</tspan></text></g><g data-et=\"note\" data-id=\"i11\"><rect x=\"50\" y=\"657\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"481\" height=\"42\" class=\"note\"></rect><text x=\"291\" y=\"662\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"291\">4. Review loan history</tspan></text></g><text x=\"289\" y=\"132\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /loans</text><line x1=\"76\" y1=\"171\" x2=\"502\" y2=\"171\" class=\"messageLine0\" data-et=\"message\" data-id=\"i1\" data-from=\"App\" data-to=\"Belvo\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-arrowhead)\" style=\"fill: none;\"></line><text x=\"292\" y=\"238\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">201 Created + snapshotId</text><line x1=\"505\" y1=\"277\" x2=\"79\" y2=\"277\" class=\"messageLine1\" data-et=\"message\" data-id=\"i3\" data-from=\"Belvo\" data-to=\"App\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><text x=\"289\" y=\"344\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /loans</text><line x1=\"76\" y1=\"383\" x2=\"502\" y2=\"383\" class=\"messageLine0\" data-et=\"message\" data-id=\"i5\" data-from=\"App\" data-to=\"Belvo\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-arrowhead)\" style=\"fill: none;\"></line><text x=\"292\" y=\"450\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">201 Created + snapshotId</text><line x1=\"505\" y1=\"489\" x2=\"79\" y2=\"489\" class=\"messageLine1\" data-et=\"message\" data-id=\"i7\" data-from=\"Belvo\" data-to=\"App\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><text x=\"292\" y=\"608\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">WEBHOOK collection outcome</text><line x1=\"505\" y1=\"647\" x2=\"79\" y2=\"647\" class=\"messageLine1\" data-et=\"message\" data-id=\"i10\" data-from=\"Belvo\" data-to=\"App\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><text x=\"289\" y=\"714\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">GET /loans?merchant_customer_id=CUST001234</text><line x1=\"76\" y1=\"753\" x2=\"502\" y2=\"753\" class=\"messageLine0\" data-et=\"message\" data-id=\"i12\" data-from=\"App\" data-to=\"Belvo\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-arrowhead)\" style=\"fill: none;\"></line><text x=\"292\" y=\"768\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">200 OK + list of snapshots</text><line x1=\"505\" y1=\"807\" x2=\"79\" y2=\"807\" class=\"messageLine1\" data-et=\"message\" data-id=\"i13\" data-from=\"Belvo\" data-to=\"App\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-8f2f5655af082a05e0d233a6d5e32a5d04a2da8597fc0f1747e4ee7d62cfb7a2-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line></svg>","diagramHtmlDark":"<svg id=\"diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" style=\"max-width: 760px;\" viewBox=\"-50 -10 760 913\" role=\"graphics-document document\" aria-roledescription=\"sequence\"><g><rect x=\"431\" y=\"827\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Belvo\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"506\" y=\"859.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"506\" dy=\"0\">Belvo</tspan></text></g><g><rect x=\"0\" y=\"827\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"App\" rx=\"3\" ry=\"3\" class=\"actor actor-bottom\"></rect><text x=\"75\" y=\"859.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Your Application</tspan></text></g><g><line id=\"actor1\" x1=\"506\" y1=\"65\" x2=\"506\" y2=\"827\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"Belvo\" data-et=\"life-line\" data-id=\"Belvo\"></line><g id=\"root-1\" data-et=\"participant\" data-type=\"participant\" data-id=\"Belvo\"><rect x=\"431\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"Belvo\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"506\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"506\" dy=\"0\">Belvo</tspan></text></g></g><g><line id=\"actor0\" x1=\"75\" y1=\"65\" x2=\"75\" y2=\"827\" class=\"actor-line 200\" stroke-width=\"0.5px\" stroke=\"#999\" name=\"App\" data-et=\"life-line\" data-id=\"App\"></line><g id=\"root-0\" data-et=\"participant\" data-type=\"participant\" data-id=\"App\"><rect x=\"0\" y=\"0\" fill=\"#eaeaea\" stroke=\"#666\" width=\"150\" height=\"65\" name=\"App\" rx=\"3\" ry=\"3\" class=\"actor actor-top\"></rect><text x=\"75\" y=\"32.5\" dominant-baseline=\"central\" alignment-baseline=\"central\" class=\"actor actor-box\" style=\"text-anchor: middle; font-size: 16px; font-weight: 400; font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif;\"><tspan x=\"75\" dy=\"0\">Your Application</tspan></text></g></g><style>#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;fill:#ccc;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .error-icon{fill:#a44141;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .error-text{fill:#ddd;stroke:#ddd;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .edge-thickness-normal{stroke-width:1px;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .edge-thickness-thick{stroke-width:3.5px;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .edge-pattern-solid{stroke-dasharray:0;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .marker{fill:lightgrey;stroke:lightgrey;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .marker.cross{stroke:lightgrey;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 svg{font-family:\"Redocly Mermaid Sans\",sans-serif;font-size:16px;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 p{margin:0;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .actor{stroke:#ccc;fill:#1f2020;stroke-width:1;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 rect.actor.outer-path[data-look=\"neo\"]{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 rect.note[data-look=\"neo\"]{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 text.actor&gt;tspan{fill:lightgrey;stroke:none;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .actor-line{stroke:#ccc;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .innerArc{stroke-width:1.5;stroke-dasharray:none;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:lightgrey;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:lightgrey;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 [id$=\"-arrowhead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .sequenceNumber{fill:black;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 [id$=\"-sequencenumber\"]{fill:lightgrey;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 [id$=\"-crosshead\"] path{fill:lightgrey;stroke:lightgrey;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .messageText{fill:lightgrey;stroke:none;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .labelBox{stroke:#ccc;fill:#1f2020;filter:none;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .labelText,#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .labelText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .loopText,#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .loopText&gt;tspan{fill:lightgrey;stroke:none;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .sectionTitle,#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .sectionTitle&gt;tspan{fill:lightgrey;stroke:none;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:#ccc;fill:#ccc;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .note{stroke:hsl(180, 0%, 18.3529411765%);fill:hsl(180, 1.5873015873%, 28.3529411765%);}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .noteText,#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .noteText&gt;tspan{fill:rgb(183.8476190475, 181.5523809523, 181.5523809523);stroke:none;font-weight:normal;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .activation0{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .activation1{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .activation2{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:#ccc;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .actorPopupMenu{position:absolute;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .actorPopupMenuPanel{position:absolute;fill:#1f2020;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .actor-man circle,#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 line{fill:#1f2020;stroke-width:2px;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 g rect.rect{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));stroke:#ccc;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 .node .neo-node{stroke:#ccc;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 [data-look=\"neo\"].node rect,#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 [data-look=\"neo\"].cluster rect,#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 [data-look=\"neo\"].node polygon{stroke:url(#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 [data-look=\"neo\"].node path{stroke:url(#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-gradient);stroke-width:1px;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 [data-look=\"neo\"].node .neo-line path{stroke:#ccc;filter:none;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 [data-look=\"neo\"].node circle{stroke:url(#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",sans-serif;}</style><g></g><defs><symbol id=\"diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-computer\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z\"></path></symbol></defs><defs><symbol id=\"diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-database\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path transform=\"scale(.5)\" d=\"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z\"></path></symbol></defs><defs><symbol id=\"diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-clock\" width=\"24\" height=\"24\"><path transform=\"scale(.5)\" d=\"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z\"></path></symbol></defs><defs><marker id=\"diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-arrowhead\" refX=\"7.9\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M -1 0 L 10 5 L 0 10 z\"></path></marker></defs><defs><marker id=\"diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-crosshead\" markerWidth=\"15\" markerHeight=\"8\" orient=\"auto\" refX=\"4\" refY=\"4.5\"><path fill=\"none\" stroke=\"#000000\" stroke-width=\"1pt\" d=\"M 1,2 L 6,7 M 6,2 L 1,7\" style=\"stroke-dasharray: 0, 0;\"></path></marker></defs><defs><marker id=\"diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-filled-head\" refX=\"15.5\" refY=\"7\" markerWidth=\"20\" markerHeight=\"28\" orient=\"auto\"><path d=\"M 18,7 L9,13 L14,7 L9,1 Z\"></path></marker></defs><defs><marker id=\"diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-sequencenumber\" refX=\"15\" refY=\"15\" markerWidth=\"60\" markerHeight=\"40\" orient=\"auto\"><circle cx=\"15\" cy=\"15\" r=\"6\"></circle></marker></defs><defs><marker id=\"diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-solidTopArrowHead\" refX=\"7.9\" refY=\"7.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 8 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-solidBottomArrowHead\" refX=\"7.9\" refY=\"0.75\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 0 L 0 8 z\"></path></marker></defs><defs><marker id=\"diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-stickTopArrowHead\" refX=\"7.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 7 7\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><defs><marker id=\"diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-stickBottomArrowHead\" refX=\"7.5\" refY=\"0\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto-start-reverse\"><path d=\"M 0 7 L 7 0\" stroke=\"black\" stroke-width=\"1.5\" fill=\"none\"></path></marker></defs><g data-et=\"note\" data-id=\"i0\"><rect x=\"50\" y=\"75\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"481\" height=\"42\" class=\"note\"></rect><text x=\"291\" y=\"80\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"291\">1. Register a loan snapshot (first time for a customer)</tspan></text></g><g data-et=\"note\" data-id=\"i2\"><rect x=\"352\" y=\"181\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"308\" height=\"42\" class=\"note\"></rect><text x=\"506\" y=\"186\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"506\">Creates loan + first snapshot internally</tspan></text></g><g data-et=\"note\" data-id=\"i4\"><rect x=\"50\" y=\"287\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"481\" height=\"42\" class=\"note\"></rect><text x=\"291\" y=\"292\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"291\">2. Register a subsequent snapshot</tspan></text></g><g data-et=\"note\" data-id=\"i6\"><rect x=\"382\" y=\"393\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"248\" height=\"42\" class=\"note\"></rect><text x=\"506\" y=\"398\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"506\">Adds snapshot to existing loan</tspan></text></g><g data-et=\"note\" data-id=\"i8\"><rect x=\"50\" y=\"499\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"481\" height=\"42\" class=\"note\"></rect><text x=\"291\" y=\"504\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"291\">3. Belvo auto-collects (same day or next business day)</tspan></text></g><g data-et=\"note\" data-id=\"i9\"><rect x=\"363\" y=\"551\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"286\" height=\"42\" class=\"note\"></rect><text x=\"506\" y=\"556\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"506\">Belvo triggers direct debit collection</tspan></text></g><g data-et=\"note\" data-id=\"i11\"><rect x=\"50\" y=\"657\" fill=\"#EDF2AE\" stroke=\"#666\" width=\"481\" height=\"42\" class=\"note\"></rect><text x=\"291\" y=\"662\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"noteText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\"><tspan x=\"291\">4. Review loan history</tspan></text></g><text x=\"289\" y=\"132\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /loans</text><line x1=\"76\" y1=\"171\" x2=\"502\" y2=\"171\" class=\"messageLine0\" data-et=\"message\" data-id=\"i1\" data-from=\"App\" data-to=\"Belvo\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-arrowhead)\" style=\"fill: none;\"></line><text x=\"292\" y=\"238\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">201 Created + snapshotId</text><line x1=\"505\" y1=\"277\" x2=\"79\" y2=\"277\" class=\"messageLine1\" data-et=\"message\" data-id=\"i3\" data-from=\"Belvo\" data-to=\"App\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><text x=\"289\" y=\"344\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">POST /loans</text><line x1=\"76\" y1=\"383\" x2=\"502\" y2=\"383\" class=\"messageLine0\" data-et=\"message\" data-id=\"i5\" data-from=\"App\" data-to=\"Belvo\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-arrowhead)\" style=\"fill: none;\"></line><text x=\"292\" y=\"450\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">201 Created + snapshotId</text><line x1=\"505\" y1=\"489\" x2=\"79\" y2=\"489\" class=\"messageLine1\" data-et=\"message\" data-id=\"i7\" data-from=\"Belvo\" data-to=\"App\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><text x=\"292\" y=\"608\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">WEBHOOK collection outcome</text><line x1=\"505\" y1=\"647\" x2=\"79\" y2=\"647\" class=\"messageLine1\" data-et=\"message\" data-id=\"i10\" data-from=\"Belvo\" data-to=\"App\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line><text x=\"289\" y=\"714\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">GET /loans?merchant_customer_id=CUST001234</text><line x1=\"76\" y1=\"753\" x2=\"502\" y2=\"753\" class=\"messageLine0\" data-et=\"message\" data-id=\"i12\" data-from=\"App\" data-to=\"Belvo\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-arrowhead)\" style=\"fill: none;\"></line><text x=\"292\" y=\"768\" text-anchor=\"middle\" dominant-baseline=\"middle\" alignment-baseline=\"middle\" class=\"messageText\" dy=\"1em\" style=\"font-family: &quot;Redocly Mermaid Sans&quot;, sans-serif; font-size: 16px; font-weight: 400;\">200 OK + list of snapshots</text><line x1=\"505\" y1=\"807\" x2=\"79\" y2=\"807\" class=\"messageLine1\" data-et=\"message\" data-id=\"i13\" data-from=\"Belvo\" data-to=\"App\" stroke-width=\"2\" stroke=\"none\" marker-end=\"url(#diagram-50094403d008f6f9494e6b81818c4a7bcc49288f5ba50f6106e9983ee84375b7-arrowhead)\" style=\"stroke-dasharray: 3, 3; fill: none;\"></line></svg>"},"children":["sequenceDiagram\n    participant App as Your Application\n    participant Belvo as Belvo\n\n    Note over App,Belvo: 1. Register a loan snapshot (first time for a customer)\n    App->>Belvo: POST /loans\n    Note over Belvo: Creates loan + first snapshot internally\n    Belvo-->>App: 201 Created + snapshotId\n\n    Note over App,Belvo: 2. Register a subsequent snapshot\n    App->>Belvo: POST /loans\n    Note over Belvo: Adds snapshot to existing loan\n    Belvo-->>App: 201 Created + snapshotId\n\n    Note over App,Belvo: 3. Belvo auto-collects (same day or next business day)\n    Note over Belvo: Belvo triggers direct debit collection\n    Belvo-->>App: WEBHOOK collection outcome\n\n    Note over App,Belvo: 4. Review loan history\n    App->>Belvo: GET /loans?merchant_customer_id=CUST001234\n    Belvo-->>App: 200 OK + list of snapshots\n"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":1},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before you begin, make sure you:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/payments_mexico/direct-debit-authentication-and-environments#api-keys-and-authentication","target":"_blank"},"children":["Generate your API keys."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/developer_resources/resources-webhooks-payments-mexico","target":"_blank"},"children":["Set up a webhook to listen to events."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Have an existing customer and payment method created. See ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/payments_mexico/direct-debit-direct-api-setup","target":"_blank"},"children":["Direct Debit Payments via API"]}," for setup instructions."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-loan-snapshots-work","__idx":2},"children":["How loan snapshots work"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each time you make a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /loans"]}," request, Belvo creates a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["loan snapshot"]}," — a point-in-time record of the loan's current state. Belvo automatically sets the collection date (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["targetCollectionDate"]},") to the current day or the next business day — you cannot specify it in the request."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["First POST"]}," for a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["merchantCustomerId"]}," + ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentMethodId"]}," pair: Belvo creates a parent loan record in the background and attaches the snapshot to it. You won't interact with the parent loan directly."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Subsequent POSTs"]}," for the same pair: Belvo attaches the new snapshot to the existing loan. This gives you an audit trail of every collection request you've made."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"One snapshot per customer per day"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each snapshot is uniquely identified by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["merchantCustomerId"]}," + the auto-assigned ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["targetCollectionDate"]},". Since ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["targetCollectionDate"]}," is always set to the current day, you can only POST one snapshot per customer per day. A duplicate request on the same day returns a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["409 Conflict"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"create-a-loan-snapshot","__idx":3},"children":["Create a loan snapshot"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To schedule a collection, make a ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/belvopaymentsmexico/loans-(direct-debit-mexico)/createdirectdebitloan","target":"_blank"},"children":["POST Create a loan snapshot"]}," request:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","data-title":"Create a Loan Snapshot Request Body","header":{"title":"Create a Loan Snapshot Request Body","controls":{"copy":{}}},"source":"{\n  \"paymentMethodId\": \"43e5a5b1-b2c6-4f45-8c1f-f28fec707a4b\",\n  \"merchantCustomerId\": \"CUST001234\",\n  \"daysOverdue\": 45,\n  \"totalBalance\": 15000.50,\n  \"principalAmount\": 12000.00,\n  \"defaultDate\": \"2026-03-01\",\n  \"issueDate\": \"2026-01-15\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"required-fields","__idx":4},"children":["Required fields"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"15%","data-label":"Parameter"},"children":["Parameter "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example"},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["paymentMethodId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string (uuid)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The ID of the payment method to debit. Must exist and belong to your merchant account."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["43e5a5b1-b2c6-4f45-8c1f-f28fec707a4b"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["merchantCustomerId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your unique alphanumeric identifier for the customer. Maximum 50 characters."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CUST001234"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["daysOverdue"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The number of days the loan is overdue at the time of this snapshot. Must be 0 or greater."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["45"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["totalBalance"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["number"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The total outstanding balance at the time of this snapshot. Must be positive and not exceed 9999999999.99."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["15000.50"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["principalAmount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["number"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The principal amount of the loan. Must be positive and not exceed 9999999999.99."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["12000.00"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["defaultDate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string (date)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The date the loan became overdue, in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YYYY-MM-DD"]}," format."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2026-03-01"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["issueDate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string (date)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The date the loan was originally issued, in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YYYY-MM-DD"]}," format."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2026-01-15"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For all optional parameters, see the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/belvopaymentsmexico/loans-(direct-debit-mexico)/createdirectdebitloan","target":"_blank"},"children":["POST Create a loan snapshot"]}," API reference."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"response","__idx":5},"children":["Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A successful request returns a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["201 Created"]}," response with the ID of the newly created snapshot:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","data-title":"Create a Loan Snapshot Response (201 Created)","header":{"title":"Create a Loan Snapshot Response (201 Created)","controls":{"copy":{}}},"source":"{\n  \"id\": \"7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Save this ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," — you can use it to retrieve the snapshot details later."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"defaultDate is not returned in GET responses"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["defaultDate"]}," is accepted in the POST request body but is not included in the response from the List or Get endpoints. This is a known API limitation."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"list-loan-snapshots","__idx":6},"children":["List loan snapshots"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To retrieve all snapshots, make a ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/belvopaymentsmexico/loans-(direct-debit-mexico)/listdirectdebitloans","target":"_blank"},"children":["List all loan snapshots"]}," request."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["We recommend filtering by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["merchant_customer_id"]}," to scope results to a single customer:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"GET /loans?merchant_customer_id=CUST001234\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This returns a flat list of every snapshot posted for that customer, across all their payment methods, in reverse chronological order."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"get-a-loan-snapshot","__idx":7},"children":["Get a loan snapshot"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To retrieve a specific snapshot, make a ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/apis/belvopaymentsmexico/loans-(direct-debit-mexico)/detaildirectdebitloan","target":"_blank"},"children":["Get a loan snapshot's details"]}," request using the snapshot ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," returned when you created it:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"GET /loans/{id}\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"collection-webhooks","__idx":8},"children":["Collection webhooks"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When Belvo attempts the direct debit collection triggered by a loan snapshot, you receive a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payment_request_update"]}," webhook with the outcome."]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"label":"Successful collection","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","data-title":"Webhook Payload — Successful Collection","header":{"title":"Webhook Payload — Successful Collection","controls":{"copy":{}}},"source":"{\n  \"eventType\": \"payment_request_update\",\n  \"eventCode\": \"payment_request_successful\",\n  \"datetime\": \"2026-06-10T12:34:56.789Z\",\n  \"details\": {\n    \"id\": \"3118128a-6792-4b06-bd61-4acf6f6ad6b5\",\n    \"reference\": \"your_reference_here\",\n    \"status\": \"successful\",\n    \"amount\": 15000.50,\n    \"failedReason\": null,\n    \"failedMessage\": null\n  }\n}\n","lang":"json"},"children":[]}]},{"$$mdtype":"Tag","name":"div","attributes":{"label":"Failed collection","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","data-title":"Webhook Payload — Failed Collection","header":{"title":"Webhook Payload — Failed Collection","controls":{"copy":{}}},"source":"{\n  \"eventType\": \"payment_request_update\",\n  \"eventCode\": \"payment_request_failed\",\n  \"datetime\": \"2026-06-10T12:34:56.789Z\",\n  \"details\": {\n    \"id\": \"3118128a-6792-4b06-bd61-4acf6f6ad6b5\",\n    \"reference\": \"your_reference_here\",\n    \"status\": \"failed\",\n    \"amount\": 15000.50,\n    \"failedReason\": \"01\",\n    \"failedMessage\": \"Cuenta inexistente\"\n  }\n}\n","lang":"json"},"children":[]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["details.id"]}," in the webhook payload is the payment request ID, not the loan snapshot ID. For the full list of ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["failedReason"]}," codes, see ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/products/payments_mexico/direct-debit-bank-errors","target":"_blank"},"children":["Bank Error Codes"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For general information on webhook setup, retry policy, and payload fields, see ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/developer_resources/resources-webhooks-payments-mexico","target":"_blank"},"children":["Webhooks"]},"."]}]},"headings":[{"value":"Register and Track Loan Portfolios","id":"register-and-track-loan-portfolios","depth":1},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"How loan snapshots work","id":"how-loan-snapshots-work","depth":2},{"value":"Create a loan snapshot","id":"create-a-loan-snapshot","depth":2},{"value":"Required fields","id":"required-fields","depth":4},{"value":"Response","id":"response","depth":4},{"value":"List loan snapshots","id":"list-loan-snapshots","depth":2},{"value":"Get a loan snapshot","id":"get-a-loan-snapshot","depth":2},{"value":"Collection webhooks","id":"collection-webhooks","depth":2}],"frontmatter":{"seo":{"title":"Register and Track Loan Portfolios"}},"lastModified":"2026-06-11T13:37:08.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/payments_mexico/direct-debit-loans-api","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}