{"slug":"www-brainiac-software-api-v1-crypto-payments-stablecoin-paym-8bff86","title":"Reconcile caller-supplied stablecoin payment records against invoices","host":"www.brainiac.software","method":"POST","resource":"https://www.brainiac.software/api/v1/crypto-payments/stablecoin-payment-reconcile","category":"market","description":"Reconcile caller-supplied stablecoin payment records against invoices. Compares amounts, token, recipient, and chain ID, and reports underpayments, overpayments, duplicate transaction hashes, and payments that are not linked to an invoice. reconciliation_status is matched, underpaid, overpaid, dupli","price_listed":0.05,"price_asked":0.05,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":301,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"invoices":[{"amount":"1000000","chainId":8453,"decimals":6,"id":"INV-100","recipient":"0x1111111111111111111111111111111111111111","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}],"payments":[{"amount":"600000","chainId":8453,"decimals":6,"id":"p1","invoiceId":"INV-100","recipient":"0x1111111111111111111111111111111111111111","timestamp":"2026-11-05T12:00:00.000Z","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","transactionHash":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"},{"amount":"300000","chainId":8453,"decimals":6,"id":"p2","invoiceId":"INV-100","recipient":"0x1111111111111111111111111111111111111111","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","transactionHash":"0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"},{"amount":"1000000","chainId":8453,"decimals":6,"id":"p3","recipient":"0x2222222222222222222222222222222222222222","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","transactionHash":"0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"}],"rules":{"allowPartial":true,"associateUnlabeledPayments":"none","tolerance":"0"}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"invoices":{"items":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"chainId":{"exclusiveMinimum":0,"maximum":2147483647,"type":"integer"},"decimals":{"maximum":36,"minimum":0,"type":"integer"},"id":{"maxLength":80,"minLength":1,"type":"string"},"recipient":{"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"token":{"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"tolerance":{"type":"string"}},"required":["id","amount","decimals","token","chainId","recipient"],"type":"object"},"maxItems":40,"minItems":1,"type":"array"},"payments":{"items":{"additionalProperties":false,"properties":{"amount":{"type":"string"},"chainId":{"exclusiveMinimum":0,"maximum":2147483647,"type":"integer"},"decimals":{"maximum":36,"minimum":0,"type":"integer"},"id":{"maxLength":80,"minLength":1,"type":"string"},"invoiceId":{"maxLength":80,"minLength":1,"type":"string"},"recipient":{"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"timestamp":{"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?Z$","type":"string"},"token":{"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"transactionHash":{"pattern":"^0x[0-9a-fA-F]{64}$","type":"string"}},"required":["amount","decimals","token","chainId","recipient"],"type":"object"},"maxItems":100,"type":"array"},"rules":{"additionalProperties":false,"properties":{"allowPartial":{"type":"boolean"},"associateUnlabeledPayments":{"enum":["none","single_invoice"],"type":"string"},"tolerance":{"type":"string"}},"type":"object"}},"required":["invoices","payments"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":true,"properties":{"expected_amount":{"type":"string"},"findings":{"items":{"additionalProperties":true,"properties":{"code":{"type":"string"},"detail":{"type":"string"},"invoice_id":{"type":"string"},"severity":{"type":"string"}},"type":"object"},"type":"array"},"invoices":{"items":{"additionalProperties":true,"properties":{"expected_amount":{"type":"string"},"invoice_id":{"type":"string"},"outstanding_amount":{"type":"string"},"received_amount":{"type":"string"},"reconciliation_status":{"type":"string"}},"type":"object"},"type":"array"},"limitations":{"items":{"type":"string"},"type":"array"},"matched_payments":{"items":{"additionalProperties":true,"properties":{"amount":{"type":"string"},"applied_amount":{"type":"string"},"chain_id":{"type":"number"},"decimals":{"type":"number"},"invoice_id":{"type":"string"},"payment_id":{"type":"string"},"recipient":{"type":"string"},"timestamp":{"type":"string"},"token":{"type":"string"},"transaction_hash":{"type":"string"}},"type":"object"},"type":"array"},"outstanding_amount":{"type":"string"},"received_amount":{"type":"string"},"reconciliation_status":{"type":"string"},"unmatched_payments":{"items":{"additionalProperties":true,"properties":{"amount":{"type":"string"},"chain_id":{"type":"number"},"decimals":{"type":"number"},"payment_id":{"type":"string"},"reason":{"type":"string"},"recipient":{"type":"string"},"token":{"type":"string"},"transaction_hash":{"type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":263,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":290,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":319,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":316,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":635,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":301,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":274,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":733,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":677,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":663,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":300,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":502,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":740,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":272,"error":null}],"description_full":"Reconcile caller-supplied stablecoin payment records against invoices. Compares amounts, token, recipient, and chain ID, and reports underpayments, overpayments, duplicate transaction hashes, and payments that are not linked to an invoice. reconciliation_status is matched, underpaid, overpaid, duplicate, mismatched, or incomplete. Amounts are integers in smallest units. No chain is queried, and a transaction hash is not treated as confirmation that funds arrived.","last_updated":"2026-11-14T16:23:29.522Z","schemes":["exact"]}