{"templateId":"markdown","sharedDataIds":{},"props":{"metadata":{"markdoc":{"tagList":["tabs","tab","admonition"]},"type":"markdown"},"seo":{"title":"Reefpay Docs","description":"Reefpay is the groundbreaking payment gateway that lets you integrate with the future of payments.","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":"handle-partial-captures","__idx":0},"children":["Handle partial captures"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":1},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A valid API key — see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/how-tos/setup/obtain-credentials"},"children":["Obtain API credentials"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["An authorized transaction from a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["card_auth"]}," request (the two-step flow)"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"when-to-use-partial-captures","__idx":2},"children":["When to use partial captures"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Split shipments"]},": An order with multiple items ships in separate packages. Capture the amount for each shipment as it leaves."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Adjusted totals"]},": The final order amount is less than the initial authorization (item unavailable, price adjustment)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Hotel / rental"]},": The estimated hold exceeds the actual charge."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-1-authorize-the-full-estimated-amount","__idx":3},"children":["Step 1: Authorize the full estimated amount"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"shell","header":{"controls":{"copy":{}}},"source":"curl -X POST \\\n  https://api.dev.paradisegateway.net/v1/transactions \\\n  -H \"Content-Type: application/json\" \\\n  -H \"APIKEY: YOUR-API-KEY\" \\\n  -d '{\n    \"type\": \"auth\",\n    \"amount\": 50000,\n    \"payment_method\": {\n      \"type\": \"card\",\n      \"pan\": \"5500000000005678\",\n      \"expiry\":\n        \"month\": \"07\",\n        \"year\": \"2029\"\n      },\n      \"cardholder_name\": \"Nyota Uhura\",\n      \"cvv\": \"789\",\n      \"address_line1\": \"42 Subspace Ln\",\n      \"zip\": \"30301\"\n    },\n    \"metadata\": {},\n    \"recurring\": false,\n    \"purchase_description\": \"Starfleet uniform\"\n  }'\n","lang":"shell"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Response returns ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction_state: authorized"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["amount: 50000"]},". Save the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-2-capture-a-partial-amount","__idx":4},"children":["Step 2: Capture a partial amount"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Send ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /v1/transactions/{id}/capture"]}," with an ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["amount"]}," less than the authorized total."]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"curl","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"shell","header":{"controls":{"copy":{}}},"source":"curl -X POST \\\n  https://api.dev.paradisegateway.net/v1/transactions/TRANSACTION-02KNUHURA8YWP4LT9G3X5V7Z0/capture \\\n  -H \"Content-Type: application/json\" \\\n  -H \"APIKEY: YOUR-API-KEY\" \\\n  -d '{\n    \"type\": \"capture\",\n    \"amount\": 30000,\n    \"tip\": 0\n  }'\n","lang":"shell"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Python","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"python","header":{"controls":{"copy":{}}},"source":"import requests\n\ntransaction_id = \"TRANSACTION-02KNUHURA8YWP4LT9G3X5V7Z0\"\nresp = requests.post(\n    f\"https://api.dev.paradisegateway.net/v1/transactions/{transaction_id}/capture\",\n    headers={\"Content-Type\": \"application/json\", \"APIKEY\": \"YOUR-API-KEY\"},\n    json={\"type\": \"capture\", \"amount\": 30000, \"tip\": 0},\n)\nprint(resp.json())\n","lang":"python"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"JavaScript","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"javascript","header":{"controls":{"copy":{}}},"source":"const transactionId = \"TRANSACTION-02KNUHURA8YWP4LT9G3X5V7Z0\";\nconst resp = await fetch(\n  `https://api.dev.paradisegateway.net/v1/transactions/${transactionId}/capture`,\n  {\n    method: \"POST\",\n    headers: {\n      \"Content-Type\": \"application/json\",\n      \"APIKEY\": \"YOUR-API-KEY\",\n    },\n    body: JSON.stringify({\n      type: \"capture\",\n      amount: 30000,\n      tip: 0,\n    }),\n  }\n);\nconsole.log(await resp.json());\n","lang":"javascript"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"C#","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"csharp","header":{"controls":{"copy":{}}},"source":"var transactionId = \"TRANSACTION-02KNUHURA8YWP4LT9G3X5V7Z0\";\nvar payload = new { type = \"capture\", amount = 30000, tip = 0 };\nvar resp = await client.PostAsJsonAsync(\n    $\"https://api.dev.paradisegateway.net/v1/transactions/{transactionId}/capture\",\n    payload);\nConsole.WriteLine(await resp.Content.ReadAsStringAsync());\n","lang":"csharp"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Java","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"java","header":{"controls":{"copy":{}}},"source":"String transactionId = \"TRANSACTION-02KNUHURA8YWP4LT9G3X5V7Z0\";\nString body = \"\"\"\n    {\"type\": \"capture\", \"amount\": 30000, \"tip\": 0}\n    \"\"\";\nHttpRequest request = HttpRequest.newBuilder()\n    .uri(URI.create(\n        \"https://api.dev.paradisegateway.net/v1/transactions/\"\n        + transactionId + \"/capture\"))\n    .header(\"Content-Type\", \"application/json\")\n    .header(\"APIKEY\", \"YOUR-API-KEY\")\n    .POST(HttpRequest.BodyPublishers.ofString(body)).build();\nHttpResponse<String> resp = client.send(request,\n    HttpResponse.BodyHandlers.ofString());\nSystem.out.println(resp.body());\n","lang":"java"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Go","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"go","header":{"controls":{"copy":{}}},"source":"transactionID := \"TRANSACTION-02KNUHURA8YWP4LT9G3X5V7Z0\"\npayload := strings.NewReader(`{\"type\": \"capture\", \"amount\": 30000, \"tip\": 0}`)\nreq, _ := http.NewRequest(\"POST\",\n    \"https://api.dev.paradisegateway.net/v1/transactions/\"+transactionID+\"/capture\",\n    payload)\nreq.Header.Set(\"Content-Type\", \"application/json\")\nreq.Header.Set(\"APIKEY\", \"YOUR-API-KEY\")\nresp, _ := http.DefaultClient.Do(req)\ndefer resp.Body.Close()\nbody, _ := io.ReadAll(resp.Body)\nfmt.Println(string(body))\n","lang":"go"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"PHP","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"php","header":{"controls":{"copy":{}}},"source":"$id = \"TRANSACTION-02KNUHURA8YWP4LT9G3X5V7Z0\";\n$ch = curl_init(\n    \"https://api.dev.paradisegateway.net/v1/transactions/$id/capture\");\ncurl_setopt_array($ch, [\n    CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true,\n    CURLOPT_HTTPHEADER => [\"Content-Type: application/json\", \"APIKEY: YOUR-API-KEY\"],\n    CURLOPT_POSTFIELDS => json_encode([\n        \"type\" => \"capture\", \"amount\" => 30000, \"tip\" => 0,\n    ]),\n]);\necho curl_exec($ch); curl_close($ch);\n","lang":"php"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Ruby","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"ruby","header":{"controls":{"copy":{}}},"source":"id = \"TRANSACTION-02KNUHURA8YWP4LT9G3X5V7Z0\"\nuri = URI(\n  \"https://api.dev.paradisegateway.net/v1/transactions/#{id}/capture\")\nreq = Net::HTTP::Post.new(uri, {\n  \"Content-Type\" => \"application/json\", \"APIKEY\" => \"YOUR-API-KEY\",\n})\nreq.body = { type: \"capture\", amount: 30000, tip: 0 }.to_json\nresp = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }\nputs resp.body\n","lang":"ruby"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-3-verify-the-capture","__idx":5},"children":["Step 3: Verify the capture"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response confirms the captured amount. The remaining 200.00 USD hold (500.00 authorized − 300.00 captured) is released back to the person."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"TRANSACTION-02KNUHURA8YWP4LT9G3X5V7Z0\",\n  \"type\": \"capture\",\n  \"transaction_state\": \"completed\",\n  \"response_status\": \"Approved\",\n  \"response_code\": \"00\",\n  \"amount\": 30000,\n  \"tip\": 0,\n  \"correlation_id\": \"f6a7b8c9-d0e1-2345-f012-3456789abcde\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-partial-captures-work","__idx":6},"children":["How partial captures work"]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"---\nconfig:\n  theme: 'neutral'\n---\nflowchart TD\n    A[\"Authorization: 500.00 USD\"] --> B{Full or partial?}\n    B -->|Full| C[\"Capture 500.00 USD\"]\n    B -->|Partial| D[\"Capture 300.00 USD\"]\n    D --> E[\"200.00 USD hold released\"]\n    C --> F[Settled in next batch]\n    D --> F\n","diagramHtml":"<svg id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" class=\"flowchart\" style=\"max-width: 538.609375px;\" viewBox=\"0 0 538.609375 511.421875\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#000000;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .error-icon{fill:#552222;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .error-text{fill:#552222;stroke:#552222;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .edge-thickness-normal{stroke-width:1px;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .edge-thickness-thick{stroke-width:3.5px;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .edge-pattern-solid{stroke-dasharray:0;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .marker{fill:#666;stroke:#666;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .marker.cross{stroke:#666;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 svg{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 p{margin:0;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .label{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;color:#000000;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .cluster-label text{fill:#333;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .cluster-label span{color:#333;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .cluster-label span p{background-color:transparent;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .label text,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 span{fill:#000000;color:#000000;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .node rect,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .node circle,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .node ellipse,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .node polygon,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .node path{fill:#eee;stroke:#999;stroke-width:1px;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .rough-node .label text,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .node .label text,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .image-shape .label,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .icon-shape .label{text-anchor:middle;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .rough-node .label,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .node .label,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .image-shape .label,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .icon-shape .label{text-align:center;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .node.clickable{cursor:pointer;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .root .anchor path{fill:#666!important;stroke-width:0;stroke:#666;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .arrowheadPath{fill:#333333;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .edgePath .path{stroke:#666;stroke-width:1px;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .flowchart-link{stroke:#666;fill:none;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .edgeLabel{background-color:white;text-align:center;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .edgeLabel p{background-color:white;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .edgeLabel rect{opacity:0.5;background-color:white;fill:white;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .labelBkg{background-color:rgba(255, 255, 255, 0.5);}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .cluster rect{fill:hsl(0, 0%, 98.9215686275%);stroke:#707070;stroke-width:1px;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .cluster text{fill:#333;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .cluster span{color:#333;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:12px;background:hsl(-160, 0%, 93.3333333333%);border:1px solid #707070;border-radius:2px;pointer-events:none;z-index:100;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#000000;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 rect.text{fill:none;stroke-width:0;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .icon-shape,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .image-shape{background-color:white;text-align:center;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .icon-shape p,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .image-shape p{background-color:white;padding:2px;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .icon-shape .label rect,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .image-shape .label rect{opacity:0.5;background-color:white;fill:white;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 .node .neo-node{stroke:#999;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 [data-look=\"neo\"].node rect,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 [data-look=\"neo\"].cluster rect,#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 [data-look=\"neo\"].node polygon{stroke:url(#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 [data-look=\"neo\"].node path{stroke:url(#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-gradient);stroke-width:1px;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 [data-look=\"neo\"].node .neo-line path{stroke:#999;filter:none;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 [data-look=\"neo\"].node circle{stroke:url(#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}</style><g><marker id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-pointEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"11.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"10.5\" markerHeight=\"14\" orient=\"auto\"><path d=\"M 0 0 L 11.5 7 L 0 14 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-pointStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"1\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11.5\" markerHeight=\"14\" orient=\"auto\"><polygon points=\"0,7 11.5,14 11.5,0\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></polygon></marker><marker id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-circleEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refY=\"5\" refX=\"12.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-circleStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-2\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-crossEnd-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"17.7\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5;\"></path></marker><marker id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-crossStart-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"-3.5\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5; stroke-dasharray: 1, 0;\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edgePaths\"><path d=\"M263.914,62L263.914,66.167C263.914,70.333,263.914,78.667,263.914,86.333C263.914,94,263.914,101,263.914,104.5L263.914,108\" id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-L_A_B_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_A_B_0\" data-points=\"W3sieCI6MjYzLjkxNDA2MjUsInkiOjYyfSx7IngiOjI2My45MTQwNjI1LCJ5Ijo4N30seyJ4IjoyNjMuOTE0MDYyNSwieSI6MTEyfV0=\" data-look=\"classic\" marker-end=\"url(#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-pointEnd)\"></path><path d=\"M218.956,226.464L201.285,240.123C183.614,253.783,148.272,281.102,130.601,300.262C112.93,319.422,112.93,330.422,112.93,335.922L112.93,341.422\" id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-L_B_C_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_B_C_0\" data-points=\"W3sieCI6MjE4Ljk1NTgzNzU0Mzc3NjQ1LCJ5IjoyMjYuNDYzNjUwMDQzNzc2NDV9LHsieCI6MTEyLjkyOTY4NzUsInkiOjMwOC40MjE4NzV9LHsieCI6MTEyLjkyOTY4NzUsInkiOjM0NS40MjE4NzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-pointEnd)\"></path><path d=\"M306.066,229.27L320.872,242.462C335.677,255.654,365.288,282.038,380.093,300.73C394.898,319.422,394.898,330.422,394.898,335.922L394.898,341.422\" id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-L_B_D_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_B_D_0\" data-points=\"W3sieCI6MzA2LjA2NjIwMTg1MTA0ODczLCJ5IjoyMjkuMjY5NzM1NjQ4OTUxMjd9LHsieCI6Mzk0Ljg5ODQzNzUsInkiOjMwOC40MjE4NzV9LHsieCI6Mzk0Ljg5ODQzNzUsInkiOjM0NS40MjE4NzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-pointEnd)\"></path><path d=\"M400.091,399.422L400.892,403.589C401.693,407.755,403.296,416.089,404.097,423.755C404.898,431.422,404.898,438.422,404.898,441.922L404.898,445.422\" id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-L_D_E_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_D_E_0\" data-points=\"W3sieCI6NDAwLjA5MDc0NTE5MjMwNzcsInkiOjM5OS40MjE4NzV9LHsieCI6NDA0Ljg5ODQzNzUsInkiOjQyNC40MjE4NzV9LHsieCI6NDA0Ljg5ODQzNzUsInkiOjQ0OS40MjE4NzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-pointEnd)\"></path><path d=\"M112.93,399.422L112.93,403.589C112.93,407.755,112.93,416.089,113.605,423.767C114.28,431.446,115.631,438.47,116.307,441.982L116.982,445.494\" id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-L_C_F_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_F_0\" data-points=\"W3sieCI6MTEyLjkyOTY4NzUsInkiOjM5OS40MjE4NzV9LHsieCI6MTEyLjkyOTY4NzUsInkiOjQyNC40MjE4NzV9LHsieCI6MTE3LjczNzM3OTgwNzY5MjMsInkiOjQ0OS40MjE4NzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-pointEnd)\"></path><path d=\"M321.695,399.422L310.398,403.589C299.101,407.755,276.508,416.089,255.335,424.176C234.162,432.263,214.41,440.105,204.534,444.025L194.659,447.946\" id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-L_D_F_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_D_F_0\" data-points=\"W3sieCI6MzIxLjY5NTAxMjAxOTIzMDgsInkiOjM5OS40MjE4NzV9LHsieCI6MjUzLjkxNDA2MjUsInkiOjQyNC40MjE4NzV9LHsieCI6MTkwLjk0MDgwNTI4ODQ2MTU1LCJ5Ijo0NDkuNDIxODc1fV0=\" data-look=\"classic\" marker-end=\"url(#diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328_flowchart-v2-pointEnd)\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_A_B_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(112.9296875, 308.421875)\"><g class=\"label\" data-id=\"L_B_C_0\" transform=\"translate(-13.0859375, -12)\"><foreignObject width=\"26.171875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>Full</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(394.8984375, 308.421875)\"><g class=\"label\" data-id=\"L_B_D_0\" transform=\"translate(-23.8515625, -12)\"><foreignObject width=\"47.703125\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>Partial</p></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_D_E_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_C_F_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_D_F_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-flowchart-A-0\" data-look=\"classic\" transform=\"translate(263.9140625, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-127.9453125\" y=\"-27\" width=\"255.890625\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-97.9453125, -12)\"><rect></rect><foreignObject width=\"195.890625\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Authorization: 500.00 USD</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-flowchart-B-1\" data-look=\"classic\" transform=\"translate(263.9140625, 191.7109375)\"><polygon points=\"79.7109375,0 159.421875,-79.7109375 79.7109375,-159.421875 0,-79.7109375\" class=\"label-container\" transform=\"translate(-79.2109375, 79.7109375)\"></polygon><g class=\"label\" style=\"\" transform=\"translate(-52.7109375, -12)\"><rect></rect><foreignObject width=\"105.421875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Full or partial?</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-flowchart-C-3\" data-look=\"classic\" transform=\"translate(112.9296875, 372.421875)\"><rect class=\"basic label-container\" style=\"\" x=\"-104.9296875\" y=\"-27\" width=\"209.859375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-74.9296875, -12)\"><rect></rect><foreignObject width=\"149.859375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Capture 500.00 USD</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-flowchart-D-5\" data-look=\"classic\" transform=\"translate(394.8984375, 372.421875)\"><rect class=\"basic label-container\" style=\"\" x=\"-104.9296875\" y=\"-27\" width=\"209.859375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-74.9296875, -12)\"><rect></rect><foreignObject width=\"149.859375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Capture 300.00 USD</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-flowchart-E-7\" data-look=\"classic\" transform=\"translate(404.8984375, 476.421875)\"><rect class=\"basic label-container\" style=\"\" x=\"-125.7109375\" y=\"-27\" width=\"251.421875\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-95.7109375, -12)\"><rect></rect><foreignObject width=\"191.421875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>200.00 USD hold released</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-flowchart-F-9\" data-look=\"classic\" transform=\"translate(122.9296875, 476.421875)\"><rect class=\"basic label-container\" style=\"\" x=\"-106.2578125\" y=\"-27\" width=\"212.515625\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-76.2578125, -12)\"><rect></rect><foreignObject width=\"152.515625\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Settled in next batch</p></span></div></foreignObject></g></g></g></g></g><defs><filter id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-drop-shadow\" height=\"130%\" width=\"130%\"><feDropShadow dx=\"4\" dy=\"4\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs><defs><filter id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-drop-shadow-small\" height=\"150%\" width=\"150%\"><feDropShadow dx=\"2\" dy=\"2\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs><linearGradient id=\"diagram-d99439c8abe7e593752b3d11df05bd5417b949d03295eac10654bc2dc592b328-gradient\" gradientUnits=\"objectBoundingBox\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\"><stop offset=\"0%\" stop-color=\"hsl(0, 0%, 83.3333333333%)\" stop-opacity=\"1\"></stop><stop offset=\"100%\" stop-color=\"hsl(0, 0%, 88.9215686275%)\" stop-opacity=\"1\"></stop></linearGradient></svg>","diagramHtmlDark":"<svg id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" class=\"flowchart\" style=\"max-width: 538.609375px;\" viewBox=\"0 0 538.609375 511.421875\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#000000;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .error-icon{fill:#552222;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .error-text{fill:#552222;stroke:#552222;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .edge-thickness-normal{stroke-width:1px;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .edge-thickness-thick{stroke-width:3.5px;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .edge-pattern-solid{stroke-dasharray:0;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .edge-pattern-dashed{stroke-dasharray:3;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .edge-pattern-dotted{stroke-dasharray:2;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .marker{fill:#666;stroke:#666;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .marker.cross{stroke:#666;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e svg{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e p{margin:0;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .label{font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;color:#000000;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .cluster-label text{fill:#333;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .cluster-label span{color:#333;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .cluster-label span p{background-color:transparent;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .label text,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e span{fill:#000000;color:#000000;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .node rect,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .node circle,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .node ellipse,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .node polygon,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .node path{fill:#eee;stroke:#999;stroke-width:1px;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .rough-node .label text,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .node .label text,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .image-shape .label,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .icon-shape .label{text-anchor:middle;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .rough-node .label,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .node .label,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .image-shape .label,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .icon-shape .label{text-align:center;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .node.clickable{cursor:pointer;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .root .anchor path{fill:#666!important;stroke-width:0;stroke:#666;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .arrowheadPath{fill:#333333;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .edgePath .path{stroke:#666;stroke-width:1px;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .flowchart-link{stroke:#666;fill:none;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .edgeLabel{background-color:white;text-align:center;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .edgeLabel p{background-color:white;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .edgeLabel rect{opacity:0.5;background-color:white;fill:white;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .labelBkg{background-color:rgba(255, 255, 255, 0.5);}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .cluster rect{fill:hsl(0, 0%, 98.9215686275%);stroke:#707070;stroke-width:1px;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .cluster text{fill:#333;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .cluster span{color:#333;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;font-size:12px;background:hsl(-160, 0%, 93.3333333333%);border:1px solid #707070;border-radius:2px;pointer-events:none;z-index:100;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#000000;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e rect.text{fill:none;stroke-width:0;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .icon-shape,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .image-shape{background-color:white;text-align:center;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .icon-shape p,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .image-shape p{background-color:white;padding:2px;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .icon-shape .label rect,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .image-shape .label rect{opacity:0.5;background-color:white;fill:white;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e .node .neo-node{stroke:#999;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e [data-look=\"neo\"].node rect,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e [data-look=\"neo\"].cluster rect,#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e [data-look=\"neo\"].node polygon{stroke:url(#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e [data-look=\"neo\"].node path{stroke:url(#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-gradient);stroke-width:1px;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e [data-look=\"neo\"].node .neo-line path{stroke:#999;filter:none;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e [data-look=\"neo\"].node circle{stroke:url(#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e :root{--mermaid-font-family:\"Redocly Mermaid Sans\",\"Redocly Mermaid CJK\",sans-serif;}</style><g><marker id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-pointEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"11.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"10.5\" markerHeight=\"14\" orient=\"auto\"><path d=\"M 0 0 L 11.5 7 L 0 14 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-pointStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"1\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11.5\" markerHeight=\"14\" orient=\"auto\"><polygon points=\"0,7 11.5,14 11.5,0\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></polygon></marker><marker id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-circleEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refY=\"5\" refX=\"12.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-circleStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-2\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-crossEnd-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"17.7\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5;\"></path></marker><marker id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-crossStart-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"-3.5\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5; stroke-dasharray: 1, 0;\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edgePaths\"><path d=\"M263.914,62L263.914,66.167C263.914,70.333,263.914,78.667,263.914,86.333C263.914,94,263.914,101,263.914,104.5L263.914,108\" id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-L_A_B_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_A_B_0\" data-points=\"W3sieCI6MjYzLjkxNDA2MjUsInkiOjYyfSx7IngiOjI2My45MTQwNjI1LCJ5Ijo4N30seyJ4IjoyNjMuOTE0MDYyNSwieSI6MTEyfV0=\" data-look=\"classic\" marker-end=\"url(#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-pointEnd)\"></path><path d=\"M218.956,226.464L201.285,240.123C183.614,253.783,148.272,281.102,130.601,300.262C112.93,319.422,112.93,330.422,112.93,335.922L112.93,341.422\" id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-L_B_C_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_B_C_0\" data-points=\"W3sieCI6MjE4Ljk1NTgzNzU0Mzc3NjQ1LCJ5IjoyMjYuNDYzNjUwMDQzNzc2NDV9LHsieCI6MTEyLjkyOTY4NzUsInkiOjMwOC40MjE4NzV9LHsieCI6MTEyLjkyOTY4NzUsInkiOjM0NS40MjE4NzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-pointEnd)\"></path><path d=\"M306.066,229.27L320.872,242.462C335.677,255.654,365.288,282.038,380.093,300.73C394.898,319.422,394.898,330.422,394.898,335.922L394.898,341.422\" id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-L_B_D_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_B_D_0\" data-points=\"W3sieCI6MzA2LjA2NjIwMTg1MTA0ODczLCJ5IjoyMjkuMjY5NzM1NjQ4OTUxMjd9LHsieCI6Mzk0Ljg5ODQzNzUsInkiOjMwOC40MjE4NzV9LHsieCI6Mzk0Ljg5ODQzNzUsInkiOjM0NS40MjE4NzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-pointEnd)\"></path><path d=\"M400.091,399.422L400.892,403.589C401.693,407.755,403.296,416.089,404.097,423.755C404.898,431.422,404.898,438.422,404.898,441.922L404.898,445.422\" id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-L_D_E_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_D_E_0\" data-points=\"W3sieCI6NDAwLjA5MDc0NTE5MjMwNzcsInkiOjM5OS40MjE4NzV9LHsieCI6NDA0Ljg5ODQzNzUsInkiOjQyNC40MjE4NzV9LHsieCI6NDA0Ljg5ODQzNzUsInkiOjQ0OS40MjE4NzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-pointEnd)\"></path><path d=\"M112.93,399.422L112.93,403.589C112.93,407.755,112.93,416.089,113.605,423.767C114.28,431.446,115.631,438.47,116.307,441.982L116.982,445.494\" id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-L_C_F_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_F_0\" data-points=\"W3sieCI6MTEyLjkyOTY4NzUsInkiOjM5OS40MjE4NzV9LHsieCI6MTEyLjkyOTY4NzUsInkiOjQyNC40MjE4NzV9LHsieCI6MTE3LjczNzM3OTgwNzY5MjMsInkiOjQ0OS40MjE4NzV9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-pointEnd)\"></path><path d=\"M321.695,399.422L310.398,403.589C299.101,407.755,276.508,416.089,255.335,424.176C234.162,432.263,214.41,440.105,204.534,444.025L194.659,447.946\" id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-L_D_F_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_D_F_0\" data-points=\"W3sieCI6MzIxLjY5NTAxMjAxOTIzMDgsInkiOjM5OS40MjE4NzV9LHsieCI6MjUzLjkxNDA2MjUsInkiOjQyNC40MjE4NzV9LHsieCI6MTkwLjk0MDgwNTI4ODQ2MTU1LCJ5Ijo0NDkuNDIxODc1fV0=\" data-look=\"classic\" marker-end=\"url(#diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e_flowchart-v2-pointEnd)\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_A_B_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(112.9296875, 308.421875)\"><g class=\"label\" data-id=\"L_B_C_0\" transform=\"translate(-13.0859375, -12)\"><foreignObject width=\"26.171875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>Full</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(394.8984375, 308.421875)\"><g class=\"label\" data-id=\"L_B_D_0\" transform=\"translate(-23.8515625, -12)\"><foreignObject width=\"47.703125\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>Partial</p></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_D_E_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_C_F_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g class=\"label\" data-id=\"L_D_F_0\" transform=\"translate(0, 0)\"><foreignObject width=\"0\" height=\"0\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-flowchart-A-0\" data-look=\"classic\" transform=\"translate(263.9140625, 35)\"><rect class=\"basic label-container\" style=\"\" x=\"-127.9453125\" y=\"-27\" width=\"255.890625\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-97.9453125, -12)\"><rect></rect><foreignObject width=\"195.890625\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Authorization: 500.00 USD</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-flowchart-B-1\" data-look=\"classic\" transform=\"translate(263.9140625, 191.7109375)\"><polygon points=\"79.7109375,0 159.421875,-79.7109375 79.7109375,-159.421875 0,-79.7109375\" class=\"label-container\" transform=\"translate(-79.2109375, 79.7109375)\"></polygon><g class=\"label\" style=\"\" transform=\"translate(-52.7109375, -12)\"><rect></rect><foreignObject width=\"105.421875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Full or partial?</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-flowchart-C-3\" data-look=\"classic\" transform=\"translate(112.9296875, 372.421875)\"><rect class=\"basic label-container\" style=\"\" x=\"-104.9296875\" y=\"-27\" width=\"209.859375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-74.9296875, -12)\"><rect></rect><foreignObject width=\"149.859375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Capture 500.00 USD</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-flowchart-D-5\" data-look=\"classic\" transform=\"translate(394.8984375, 372.421875)\"><rect class=\"basic label-container\" style=\"\" x=\"-104.9296875\" y=\"-27\" width=\"209.859375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-74.9296875, -12)\"><rect></rect><foreignObject width=\"149.859375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Capture 300.00 USD</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-flowchart-E-7\" data-look=\"classic\" transform=\"translate(404.8984375, 476.421875)\"><rect class=\"basic label-container\" style=\"\" x=\"-125.7109375\" y=\"-27\" width=\"251.421875\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-95.7109375, -12)\"><rect></rect><foreignObject width=\"191.421875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>200.00 USD hold released</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-flowchart-F-9\" data-look=\"classic\" transform=\"translate(122.9296875, 476.421875)\"><rect class=\"basic label-container\" style=\"\" x=\"-106.2578125\" y=\"-27\" width=\"212.515625\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-76.2578125, -12)\"><rect></rect><foreignObject width=\"152.515625\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Settled in next batch</p></span></div></foreignObject></g></g></g></g></g><defs><filter id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-drop-shadow\" height=\"130%\" width=\"130%\"><feDropShadow dx=\"4\" dy=\"4\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs><defs><filter id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-drop-shadow-small\" height=\"150%\" width=\"150%\"><feDropShadow dx=\"2\" dy=\"2\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs><linearGradient id=\"diagram-0779bc23b01cdadde23e884b8a0f8bb06ab0df40c8615fb4c8faf2d4e6671f7e-gradient\" gradientUnits=\"objectBoundingBox\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\"><stop offset=\"0%\" stop-color=\"hsl(0, 0%, 83.3333333333%)\" stop-opacity=\"1\"></stop><stop offset=\"100%\" stop-color=\"hsl(0, 0%, 88.9215686275%)\" stop-opacity=\"1\"></stop></linearGradient></svg>"},"children":["---\nconfig:\n  theme: 'neutral'\n---\nflowchart TD\n    A[\"Authorization: 500.00 USD\"] --> B{Full or partial?}\n    B -->|Full| C[\"Capture 500.00 USD\"]\n    B -->|Partial| D[\"Capture 300.00 USD\"]\n    D --> E[\"200.00 USD hold released\"]\n    C --> F[Settled in next batch]\n    D --> F\n"]},{"$$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":{"align":"left","data-label":"Scenario"},"children":["Scenario"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Authorized"},"children":["Authorized"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Captured"},"children":["Captured"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Released to person"},"children":["Released to person"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Full capture"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["500.00"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["500.00"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["0.00"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Partial capture"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["500.00"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["300.00"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["200.00"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Zero capture (cancel)"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["500.00"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["0.00"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["500.00"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"rules-and-constraints","__idx":7},"children":["Rules and constraints"]},{"$$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":{"align":"left","data-label":"Rule"},"children":["Rule"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Details"},"children":["Details"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Capture amount must be ≤ authorized amount"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["You cannot capture more than was authorized"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Single capture per authorization"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Each authorization can be captured once (for multiple captures, use multiple authorizations)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Timing"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Must capture before the authorization expires (7–30 days, varies by issuer)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Tip at capture"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["You can include a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tip"]}," in the capture request; the total (amount + tip) must not exceed the authorized amount"]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Split shipments"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For orders that ship in multiple packages, authorize the full order amount up front, then create separate authorizations for each shipment and capture individually. This is more reliable than attempting multiple partial captures against a single authorization."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"next-steps","__idx":8},"children":["Next steps"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/how-tos/process-payments/authorize-capture-separately"},"children":["Authorize and capture separately"]}," — the full two-step flow"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/how-tos/process-payments/add-tip"},"children":["Add a tip or surcharge"]}," — adjust the amount before capture"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/concepts/transactions/cancels-and-refunds"},"children":["About cancels and refunds"]}," — what to do if you do not need to capture"]}]}]},"headings":[{"value":"Handle partial captures","id":"handle-partial-captures","depth":1},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"When to use partial captures","id":"when-to-use-partial-captures","depth":2},{"value":"Step 1: Authorize the full estimated amount","id":"step-1-authorize-the-full-estimated-amount","depth":2},{"value":"Step 2: Capture a partial amount","id":"step-2-capture-a-partial-amount","depth":2},{"value":"Step 3: Verify the capture","id":"step-3-verify-the-capture","depth":2},{"value":"How partial captures work","id":"how-partial-captures-work","depth":2},{"value":"Rules and constraints","id":"rules-and-constraints","depth":2},{"value":"Next steps","id":"next-steps","depth":2}],"frontmatter":{"title":"Handle partial captures","shortTitle":"Partial captures","intro":"Capture less than the authorized amount when only part of an order ships or the final amount is lower than estimated. The remaining hold is released back to the person.","type":"how-to","seo":{"title":""}},"lastModified":"2026-06-05T02:46:44.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/how-tos/process-payments/handle-partial-capture","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}