{"templateId":"markdown","versions":[{"version":"v1","label":"v1","link":"/products/collections/guides/reconcile-transactions-and-settlements","default":true,"active":true,"folderId":"3fa9ff87"},{"version":"v0","label":"v0","link":"/products/collections/v0/guides/reconcile-transactions-and-settlements","default":false,"active":false,"folderId":"3fa9ff87"}],"sharedDataIds":{"sidebar":"sidebar-products/collections/@v0/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Reconcile transactions and settlements","description":"User guides, API reference, and support resources.","siteUrl":"https://docs.ripple.com","lang":"en-US"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"reconcile-transactions-and-settlements","__idx":0},"children":["Reconcile transactions and settlements"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Reconcile incoming payments by checking their receipt status, their settlement links, and the"," ","status of each payout. Keep two views: the payments in the period you are closing, and the"," ","complete payouts that include those payments. A payout can span periods and beneficiary accounts."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In this guide, a ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["payment"]}," is money that arrives through a channel, and the API records each one"," ","as a ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["transaction"]},". A ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["payout"]}," is money that Ripple sends to your bank, and the API records it as"," ","a ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["settlement"]},". The ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["receipt window"]}," is the period whose payments you are closing, and the ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["payout"," ","window"]}," is the period whose settlements you are reviewing."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Not every payout links to the payments it includes. A ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["balance-funded"]}," payout draws on the"," ","account balance as a whole, so it can have no links to individual payments. Reconcile those with"," ","balance records and the supporting records Ripple provides, rather than treating a missing"," ","settlement link as proof that no payout occurred."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Every call in this guide is a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET"]},", so a reconciliation run creates nothing and is safe to"," ","repeat."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"before-you-start","__idx":1},"children":["Before you start"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You need:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["An access token. ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/guides/authentication"},"children":["Authentication"]}," describes how to get one."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_id"]}," of each account you reconcile."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A payout record to match payouts against. In production, use your bank statement or another"," ","record of the money arriving. UAT simulates payouts, so no real bank credit arrives."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can run the API steps without the following, but you need them before you close a period."," ","Agree on the following with Ripple:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Supporting records:"]}," Some payouts do not link to the payments they include, so the API"," ","alone cannot account for every part of a payout. Ask Ripple which report or assisted"," ","reconciliation process covers your account, how you get it, and what period it covers."," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#obtain-supporting-records"},"children":["Obtain supporting records"]}," lists what to request."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Payout processing time:"]}," Agree how long a payout normally takes for your rail and setup,"," ","so you can tell when a payout is overdue."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["UAT test evidence:"]}," In UAT, agree which record shows that a simulated payout completed."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This guide assumes you know what ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/concepts/transactions"},"children":["transactions"]},","," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/concepts/settlements"},"children":["settlements"]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/concepts/channels"},"children":["channels"]},", and"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/concepts/accounts"},"children":["accounts"]}," are."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-the-objects-connect","__idx":2},"children":["How the objects connect"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Reconciliation spans three objects joined by two identifiers on the transaction:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/reconciliation-objects.6a184557aa4b5ba03c84eb022399ca0558470337455610076dc177fc494d1e48.ad994c87.svg","alt":"Object diagram: a transaction's parent_id points to the id of the channel the payment arrived through, and its settlement_id points to the id of the settlement that pays it out. Each box lists the fields this guide uses."},"children":[]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.settlement_id"]}," joins to the payout side. Ripple sets it at the time it includes the"," ","transaction in a settlement, which happens while that settlement is still ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PENDING"]},". So a populated"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["settlement_id"]}," does not, by itself, mean the payout has happened."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transaction.parent_id"]}," identifies the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/concepts/channels"},"children":["channel"]}," the payment"," ","arrived through."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Ripple pays a settlement from a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CUSTOMER"]},"-owned account. For payments through a beneficiary's"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PARTNER"]},"-owned account, this differs from the transaction's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_id"]},". Automatic balance"," ","movements or transfers move the funds to the customer account before payout."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["converted"]}," payment arrives in a different currency from the account it credits, such as"," ","USDT into a USD account, so Ripple converts it. Depending on your configuration, Ripple pays"," ","out each converted payment on its own, as an ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["instant"]}," payout. Otherwise, it bundles your"," ","unsettled converted payments in one currency when you request a settlement. Bundles have size"," ","and funding limits, so one request need not include every unsettled payment. Ripple never"," ","bundles an instant payout: each one carries exactly one converted payment."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The five steps below follow that shape. Read the transactions and group them by settlement."," ","Classify the ones without a settlement link, and verify each linked settlement. Then find the"," ","payouts that no transaction links to. ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#a-daily-reconciliation-run"},"children":["A daily reconciliation run"]}," puts the steps"," ","together and saves what is still open for the next run."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/reconciliation-flow.5fe08655dee9f832a07e775c9922eafea631df67a613beb4361ef89c0b12655f.ad994c87.svg","alt":"Reconciliation flowchart: fetch every page in the period and refresh prior open items; classify unlinked payments, check linked settlement status, then verify whole-payout membership and external references separately"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-1-list-the-transactions-in-your-window","__idx":3},"children":["Step 1: List the transactions in your window"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Pass the start and end of the period you are closing as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["since"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["until"]},". Both are"," ","inclusive and compare against the transaction's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["date_created"]},":"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"GET /v1/collections/transactions?since=2026-08-10T00:00:00Z&until=2026-08-11T00:00:00Z&page=0&size=100\nAuthorization: Bearer {access_token}\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To reconcile a single account, add ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_id"]},". A ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["since"]}," later than ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["until"]}," returns ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["400"]}," ","with the code ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["INVALID_PARAMETER"]},", rather than an empty page."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A trimmed response:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"content\": [\n    {\n      \"id\": \"f30ab512-8c74-4e69-b1d2-05a8e6c37f90\",\n      \"parent_id\": \"c91b5d02-3e77-4a18-9f6c-2d4b8e0a1573\",\n      \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n      \"settlement_id\": null,\n      \"payment_amount\": { \"value\": \"300.00\", \"asset\": \"USDC\" },\n      \"status\": \"HOLD_KYT\",\n      \"reason\": null,\n      \"date_created\": \"2026-08-10T18:20:11.006Z\"\n    },\n    {\n      \"id\": \"2b6e94c7-1d5a-4c83-9e07-af2b3c4d5e61\",\n      \"parent_id\": \"7f4c2e18-6a9b-4d30-8c51-b2e9f70a3d44\",\n      \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n      \"settlement_id\": null,\n      \"payment_amount\": { \"value\": \"50.00\", \"asset\": \"USDC\" },\n      \"account_equivalent\": {\n        \"gross_amount\": { \"value\": \"50.00\", \"currency\": \"USD\" },\n        \"fee_amount\": { \"value\": \"0.50\", \"currency\": \"USD\" },\n        \"net_amount\": { \"value\": \"49.50\", \"currency\": \"USD\" }\n      },\n      \"status\": \"COMPLETED\",\n      \"reason\": null,\n      \"date_created\": \"2026-08-10T15:38:05.442Z\"\n    },\n    {\n      \"id\": \"9c1d77e2-4f08-42b1-8a35-6be0c1d95f74\",\n      \"parent_id\": \"e8d43598-107d-4694-9fb2-934e7484c3d4\",\n      \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n      \"settlement_id\": \"63dd59dd-88be-41a2-a246-2f6724209422\",\n      \"payment_amount\": { \"value\": \"150.00\", \"asset\": \"USDT\" },\n      \"account_equivalent\": {\n        \"gross_amount\": { \"value\": \"150.00\", \"currency\": \"USD\" },\n        \"fee_amount\": { \"value\": \"1.50\", \"currency\": \"USD\" },\n        \"net_amount\": { \"value\": \"148.50\", \"currency\": \"USD\" }\n      },\n      \"status\": \"COMPLETED\",\n      \"reason\": null,\n      \"date_created\": \"2026-08-10T11:02:47.903Z\"\n    },\n    {\n      \"id\": \"487ba009-56cf-4ad9-8b5c-045e27893e00\",\n      \"parent_id\": \"22a0337b-8e62-449c-91ca-a0f830c55733\",\n      \"account_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n      \"settlement_id\": \"63dd59dd-88be-41a2-a246-2f6724209422\",\n      \"payment_amount\": { \"value\": \"50.00\", \"asset\": \"USDT\" },\n      \"account_equivalent\": {\n        \"gross_amount\": { \"value\": \"50.00\", \"currency\": \"USD\" },\n        \"fee_amount\": { \"value\": \"0.50\", \"currency\": \"USD\" },\n        \"net_amount\": { \"value\": \"49.50\", \"currency\": \"USD\" }\n      },\n      \"status\": \"COMPLETED\",\n      \"reason\": null,\n      \"date_created\": \"2026-08-10T09:14:22.117Z\"\n    }\n  ],\n  \"page\": { \"page\": 0, \"size\": 100, \"total_elements\": 4, \"total_pages\": 1 }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Capture ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["settlement_id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payment_amount"]},", and"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_equivalent"]}," when present. The API omits ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_equivalent"]}," while a cross-currency"," ","payment awaits its deferred conversion, including during a compliance hold. Keep the received"," ","amount and status; do not invent an account-currency amount or treat it as zero."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"read-every-page","__idx":4},"children":["Read every page"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["page"]}," is zero-indexed and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["size"]}," defaults to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["10"]},". A run that reads only the first page"," ","drops transactions without reporting an error, which produces a reconciliation that balances"," ","against incomplete data. Set ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["size"]}," to a larger value, such as 100, then increase ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["page"]}," by 1 until"," ","you reach the last page:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"page = 0\nrepeat\n  GET /v1/collections/transactions?since={start}&until={end}&page={page}&size=100\n  append response.content to transactions\n  page = page + 1\nuntil page >= integer(response.page.total_pages)\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Parse the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["page"]}," fields as integers before you compare them. Responses can send ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["page"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["size"]},","," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["total_elements"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["total_pages"]}," as strings, such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"2\""]},", and comparing a number with a"," ","string gives the wrong answer in most languages."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Keep the window fixed for the whole run. A payment that arrives while you page through a"," ","window that ends now can shift the pages and repeat or skip a transaction."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Also re-fetch each ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#track-open-items"},"children":["open transaction"]}," saved from earlier runs with"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v1/collections/transactions/{transaction_id}"]},". The date filters select creation time, not"," ","the time a status or settlement link changed. Combine those refreshed records with the current"," ","window and deduplicate by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]},". Keep each refreshed transaction's original receipt period so"," ","resolving an old item does not count it as a new receipt."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Because both bounds are inclusive, a transaction created at the exact instant where one window"," ","ends and the next begins appears in both. Assign it to the later period, the one that starts at"," ","that instant."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-2-group-the-transactions-by-settlement","__idx":5},"children":["Step 2: Group the transactions by settlement"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Partition the results on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["settlement_id"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["In a settlement:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["settlement_id"]}," holds an identifier. Group these by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["settlement_id"]},"."," ","Several transactions share one identifier when Ripple bundled them into the same payout. Each"," ","group becomes one verification in ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#step-4-verify-each-settlement"},"children":["Step 4"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["No settlement link:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["settlement_id"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]},". The transaction may be waiting for a"," ","settlement, its status may prevent one, or a payout may have used balance without linking the"," ","payment. ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#step-3-classify-transactions-without-a-settlement-link"},"children":["Step 3"]}," sorts out the"," ","follow-up."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the response above, transactions ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["487ba009"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["9c1d77e2"]}," group under settlement"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["63dd59dd-88be-41a2-a246-2f6724209422"]},". Transactions ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2b6e94c7"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["f30ab512"]}," have no"," ","settlement links."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"A period group is only part of a payout"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use the window to classify receipts. Use the full settlement membership to check payout totals."," ","Do not compare a window or single-account subtotal with the entire settlement amount. Step 4"," ","shows how to expand the lookup beyond the original window and account."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-3-classify-transactions-without-a-settlement-link","__idx":6},"children":["Step 3: Classify transactions without a settlement link"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A transaction without a settlement link needs a documented disposition before you close the"," ","period: a bucket from ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#working-buckets"},"children":["Working buckets"]}," and, for an exception, the follow-up"," ","you took."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"transaction-statuses","__idx":7},"children":["Transaction statuses"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The nullable ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["reason"]}," field carries a description of the current status when one applies."]},{"$$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":"Status"},"children":["Status"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Meaning"},"children":["Meaning"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Reconciliation action"},"children":["Reconciliation action"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PROCESSING"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Received and waiting for compliance checks to release it"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Carry forward and check on the next run."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPLETED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Released and credited to the account"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["With a settlement link, verify the settlement in Step 4. Without one, place it in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Pending"]}," if converted or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Balance reconciliation required"]}," if same currency."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["HOLD_KYT"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Held for Know Your Transaction checks"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Keep as an open exception and re-fetch until compliance releases or rejects the payment."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FAILED_KYT"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Failed Know Your Transaction checks"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Record an exception; read ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["reason"]}," and follow up on any freeze or refund with Ripple."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUNDED_KYT"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Refunded following Know Your Transaction checks"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Keep the receipt and match it to the refund record."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FAILED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Failed processing for another reason"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Never settles; investigate the source."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The customer API suppresses payments classified as dust (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["IGNORED"]},"), so they do not appear in"," ","this transaction-based reconciliation."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Channels have no requested amount, so a payment through a channel is never underpaid or"," ","overpaid. Record the amount you received."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"same-currency-payments","__idx":8},"children":["Same-currency payments"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When a payment arrives in the same currency as the account it credits, such as USDC into a USDC"," ","account, Ripple credits it without a conversion. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_equivalent"]}," then mirrors"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payment_amount"]}," with a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fee_amount"]}," of zero. These payments do not create conversion trades,"," ","so a later balance-funded payout does not set their ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["settlement_id"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To distinguish a same-currency payment from a converted payment, compare ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payment_amount.asset"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_equivalent.net_amount.currency"]},"."," ","The payment is same-currency when they match, as in this transaction:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"5d8e0f3a-7b21-4c69-a4d2-1e9c6b8f0a37\",\n  \"account_id\": \"b2c3d4e5-f6a7-8901-bcde-f12345678901\",\n  \"settlement_id\": null,\n  \"payment_amount\": { \"value\": \"75.00\", \"asset\": \"USDC\" },\n  \"account_equivalent\": {\n    \"gross_amount\": { \"value\": \"75.00\", \"currency\": \"USDC\" },\n    \"fee_amount\": { \"value\": \"0.00\", \"currency\": \"USDC\" },\n    \"net_amount\": { \"value\": \"75.00\", \"currency\": \"USDC\" }\n  },\n  \"status\": \"COMPLETED\",\n  \"reason\": null,\n  \"date_created\": \"2026-08-10T13:45:09.281Z\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A converted payment has a different currency on each side, such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["USDT"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["USD"]}," in Step 1."," ","While a converted payment waits for its conversion, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_equivalent"]}," is absent, so treat a"," ","missing ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_equivalent"]}," as converted."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPLETED"]}," confirms receipt and release, not payout. Reconcile opening and closing balances"," ","with payments received, transfers, payouts, refunds, and movements between available and pending"," ","balances. Use the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#obtain-supporting-records"},"children":["supporting-record procedure"]}," to explain those"," ","movements. A current balance alone cannot prove that a payout included a particular payment."," ","Keep any unexplained difference open until the supporting records resolve it."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"working-buckets","__idx":9},"children":["Working buckets"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Four buckets cover every transaction in the window. This step assigns the transactions without a"," ","settlement link. ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#step-4-verify-each-settlement"},"children":["Step 4"]}," assigns the linked ones after it reads"," ","each settlement's status. The four buckets are as follows:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cleared:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPLETED"]}," transactions whose ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["settlement_id"]}," points at a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPLETED"]}," ","settlement."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Pending:"]}," transactions with status ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PROCESSING"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPLETED"]}," converted transactions with no"," ","settlement link, as well as transactions whose settlement is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PENDING"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PROCESSING"]},". Refresh these"," ","on the next run; investigate links that remain missing after an expected payout."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Balance reconciliation required:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPLETED"]}," same-currency transactions. Their receipt is"," ","complete, but a transaction-to-payout link is unavailable."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Exceptions:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["HOLD_KYT"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FAILED_KYT"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUNDED_KYT"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FAILED"]}," transactions, plus failed,"," ","overdue, or unresolved settlements. Retain the records and follow up on open exceptions."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cleared"]}," means the linked payout completed. It does not close that payout's amount and"," ","reference checks in Step 4, which you track as separate ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#track-open-items"},"children":["open items"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-4-verify-each-settlement","__idx":10},"children":["Step 4: Verify each settlement"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For each distinct ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["settlement_id"]}," from Step 2, fetch the settlement:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"GET /v1/collections/settlements/63dd59dd-88be-41a2-a246-2f6724209422\nAuthorization: Bearer {access_token}\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"63dd59dd-88be-41a2-a246-2f6724209422\",\n  \"source_account_id\": \"c3d4e5f6-a7b8-9012-cdef-234567890123\",\n  \"currency\": \"USD\",\n  \"gross_amount\": \"200.00\",\n  \"settlement_amount\": \"198.00\",\n  \"fees\": { \"transaction_fees\": \"2.00\" },\n  \"data\": {\n    \"transaction_reference_numbers\": [\"ABC12345\"],\n    \"payout_destination\": {\n      \"type\": \"FEDWIRE\",\n      \"account_name\": \"Finance Corp\",\n      \"account_number\": \"****7890\",\n      \"routing_number\": \"021000021\",\n      \"institution_name\": \"Bank of America\"\n    }\n  },\n  \"status\": \"COMPLETED\",\n  \"created_at\": \"2026-08-11T02:00:00.000Z\",\n  \"updated_at\": \"2026-08-11T02:04:18.220Z\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Check four things:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Status."]}," In production, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPLETED"]}," means the payout left Ripple; in UAT it records"," ","simulated completion. Ripple links transactions before payout completes, which is why this"," ","check reads the settlement status directly.",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PENDING"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PROCESSING"]},": keep the payout open. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PROCESSING"]}," can also mean that Ripple"," ","must investigate the payout outcome while funds remain reserved. Escalate"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#follow-up-on-an-overdue-payout"},"children":["overdue payouts"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FAILED"]},": record an exception and investigate it."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["404"]},": follow ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#refresh-a-missing-settlement"},"children":["Refresh a missing settlement"]}," rather than"," ","assuming the payout failed."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Currency."]}," The settlement ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["currency"]}," is a single string covering the whole payout."," ","Before comparing any amounts, confirm the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["currency"]}," matches ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_equivalent.net_amount.currency"]}," on the grouped transactions."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Amounts."]}," Expand to the full payout membership before checking totals, as described below."," ","Keep the original window or beneficiary subtotal separately for period reporting."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["External reference."]}," Record ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.transaction_reference_numbers"]}," to match the payout"," ","against your bank statement in production, or the agreed test evidence in UAT. A ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPLETED"]}," ","settlement can omit these references. Keep a missing or unmatched reference as an open"," ","verification task, and contact Ripple with the settlement ID, currency, amount, and"," ","observation time to request the payout evidence. Completion alone does not close that task."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Note that ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.payout_destination"]}," shows the resolved destination, not a historical record. A settlement"," ","can use the default payout destination configured for your currency. In that case the API can"," ","resolve the destination again on each read, so a configuration change can alter what an older"," ","settlement displays. Use payout references and external records as the historical evidence."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"follow-up-on-an-overdue-payout","__idx":11},"children":["Follow up on an overdue payout"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When a settlement remains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PENDING"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PROCESSING"]}," beyond the expected time agreed with Ripple,"," ","contact Ripple with its ID, source account ID, currency, amount, current status, and the times"," ","you observed that status. Retain the responses with the open exception."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The API does not distinguish ordinary processing from every outcome that needs investigation."," ","For example, a cancellation in the payout system can leave the settlement ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PROCESSING"]}," and the"," ","funds reserved until Ripple reconciles whether the payout occurred. More polling cannot resolve"," ","that case by itself. Do not create a replacement payout solely because time elapsed."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"refresh-a-missing-settlement","__idx":12},"children":["Refresh a missing settlement"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ripple can cancel a settlement before the payout system books it. Cancelling at that stage"," ","deletes the settlement and removes its transaction links. A ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["404"]}," alone does not establish that"," ","this happened: the lookup also returns ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["404"]}," for a settlement that belongs to another customer or"," ","that the v1 API does not serve. Re-fetch each affected transaction:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If its ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["settlement_id"]}," is now null, reclassify it using its current status."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If it has a different ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["settlement_id"]},", fetch that settlement and verify it."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If it still refers to the missing settlement, confirm that your access token belongs to the"," ","customer that owns the transaction, and keep an unresolved exception for investigation. Do not"," ","mark it paid or automatically retry a payout."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"check-the-complete-payout-amount","__idx":13},"children":["Check the complete payout amount"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["List every transaction linked to the settlement, reading all pages. Omit the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["since"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["until"]},","," ","and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_id"]}," filters from Step 1:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"GET /v1/collections/transactions?settlement_id=63dd59dd-88be-41a2-a246-2f6724209422&page=0&size=100\nAuthorization: Bearer {access_token}\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This can return payments from other days and beneficiary accounts. For a payout consisting"," ","entirely of these linked conversion trades, sum the gross, fee, and net values in the settlement"," ","currency. In the example, the complete membership is the two payments: 49.50 plus 148.50 is"," ","198.00 net, with 200.00 gross and 2.00 in fees. If your period contains only the 49.50 payment,"," ","49.50 is the period subtotal, not an expected total for the 198.00 payout."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Not every payout consists entirely of linked payments. A bundle can also include conversions of"," ","funds transferred between accounts (",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["account-transfer trades"]},"), which have no payment"," ","transaction to link. A balance-funded payout can have no transaction links at all. Use"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#obtain-supporting-records"},"children":["transfer and supporting records"]}," to explain those components;"," ","fetching every linked transaction does not prove membership is complete."," ","Keep an unexplained residual open rather than forcing equality or allocating it to one beneficiary."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For fiat payouts, the API rounds settlement gross and fees to the currency's precision using"," ","half-up rounding and derives the net from them. Apply that aggregate rounding when comparing with"," ","transaction amounts; keep any rounding difference distinct from missing payout components."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Compare decimals, not floats"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The two sides shape amounts differently. A settlement carries plain values: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["gross_amount"]},","," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["settlement_amount"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fees.transaction_fees"]},". A transaction wraps each amount in an object:"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payment_amount"]}," has a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["value"]}," and an ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["asset"]},", and each ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_equivalent"]}," amount has a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["value"]}," ","and a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["currency"]},". Both sides arrive as strings; parse them as decimals. Floating-point arithmetic"," ","introduces rounding differences that can read as genuine reconciliation breaks."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fees.transaction_fees"]}," is one aggregate for the settlement. Linked transactions expose their"," ","conversion fees at ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_equivalent.fee_amount"]},"; any unlinked transfer components also need"," ","their own fee records before you can explain the aggregate."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-5-find-payouts-without-receipt-links","__idx":14},"children":["Step 5: Find payouts without receipt links"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Transaction links alone cannot find balance-funded payouts. List settlements for the payout"," ","window, reading every page. As with transactions, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["since"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["until"]}," are inclusive and compare"," ","against the settlement's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["created_at"]},":"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"GET /v1/collections/settlements?since=2026-08-11T00:00:00Z&until=2026-08-12T00:00:00Z&page=0&size=100\nAuthorization: Bearer {access_token}\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Keep this payout window separate from the receipt window: the example receipts arrived on"," ","10 August, but the payout's creation date is 11 August. Refresh previously open settlements by ID"," ","as well, because completion can happen after creation. Remove duplicate settlements found through"," ","both paths, then apply the same status, amount, and external-reference checks from"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#step-4-verify-each-settlement"},"children":["Step 4"]},". Reconcile any payout without payment links using the"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#obtain-supporting-records"},"children":["supporting-record procedure"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"obtain-supporting-records","__idx":15},"children":["Obtain supporting records"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For an unlinked payout or unexplained residual, use the report or assisted reconciliation process"," ","you arranged with Ripple before starting. Request evidence for the specific accounts and period:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Supply your customer identifier, account IDs, currencies, receipt and payout windows with time"," ","zones, and the transaction, transfer, and settlement IDs you already have. Include the observed"," ","difference and the times you fetched the API records."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Request opening and closing available, pending-inbound, and pending-outbound balances, plus"," ","the intervening payments received, conversions, transfers, payouts, refunds, fees, and reversals. Ask for"," ","each movement's amount, currency, effective time, affected accounts, and related resource IDs."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["For a payout total, request the evidence associating each unlinked component and its fees with"," ","that settlement. A matching amount or nearby timestamp is not a sufficient join key."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can retrieve known accounts and transfers while Ripple resolves that request:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"GET /v1/collections/accounts/{account_id}\nAuthorization: Bearer {access_token}\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"GET /v1/collections/transfers/{transfer_id}\nAuthorization: Bearer {access_token}\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To discover transfers, ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/api/collections/transfers/listtransfersv1"},"children":["list transfers"]}," ","with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["source_account_id"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["destination_account_id"]},", reading every page. Query both directions"," ","for each account and deduplicate by transfer ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]},". Refresh previously open transfers by ID."," ","Keep the returned ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["source"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["destination"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fees"]},", and status. Transfer responses do not contain a"," ","settlement ID, and current account balances do not provide historical movement records."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Match the supplied evidence to API records by their resource IDs, then reconcile each account"," ","and currency separately. A reservation moves available funds into pending outbound; it is not"," ","another payout to subtract when completion removes those pending funds. For a payout total,"," ","include only components whose settlement membership the evidence establishes."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For example, suppose a different settlement pays 297.00 USD and all its linked receipts explain"," ","198.00 USD net. Keep the 99.00 USD residual open. If the supporting evidence identifies a"," ","completed transfer as part of that settlement, with 100.00 USD gross and a 1.00 USD fee, add that"," ","component once: 198.00 + 99.00 = 297.00 USD net. Retain the transfer ID and the evidence linking"," ","it to the settlement. If the evidence supplies only a 99.00 USD balance movement without that"," ","association, the payout membership remains unresolved."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Until the records explain the difference, retain an open balance or amount verification task."," ","The API-only portion of this guide does not complete that reconciliation."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"a-daily-reconciliation-run","__idx":16},"children":["A daily reconciliation run"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The whole pattern, end to end:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"1. Fetch the receipt window's transactions, following pagination:\n     page = 0\n     repeat\n       GET /v1/collections/transactions?since={start}&until={end}&page={page}&size=100\n       append response.content\n       page = page + 1\n     until page >= integer(response.page.total_pages)\n   For a single account, add account_id={account_id} to the request.\n   Assign a transaction created exactly at {end} to the next period.\n\n2. Refresh open transactions from earlier runs by id.\n   Combine them with the current window; deduplicate by id.\n   Partition:\n     linked   = transactions where settlement_id is not null\n     unlinked = transactions where settlement_id is null\n\n3. Bucket each unlinked transaction:\n     PROCESSING                        -> Pending\n     COMPLETED, converted              -> Pending\n     COMPLETED, same currency          -> Balance reconciliation required\n     HOLD_KYT                          -> Exceptions; refresh and follow up\n     FAILED_KYT, FAILED, REFUNDED_KYT  -> Exceptions; record the disposition\n\n4. Group linked transactions by settlement_id, then for each group:\n     GET /v1/collections/settlements/{settlement_id}\n     404                  -> re-fetch the transactions; resolve null, changed, or unresolved links\n     PENDING / PROCESSING -> Pending; escalate if overdue\n     FAILED               -> Exceptions\n     COMPLETED            -> Cleared, then verify the payout:\n       require currency == the group's net_amount currency\n       fetch all pages by settlement_id, without since, until, or account_id\n       check complete payout totals, including unlinked components and rounding\n       keep the period or account subtotal separately\n       match data.transaction_reference_numbers to external payout records\n       keep missing or unmatched references open; request evidence from Ripple\n\n5. List all pages of settlements for the payout window. Refresh open settlements\n   from earlier runs by id. Deduplicate, then verify any payout not found in step 4.\n   Obtain supporting records for unlinked components and unexplained differences.\n\n6. Save the open items for the next run.\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Every request is a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET"]},", so you can safely re-run a reconciliation after a failure. Statuses"," ","and settlement links can change between reads: save the observation time and refresh open items"," ","instead of assuming the same result. For the write side of the API, see"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/guides/idempotency"},"children":["Retry requests safely with idempotency keys"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"track-open-items","__idx":17},"children":["Track open items"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Save these items at the end of each run, with the time you observed each one, and refresh them at"," ","the start of the next:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Transactions in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Pending"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Exceptions"]},", with the receipt period each was first counted"," ","in."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Transactions in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Balance reconciliation required"]},", until a balance reconciliation for their"," ","period explains them."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Settlements that are ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PENDING"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PROCESSING"]},", or that returned ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["404"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Checks still open on a completed settlement: an amount residual, a currency mismatch, or a"," ","missing or unmatched reference."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["An item closes when one of these is true:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A transaction reaches ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cleared"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["An exception has a recorded disposition, and any follow-up with Ripple is complete."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A balance reconciliation or the supporting records explain the item."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A settlement is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPLETED"]}," and its amount and reference checks pass."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"reconcile-a-single-account","__idx":18},"children":["Reconcile a single account"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To reconcile one beneficiary independently, such as a marketplace operator settling per"," ","merchant, run the same steps with that account's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["account_id"]}," on the Step 1 request."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Follow ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["settlement_id"]},", not ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["source_account_id"]},"."]}," A beneficiary's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PARTNER"]}," account is not the"," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CUSTOMER"]}," account that funds the payout. Follow the transaction links as in"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#step-2-group-the-transactions-by-settlement"},"children":["Step 2"]},", and report this beneficiary's subtotal."," ","The payout may include other beneficiaries; remove the account filter for whole-payout checks."," ","Keep separate balance reconciliation records for unlinked payouts, with the supporting records"," ","Ripple provides."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"reference","__idx":19},"children":["Reference"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This table lists every API operation this guide uses. Each name links to the operation's page in"," ","the API reference, which gives its full request and response schema. The ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use"]}," column says"," ","which step calls the operation and why. ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Supporting records"]}," means the"," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#obtain-supporting-records"},"children":["Obtain supporting records"]}," procedure."]},{"$$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":"Operation"},"children":["Operation"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Use"},"children":["Use"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/api/collections/transactions/listtransactionsv1"},"children":["List transactions"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Step 1, the reconciliation window"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/api/collections/transactions/gettransactionbyidv1"},"children":["Get transaction"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Inspect one transaction"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/api/collections/collection-channels/getchannelbyidv1"},"children":["Get channel"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["See which channel a payment arrived through"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/api/collections/settlements/listsettlementsv1"},"children":["List settlements"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Step 5, find payouts in the payout window"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/api/collections/settlements/getsettlementbyidv1"},"children":["Get settlement"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Step 4, verify one payout"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/api/collections/accounts/getaccountbyidv1"},"children":["Get account"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Supporting records, observe current balances"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/api/collections/transfers/listtransfersv1"},"children":["List transfers"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Supporting records, discover account movements"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/collections/api/collections/transfers/gettransferbyidv1"},"children":["Get transfer"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Supporting records, refresh a known transfer"]}]}]}]}]}]},"headings":[{"value":"Reconcile transactions and settlements","id":"reconcile-transactions-and-settlements","depth":1},{"value":"Before you start","id":"before-you-start","depth":2},{"value":"How the objects connect","id":"how-the-objects-connect","depth":2},{"value":"Step 1: List the transactions in your window","id":"step-1-list-the-transactions-in-your-window","depth":2},{"value":"Read every page","id":"read-every-page","depth":3},{"value":"Step 2: Group the transactions by settlement","id":"step-2-group-the-transactions-by-settlement","depth":2},{"value":"Step 3: Classify transactions without a settlement link","id":"step-3-classify-transactions-without-a-settlement-link","depth":2},{"value":"Transaction statuses","id":"transaction-statuses","depth":3},{"value":"Same-currency payments","id":"same-currency-payments","depth":3},{"value":"Working buckets","id":"working-buckets","depth":3},{"value":"Step 4: Verify each settlement","id":"step-4-verify-each-settlement","depth":2},{"value":"Follow up on an overdue payout","id":"follow-up-on-an-overdue-payout","depth":3},{"value":"Refresh a missing settlement","id":"refresh-a-missing-settlement","depth":3},{"value":"Check the complete payout amount","id":"check-the-complete-payout-amount","depth":3},{"value":"Step 5: Find payouts without receipt links","id":"step-5-find-payouts-without-receipt-links","depth":2},{"value":"Obtain supporting records","id":"obtain-supporting-records","depth":2},{"value":"A daily reconciliation run","id":"a-daily-reconciliation-run","depth":2},{"value":"Track open items","id":"track-open-items","depth":3},{"value":"Reconcile a single account","id":"reconcile-a-single-account","depth":2},{"value":"Reference","id":"reference","depth":2}],"frontmatter":{"tocMaxDepth":3,"seo":{"title":"Reconcile transactions and settlements"}},"lastModified":"2026-11-24T20:02:57.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/collections/guides/reconcile-transactions-and-settlements","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}