{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-docs/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Reefpay Docs","description":"Reefpay is the groundbreaking payment gateway that lets you integrate with the future of payments."},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"transaction-lifecycle","__idx":0},"children":["Transaction lifecycle"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A transaction is not finished when the response arrives. It gets authorized,"," ","possibly captured, gathered into a batch, settled, and — for ACH — it can still"," ","be returned days later."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Knowing which stage a transaction is in tells you what you can still do to it."," ","Most of the rules on this page reduce to one question: has it settled yet?"]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"---\nconfig:\n  theme: 'neutral'\n---\nflowchart LR\n    A[Request] --> B{result}\n    B -->|DECLINED or ERROR| C[Finished]\n    B -->|APPROVED| D[Authorized]\n    D -->|SALE| E[In a batch]\n    D -->|AUTH| F[Awaiting capture]\n    F -->|capture| E\n    F -->|void| C\n    E -->|batch closes| G[Settled]\n    G -->|refund| H[Refunded]\n    G -->|ACH only| I[Returned]\n","diagramHtml":"<svg id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" class=\"flowchart\" style=\"max-width: 1673.328125px;\" viewBox=\"0 0 1673.328125 259\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>\n    #diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea foreignObject {\n      overflow: visible;\n    }\n  </style><style>#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"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-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .error-icon{fill:#552222;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .error-text{fill:#552222;stroke:#552222;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .edge-thickness-normal{stroke-width:1px;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .edge-thickness-thick{stroke-width:3.5px;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .edge-pattern-solid{stroke-dasharray:0;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .edge-pattern-dashed{stroke-dasharray:3;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .edge-pattern-dotted{stroke-dasharray:2;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .marker{fill:#666;stroke:#666;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .marker.cross{stroke:#666;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea svg{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea p{margin:0;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .label{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;color:#000000;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .cluster-label text{fill:#333;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .cluster-label span{color:#333;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .cluster-label span p{background-color:transparent;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .label text,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea span{fill:#000000;color:#000000;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .node rect,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .node circle,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .node ellipse,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .node polygon,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .node path{fill:#eee;stroke:#999;stroke-width:1px;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .rough-node .label text,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .node .label text,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .image-shape .label,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .icon-shape .label{text-anchor:middle;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .rough-node .label,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .node .label,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .image-shape .label,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .icon-shape .label{text-align:center;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .node.clickable{cursor:pointer;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .root .anchor path{fill:#666!important;stroke-width:0;stroke:#666;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .arrowheadPath{fill:#333333;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .edgePath .path{stroke:#666;stroke-width:1px;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .flowchart-link{stroke:#666;fill:none;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .edgeLabel{background-color:white;text-align:center;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .edgeLabel p{background-color:white;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .edgeLabel rect{opacity:0.5;background-color:white;fill:white;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .labelBkg{background-color:rgba(255, 255, 255, 0.5);}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .cluster rect{fill:hsl(0, 0%, 98.9215686275%);stroke:#707070;stroke-width:1px;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .cluster text{fill:#333;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .cluster span{color:#333;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"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-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#000000;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea rect.text{fill:none;stroke-width:0;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .icon-shape,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .image-shape{background-color:white;text-align:center;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .icon-shape p,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .image-shape p{background-color:white;padding:2px;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .icon-shape .label rect,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .image-shape .label rect{opacity:0.5;background-color:white;fill:white;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea .node .neo-node{stroke:#999;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea [data-look=\"neo\"].node rect,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea [data-look=\"neo\"].cluster rect,#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea [data-look=\"neo\"].node polygon{stroke:url(#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea [data-look=\"neo\"].node path{stroke:url(#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-gradient);stroke-width:1px;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea [data-look=\"neo\"].node .neo-line path{stroke:#999;filter:none;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea [data-look=\"neo\"].node circle{stroke:url(#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea :root{--mermaid-font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;}</style><g><marker id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_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-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_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-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_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-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_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-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_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-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_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-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_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-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_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-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_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-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_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-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_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-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_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=\"M127.594,88L131.76,88C135.927,88,144.26,88,151.927,88C159.594,88,166.594,88,170.094,88L173.594,88\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-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=\"W3sieCI6MTI3LjU5Mzc1LCJ5Ijo4OH0seyJ4IjoxNTIuNTkzNzUsInkiOjg4fSx7IngiOjE3Ny41OTM3NSwieSI6ODh9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_flowchart-v2-pointEnd)\"></path><path d=\"M253.513,70.794L267.957,62.329C282.402,53.863,311.291,36.931,348.687,28.466C386.083,20,431.987,20,483.965,20C535.943,20,593.995,20,655.505,20C717.016,20,781.984,20,837.917,20C893.849,20,940.745,20,972.979,22.332C1005.214,24.663,1022.787,29.326,1031.574,31.658L1040.36,33.989\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-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=\"W3sieCI6MjUzLjUxMzA2MTE4NjU4NDYsInkiOjcwLjc5NDMxMTE4NjU4NDZ9LHsieCI6MzQwLjE3OTY4NzUsInkiOjIwfSx7IngiOjQ3Ny44OTA2MjUsInkiOjIwfSx7IngiOjY1Mi4wNDY4NzUsInkiOjIwfSx7IngiOjg0Ni45NTMxMjUsInkiOjIwfSx7IngiOjk4Ny42NDA2MjUsInkiOjIwfSx7IngiOjEwNDQuMjI2NTYyNSwieSI6MzUuMDE0OTEyMzk4MDIwNn1d\" data-look=\"classic\" marker-end=\"url(#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_flowchart-v2-pointEnd)\"></path><path d=\"M260.901,97.818L274.114,101.348C287.327,104.878,313.753,111.939,337.877,115.47C362,119,383.82,119,394.73,119L405.641,119\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-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=\"W3sieCI6MjYwLjkwMTAxMjYwNjkzOTgsInkiOjk3LjgxNzczNzM5MzA2MDJ9LHsieCI6MzQwLjE3OTY4NzUsInkiOjExOX0seyJ4Ijo0MDkuNjQwNjI1LCJ5IjoxMTl9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_flowchart-v2-pointEnd)\"></path><path d=\"M546.141,133.5L563.792,137.25C581.443,141,616.745,148.5,666.88,152.25C717.016,156,781.984,156,837.917,156C893.849,156,940.745,156,972.147,157.089C1003.549,158.179,1019.457,160.357,1027.411,161.447L1035.365,162.536\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-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=\"W3sieCI6NTQ2LjE0MDYyNSwieSI6MTMzLjQ5OTkxMDI4MTcxNTQyfSx7IngiOjY1Mi4wNDY4NzUsInkiOjE1Nn0seyJ4Ijo4NDYuOTUzMTI1LCJ5IjoxNTZ9LHsieCI6OTg3LjY0MDYyNSwieSI6MTU2fSx7IngiOjEwMzkuMzI4MTI1LCJ5IjoxNjMuMDc4Nzc0OTA5NzIzMTd9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_flowchart-v2-pointEnd)\"></path><path d=\"M546.141,104.5L563.792,100.75C581.443,97,616.745,89.5,651.38,85.75C686.016,82,719.984,82,736.969,82L753.953,82\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-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=\"W3sieCI6NTQ2LjE0MDYyNSwieSI6MTA0LjUwMDA4OTcxODI4NDU4fSx7IngiOjY1Mi4wNDY4NzUsInkiOjgyfSx7IngiOjc1Ny45NTMxMjUsInkiOjgyfV0=\" data-look=\"classic\" marker-end=\"url(#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_flowchart-v2-pointEnd)\"></path><path d=\"M882.789,109L900.264,122.167C917.739,135.333,952.69,161.667,978.119,173.744C1003.549,185.821,1019.457,183.643,1027.411,182.553L1035.365,181.464\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-L_F_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_F_E_0\" data-points=\"W3sieCI6ODgyLjc4ODYyMDI4MzAxODksInkiOjEwOX0seyJ4Ijo5ODcuNjQwNjI1LCJ5IjoxODh9LHsieCI6MTAzOS4zMjgxMjUsInkiOjE4MC45MjEyMjUwOTAyNzY4M31d\" data-look=\"classic\" marker-end=\"url(#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_flowchart-v2-pointEnd)\"></path><path d=\"M935.953,82L944.568,82C953.182,82,970.411,82,987.813,79.668C1005.214,77.337,1022.787,72.674,1031.574,70.342L1040.36,68.011\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-L_F_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_F_C_0\" data-points=\"W3sieCI6OTM1Ljk1MzEyNSwieSI6ODJ9LHsieCI6OTg3LjY0MDYyNSwieSI6ODJ9LHsieCI6MTA0NC4yMjY1NjI1LCJ5Ijo2Ni45ODUwODc2MDE5Nzk0fV0=\" data-look=\"classic\" marker-end=\"url(#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_flowchart-v2-pointEnd)\"></path><path d=\"M1169.609,172L1181.188,172C1192.766,172,1215.922,172,1238.411,172C1260.901,172,1282.724,172,1293.635,172L1304.547,172\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-L_E_G_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_E_G_0\" data-points=\"W3sieCI6MTE2OS42MDkzNzUsInkiOjE3Mn0seyJ4IjoxMjM5LjA3ODEyNSwieSI6MTcyfSx7IngiOjEzMDguNTQ2ODc1LCJ5IjoxNzJ9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_flowchart-v2-pointEnd)\"></path><path d=\"M1418.359,146.888L1428.158,142.407C1437.956,137.925,1457.552,128.963,1476.482,124.481C1495.411,120,1513.674,120,1522.806,120L1531.938,120\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-L_G_H_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_G_H_0\" data-points=\"W3sieCI6MTQxOC4zNTkzNzUsInkiOjE0Ni44ODc5MjY4ODc5MjY4OH0seyJ4IjoxNDc3LjE0ODQzNzUsInkiOjEyMH0seyJ4IjoxNTM1LjkzNzUsInkiOjEyMH1d\" data-look=\"classic\" marker-end=\"url(#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_flowchart-v2-pointEnd)\"></path><path d=\"M1418.359,197.112L1428.158,201.593C1437.956,206.075,1457.552,215.037,1476.779,219.519C1496.005,224,1514.862,224,1524.29,224L1533.719,224\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-L_G_I_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_G_I_0\" data-points=\"W3sieCI6MTQxOC4zNTkzNzUsInkiOjE5Ny4xMTIwNzMxMTIwNzMxMn0seyJ4IjoxNDc3LjE0ODQzNzUsInkiOjIyNH0seyJ4IjoxNTM3LjcxODc1LCJ5IjoyMjR9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea_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(652.046875, 20)\"><g class=\"label\" data-id=\"L_B_C_0\" transform=\"translate(-80.90625, -12)\"><foreignObject width=\"161.8125\" 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>DECLINED or ERROR</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(340.1796875, 119)\"><g class=\"label\" data-id=\"L_B_D_0\" transform=\"translate(-44.4609375, -12)\"><foreignObject width=\"88.921875\" 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>APPROVED</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(846.953125, 156)\"><g class=\"label\" data-id=\"L_D_E_0\" transform=\"translate(-20.4609375, -12)\"><foreignObject width=\"40.921875\" 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>SALE</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(652.046875, 82)\"><g class=\"label\" data-id=\"L_D_F_0\" transform=\"translate(-21.78125, -12)\"><foreignObject width=\"43.5625\" 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>AUTH</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(956.04813, 164.19686)\"><g class=\"label\" data-id=\"L_F_E_0\" transform=\"translate(-26.6875, -12)\"><foreignObject width=\"53.375\" 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>capture</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(987.640625, 82)\"><g class=\"label\" data-id=\"L_F_C_0\" transform=\"translate(-14.6796875, -12)\"><foreignObject width=\"29.359375\" 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>void</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(1239.078125, 172)\"><g class=\"label\" data-id=\"L_E_G_0\" transform=\"translate(-44.46875, -12)\"><foreignObject width=\"88.9375\" 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>batch closes</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(1477.1484375, 120)\"><g class=\"label\" data-id=\"L_G_H_0\" transform=\"translate(-22.6875, -12)\"><foreignObject width=\"45.375\" 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>refund</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(1477.1484375, 224)\"><g class=\"label\" data-id=\"L_G_I_0\" transform=\"translate(-33.7890625, -12)\"><foreignObject width=\"67.578125\" 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>ACH only</p></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-flowchart-A-0\" data-look=\"classic\" transform=\"translate(67.796875, 88)\"><rect class=\"basic label-container\" style=\"\" x=\"-59.796875\" y=\"-27\" width=\"119.59375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-29.796875, -12)\"><rect></rect><foreignObject width=\"59.59375\" 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>Request</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-flowchart-B-1\" data-look=\"classic\" transform=\"translate(224.15625, 88)\"><polygon points=\"46.5625,0 93.125,-46.5625 46.5625,-93.125 0,-46.5625\" class=\"label-container\" transform=\"translate(-46.0625, 46.5625)\"></polygon><g class=\"label\" style=\"\" transform=\"translate(-19.5625, -12)\"><rect></rect><foreignObject width=\"39.125\" 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>result</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-flowchart-C-3\" data-look=\"classic\" transform=\"translate(1104.46875, 51)\"><rect class=\"basic label-container\" style=\"\" x=\"-60.2421875\" y=\"-27\" width=\"120.484375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-30.2421875, -12)\"><rect></rect><foreignObject width=\"60.484375\" 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>Finished</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-flowchart-D-5\" data-look=\"classic\" transform=\"translate(477.890625, 119)\"><rect class=\"basic label-container\" style=\"\" x=\"-68.25\" y=\"-27\" width=\"136.5\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-38.25, -12)\"><rect></rect><foreignObject width=\"76.5\" 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>Authorized</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-flowchart-E-7\" data-look=\"classic\" transform=\"translate(1104.46875, 172)\"><rect class=\"basic label-container\" style=\"\" x=\"-65.140625\" y=\"-27\" width=\"130.28125\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-35.140625, -12)\"><rect></rect><foreignObject width=\"70.28125\" 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>In a batch</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-flowchart-F-9\" data-look=\"classic\" transform=\"translate(846.953125, 82)\"><rect class=\"basic label-container\" style=\"\" x=\"-89\" y=\"-27\" width=\"178\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-59, -12)\"><rect></rect><foreignObject width=\"118\" 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>Awaiting capture</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-flowchart-G-15\" data-look=\"classic\" transform=\"translate(1363.453125, 172)\"><rect class=\"basic label-container\" style=\"\" x=\"-54.90625\" y=\"-27\" width=\"109.8125\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-24.90625, -12)\"><rect></rect><foreignObject width=\"49.8125\" 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</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-flowchart-H-17\" data-look=\"classic\" transform=\"translate(1600.6328125, 120)\"><rect class=\"basic label-container\" style=\"\" x=\"-64.6953125\" y=\"-27\" width=\"129.390625\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-34.6953125, -12)\"><rect></rect><foreignObject width=\"69.390625\" 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>Refunded</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-flowchart-I-19\" data-look=\"classic\" transform=\"translate(1600.6328125, 224)\"><rect class=\"basic label-container\" style=\"\" x=\"-62.9140625\" y=\"-27\" width=\"125.828125\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-32.9140625, -12)\"><rect></rect><foreignObject width=\"65.828125\" 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>Returned</p></span></div></foreignObject></g></g></g></g></g><defs><filter id=\"diagram-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-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-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-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-905269911b217191565fdbcdf4ce5bb9bb7bc8424dac694efa9565244b3ee7ea-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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" class=\"flowchart\" style=\"max-width: 1673.328125px;\" viewBox=\"0 0 1673.328125 259\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>\n    #diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 foreignObject {\n      overflow: visible;\n    }\n  </style><style>#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .error-icon{fill:#552222;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .error-text{fill:#552222;stroke:#552222;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .edge-thickness-normal{stroke-width:1px;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .edge-thickness-thick{stroke-width:3.5px;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .edge-pattern-solid{stroke-dasharray:0;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .marker{fill:#666;stroke:#666;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .marker.cross{stroke:#666;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 svg{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 p{margin:0;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .label{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;color:#000000;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .cluster-label text{fill:#333;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .cluster-label span{color:#333;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .cluster-label span p{background-color:transparent;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .label text,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 span{fill:#000000;color:#000000;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .node rect,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .node circle,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .node ellipse,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .node polygon,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .node path{fill:#eee;stroke:#999;stroke-width:1px;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .rough-node .label text,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .node .label text,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .image-shape .label,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .icon-shape .label{text-anchor:middle;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .rough-node .label,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .node .label,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .image-shape .label,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .icon-shape .label{text-align:center;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .node.clickable{cursor:pointer;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .root .anchor path{fill:#666!important;stroke-width:0;stroke:#666;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .arrowheadPath{fill:#333333;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .edgePath .path{stroke:#666;stroke-width:1px;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .flowchart-link{stroke:#666;fill:none;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .edgeLabel{background-color:white;text-align:center;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .edgeLabel p{background-color:white;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .edgeLabel rect{opacity:0.5;background-color:white;fill:white;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .labelBkg{background-color:rgba(255, 255, 255, 0.5);}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .cluster rect{fill:hsl(0, 0%, 98.9215686275%);stroke:#707070;stroke-width:1px;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .cluster text{fill:#333;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .cluster span{color:#333;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#000000;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 rect.text{fill:none;stroke-width:0;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .icon-shape,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .image-shape{background-color:white;text-align:center;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .icon-shape p,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .image-shape p{background-color:white;padding:2px;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .icon-shape .label rect,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .image-shape .label rect{opacity:0.5;background-color:white;fill:white;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 .node .neo-node{stroke:#999;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 [data-look=\"neo\"].node rect,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 [data-look=\"neo\"].cluster rect,#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 [data-look=\"neo\"].node polygon{stroke:url(#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 [data-look=\"neo\"].node path{stroke:url(#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-gradient);stroke-width:1px;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 [data-look=\"neo\"].node .neo-line path{stroke:#999;filter:none;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 [data-look=\"neo\"].node circle{stroke:url(#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;}</style><g><marker id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_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=\"M127.594,88L131.76,88C135.927,88,144.26,88,151.927,88C159.594,88,166.594,88,170.094,88L173.594,88\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-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=\"W3sieCI6MTI3LjU5Mzc1LCJ5Ijo4OH0seyJ4IjoxNTIuNTkzNzUsInkiOjg4fSx7IngiOjE3Ny41OTM3NSwieSI6ODh9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_flowchart-v2-pointEnd)\"></path><path d=\"M253.513,70.794L267.957,62.329C282.402,53.863,311.291,36.931,348.687,28.466C386.083,20,431.987,20,483.965,20C535.943,20,593.995,20,655.505,20C717.016,20,781.984,20,837.917,20C893.849,20,940.745,20,972.979,22.332C1005.214,24.663,1022.787,29.326,1031.574,31.658L1040.36,33.989\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-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=\"W3sieCI6MjUzLjUxMzA2MTE4NjU4NDYsInkiOjcwLjc5NDMxMTE4NjU4NDZ9LHsieCI6MzQwLjE3OTY4NzUsInkiOjIwfSx7IngiOjQ3Ny44OTA2MjUsInkiOjIwfSx7IngiOjY1Mi4wNDY4NzUsInkiOjIwfSx7IngiOjg0Ni45NTMxMjUsInkiOjIwfSx7IngiOjk4Ny42NDA2MjUsInkiOjIwfSx7IngiOjEwNDQuMjI2NTYyNSwieSI6MzUuMDE0OTEyMzk4MDIwNn1d\" data-look=\"classic\" marker-end=\"url(#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_flowchart-v2-pointEnd)\"></path><path d=\"M260.901,97.818L274.114,101.348C287.327,104.878,313.753,111.939,337.877,115.47C362,119,383.82,119,394.73,119L405.641,119\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-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=\"W3sieCI6MjYwLjkwMTAxMjYwNjkzOTgsInkiOjk3LjgxNzczNzM5MzA2MDJ9LHsieCI6MzQwLjE3OTY4NzUsInkiOjExOX0seyJ4Ijo0MDkuNjQwNjI1LCJ5IjoxMTl9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_flowchart-v2-pointEnd)\"></path><path d=\"M546.141,133.5L563.792,137.25C581.443,141,616.745,148.5,666.88,152.25C717.016,156,781.984,156,837.917,156C893.849,156,940.745,156,972.147,157.089C1003.549,158.179,1019.457,160.357,1027.411,161.447L1035.365,162.536\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-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=\"W3sieCI6NTQ2LjE0MDYyNSwieSI6MTMzLjQ5OTkxMDI4MTcxNTQyfSx7IngiOjY1Mi4wNDY4NzUsInkiOjE1Nn0seyJ4Ijo4NDYuOTUzMTI1LCJ5IjoxNTZ9LHsieCI6OTg3LjY0MDYyNSwieSI6MTU2fSx7IngiOjEwMzkuMzI4MTI1LCJ5IjoxNjMuMDc4Nzc0OTA5NzIzMTd9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_flowchart-v2-pointEnd)\"></path><path d=\"M546.141,104.5L563.792,100.75C581.443,97,616.745,89.5,651.38,85.75C686.016,82,719.984,82,736.969,82L753.953,82\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-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=\"W3sieCI6NTQ2LjE0MDYyNSwieSI6MTA0LjUwMDA4OTcxODI4NDU4fSx7IngiOjY1Mi4wNDY4NzUsInkiOjgyfSx7IngiOjc1Ny45NTMxMjUsInkiOjgyfV0=\" data-look=\"classic\" marker-end=\"url(#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_flowchart-v2-pointEnd)\"></path><path d=\"M882.789,109L900.264,122.167C917.739,135.333,952.69,161.667,978.119,173.744C1003.549,185.821,1019.457,183.643,1027.411,182.553L1035.365,181.464\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-L_F_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_F_E_0\" data-points=\"W3sieCI6ODgyLjc4ODYyMDI4MzAxODksInkiOjEwOX0seyJ4Ijo5ODcuNjQwNjI1LCJ5IjoxODh9LHsieCI6MTAzOS4zMjgxMjUsInkiOjE4MC45MjEyMjUwOTAyNzY4M31d\" data-look=\"classic\" marker-end=\"url(#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_flowchart-v2-pointEnd)\"></path><path d=\"M935.953,82L944.568,82C953.182,82,970.411,82,987.813,79.668C1005.214,77.337,1022.787,72.674,1031.574,70.342L1040.36,68.011\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-L_F_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_F_C_0\" data-points=\"W3sieCI6OTM1Ljk1MzEyNSwieSI6ODJ9LHsieCI6OTg3LjY0MDYyNSwieSI6ODJ9LHsieCI6MTA0NC4yMjY1NjI1LCJ5Ijo2Ni45ODUwODc2MDE5Nzk0fV0=\" data-look=\"classic\" marker-end=\"url(#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_flowchart-v2-pointEnd)\"></path><path d=\"M1169.609,172L1181.188,172C1192.766,172,1215.922,172,1238.411,172C1260.901,172,1282.724,172,1293.635,172L1304.547,172\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-L_E_G_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_E_G_0\" data-points=\"W3sieCI6MTE2OS42MDkzNzUsInkiOjE3Mn0seyJ4IjoxMjM5LjA3ODEyNSwieSI6MTcyfSx7IngiOjEzMDguNTQ2ODc1LCJ5IjoxNzJ9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_flowchart-v2-pointEnd)\"></path><path d=\"M1418.359,146.888L1428.158,142.407C1437.956,137.925,1457.552,128.963,1476.482,124.481C1495.411,120,1513.674,120,1522.806,120L1531.938,120\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-L_G_H_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_G_H_0\" data-points=\"W3sieCI6MTQxOC4zNTkzNzUsInkiOjE0Ni44ODc5MjY4ODc5MjY4OH0seyJ4IjoxNDc3LjE0ODQzNzUsInkiOjEyMH0seyJ4IjoxNTM1LjkzNzUsInkiOjEyMH1d\" data-look=\"classic\" marker-end=\"url(#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_flowchart-v2-pointEnd)\"></path><path d=\"M1418.359,197.112L1428.158,201.593C1437.956,206.075,1457.552,215.037,1476.779,219.519C1496.005,224,1514.862,224,1524.29,224L1533.719,224\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-L_G_I_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_G_I_0\" data-points=\"W3sieCI6MTQxOC4zNTkzNzUsInkiOjE5Ny4xMTIwNzMxMTIwNzMxMn0seyJ4IjoxNDc3LjE0ODQzNzUsInkiOjIyNH0seyJ4IjoxNTM3LjcxODc1LCJ5IjoyMjR9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7_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(652.046875, 20)\"><g class=\"label\" data-id=\"L_B_C_0\" transform=\"translate(-80.90625, -12)\"><foreignObject width=\"161.8125\" 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>DECLINED or ERROR</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(340.1796875, 119)\"><g class=\"label\" data-id=\"L_B_D_0\" transform=\"translate(-44.4609375, -12)\"><foreignObject width=\"88.921875\" 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>APPROVED</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(846.953125, 156)\"><g class=\"label\" data-id=\"L_D_E_0\" transform=\"translate(-20.4609375, -12)\"><foreignObject width=\"40.921875\" 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>SALE</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(652.046875, 82)\"><g class=\"label\" data-id=\"L_D_F_0\" transform=\"translate(-21.78125, -12)\"><foreignObject width=\"43.5625\" 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>AUTH</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(956.04813, 164.19686)\"><g class=\"label\" data-id=\"L_F_E_0\" transform=\"translate(-26.6875, -12)\"><foreignObject width=\"53.375\" 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>capture</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(987.640625, 82)\"><g class=\"label\" data-id=\"L_F_C_0\" transform=\"translate(-14.6796875, -12)\"><foreignObject width=\"29.359375\" 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>void</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(1239.078125, 172)\"><g class=\"label\" data-id=\"L_E_G_0\" transform=\"translate(-44.46875, -12)\"><foreignObject width=\"88.9375\" 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>batch closes</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(1477.1484375, 120)\"><g class=\"label\" data-id=\"L_G_H_0\" transform=\"translate(-22.6875, -12)\"><foreignObject width=\"45.375\" 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>refund</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(1477.1484375, 224)\"><g class=\"label\" data-id=\"L_G_I_0\" transform=\"translate(-33.7890625, -12)\"><foreignObject width=\"67.578125\" 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>ACH only</p></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-flowchart-A-0\" data-look=\"classic\" transform=\"translate(67.796875, 88)\"><rect class=\"basic label-container\" style=\"\" x=\"-59.796875\" y=\"-27\" width=\"119.59375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-29.796875, -12)\"><rect></rect><foreignObject width=\"59.59375\" 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>Request</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-flowchart-B-1\" data-look=\"classic\" transform=\"translate(224.15625, 88)\"><polygon points=\"46.5625,0 93.125,-46.5625 46.5625,-93.125 0,-46.5625\" class=\"label-container\" transform=\"translate(-46.0625, 46.5625)\"></polygon><g class=\"label\" style=\"\" transform=\"translate(-19.5625, -12)\"><rect></rect><foreignObject width=\"39.125\" 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>result</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-flowchart-C-3\" data-look=\"classic\" transform=\"translate(1104.46875, 51)\"><rect class=\"basic label-container\" style=\"\" x=\"-60.2421875\" y=\"-27\" width=\"120.484375\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-30.2421875, -12)\"><rect></rect><foreignObject width=\"60.484375\" 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>Finished</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-flowchart-D-5\" data-look=\"classic\" transform=\"translate(477.890625, 119)\"><rect class=\"basic label-container\" style=\"\" x=\"-68.25\" y=\"-27\" width=\"136.5\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-38.25, -12)\"><rect></rect><foreignObject width=\"76.5\" 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>Authorized</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-flowchart-E-7\" data-look=\"classic\" transform=\"translate(1104.46875, 172)\"><rect class=\"basic label-container\" style=\"\" x=\"-65.140625\" y=\"-27\" width=\"130.28125\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-35.140625, -12)\"><rect></rect><foreignObject width=\"70.28125\" 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>In a batch</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-flowchart-F-9\" data-look=\"classic\" transform=\"translate(846.953125, 82)\"><rect class=\"basic label-container\" style=\"\" x=\"-89\" y=\"-27\" width=\"178\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-59, -12)\"><rect></rect><foreignObject width=\"118\" 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>Awaiting capture</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-flowchart-G-15\" data-look=\"classic\" transform=\"translate(1363.453125, 172)\"><rect class=\"basic label-container\" style=\"\" x=\"-54.90625\" y=\"-27\" width=\"109.8125\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-24.90625, -12)\"><rect></rect><foreignObject width=\"49.8125\" 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</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-flowchart-H-17\" data-look=\"classic\" transform=\"translate(1600.6328125, 120)\"><rect class=\"basic label-container\" style=\"\" x=\"-64.6953125\" y=\"-27\" width=\"129.390625\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-34.6953125, -12)\"><rect></rect><foreignObject width=\"69.390625\" 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>Refunded</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-flowchart-I-19\" data-look=\"classic\" transform=\"translate(1600.6328125, 224)\"><rect class=\"basic label-container\" style=\"\" x=\"-62.9140625\" y=\"-27\" width=\"125.828125\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-32.9140625, -12)\"><rect></rect><foreignObject width=\"65.828125\" 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>Returned</p></span></div></foreignObject></g></g></g></g></g><defs><filter id=\"diagram-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-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-b6291e38496118a3ffba6b26bdbe5d71986cd4203870f5a2cb171d501fbdcbe7-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 LR\n    A[Request] --> B{result}\n    B -->|DECLINED or ERROR| C[Finished]\n    B -->|APPROVED| D[Authorized]\n    D -->|SALE| E[In a batch]\n    D -->|AUTH| F[Awaiting capture]\n    F -->|capture| E\n    F -->|void| C\n    E -->|batch closes| G[Settled]\n    G -->|refund| H[Refunded]\n    G -->|ACH only| I[Returned]\n"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"the-stages","__idx":1},"children":["The stages"]},{"$$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":{"data-label":"Stage"},"children":["Stage"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"How you know"},"children":["How you know"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What you can do"},"children":["What you can do"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Authorized"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["result"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["APPROVED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Capture it, or void it"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Awaiting capture"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AUTH"]}," and no capture references it"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Capture, partially capture, or void"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["In a batch"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch_id"]}," is not null"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Void it, until the batch closes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Settled"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["is_settled"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Refund it"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Returned"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["is_returned"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Nothing. ACH only"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch_id"]}," is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["null until the transaction reaches a batch"]},", which happens when"," ","the settlement request gets to the processor rather than at the moment you are"," ","approved. A null ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["batch_id"]}," on a fresh sale is normal."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"each-step-is-its-own-transaction","__idx":2},"children":["Each step is its own transaction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This is the part that surprises people coming from other gateways."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A capture does not update the authorization. It creates a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["new"]}," transaction"," ","with its own ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]},", a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," of ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CAPTURE"]},", and a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["reference_transaction_id"]}," ","pointing back at the authorization. The same is true of a cancel and a refund."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["So a single payment can be several records:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"text","header":{"controls":{"copy":{}}},"source":"TRANSACTION-…A   type: AUTH      reference_transaction_id: null\nTRANSACTION-…B   type: CAPTURE   reference_transaction_id: TRANSACTION-…A\nTRANSACTION-…C   type: REFUND    reference_transaction_id: TRANSACTION-…B\n","lang":"text"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When you reconcile, follow ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["reference_transaction_id"]}," rather than expecting one"," ","row per payment."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"three-enums-describe-a-transaction-type","__idx":3},"children":["Three enums describe a transaction type"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["They are not interchangeable, and picking the wrong one is a common source of"," ","400s and empty report results."]},{"$$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":{"data-label":"Where"},"children":["Where"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Values"},"children":["Values"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Creating a transaction"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SALE"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AUTH"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PAYOUT"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["On a response, and on the report filter"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SALE"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AUTH"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INCREMENTAL_AUTH"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PAYOUT"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUND"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCEL"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CAPTURE"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["As the discriminator on a cancel or refund body"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VOID"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUND"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["A voided payment comes back as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCEL"]},", never ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VOID"]},"."]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VOID"]}," is the word you"," ","send; ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CANCEL"]}," is the word you read. Filtering a report on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["VOID"]}," returns a"," ","server error — see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/after-the-payment/find-and-report-on-transactions"},"children":["Find and report on transactions"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INCREMENTAL_AUTH"]}," appears only on responses. There is no way to create one"," ","through the public API."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"approved-is-not-always-final","__idx":4},"children":["Approved is not always final"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A card decline arrives in the response. An ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ACH return does not"]}," — it can show"," ","up days after settlement, when the receiving bank rejects the entry."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["is_returned"]}," carries it, and it is worth reading alongside ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["is_settled"]}," rather"," ","than instead of it, because a returned transaction has usually settled first."," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/payments/accept-an-ach-payment"},"children":["Accept an ACH payment"]}," covers the return"," ","fields and their quirks."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["There are no webhooks, so finding out means polling"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/after-the-payment/find-and-report-on-transactions"},"children":["the reporting endpoints"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"next-steps","__idx":5},"children":["Next steps"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/after-the-payment/cancel-void-and-refund"},"children":["Cancel, void, and refund"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/after-the-payment/batches-and-settlement"},"children":["Batches and settlement"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/docs/after-the-payment/find-and-report-on-transactions"},"children":["Find and report on transactions"]}]}]}]},"headings":[{"value":"Transaction lifecycle","id":"transaction-lifecycle","depth":1},{"value":"The stages","id":"the-stages","depth":2},{"value":"Each step is its own transaction","id":"each-step-is-its-own-transaction","depth":2},{"value":"Three enums describe a transaction type","id":"three-enums-describe-a-transaction-type","depth":2},{"value":"Approved is not always final","id":"approved-is-not-always-final","depth":2},{"value":"Next steps","id":"next-steps","depth":2}],"frontmatter":{"title":"Transaction lifecycle","shortTitle":"Lifecycle","intro":"What happens to a payment after the API returns, from authorization through settlement, and which fields tell you where it is.","type":"overview","seo":{"title":""}},"lastModified":"2026-09-17T09:08:13.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/after-the-payment/transaction-lifecycle","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}