Payment Allocation Audit
Check that payment allocations are arithmetically consistent with the invoices and payments they refer to. An over-allocated invoice and an over-allocated payment are reported separately because they are different events: money applied beyond what was owed, and money applied that was never received. Also reports an unallocated remainder, an allocation to a cancelled invoice, and a cross-currency allocation, which converts at a rate the data does not state.
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x25e8245f07d5e4873987293dad666afbe56a9608",
"amount": "180000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 60
}
],
"resource": {
"url": "https://api.zfinia.com/x402/v1/payment-allocation-audit",
"tags": [
"accounts receivable",
"cash application",
"exact arithmetic",
"finance operations",
"developer tooling"
],
"mimeType": "application/json",
"description": "Check that payment allocations are arithmetically consistent with the invoices and payments they refer to. An over-allocated invoice and an over-allocated payment are reported separately because they are different events: money applied beyond what was owed, and money applied that was never received. Also reports an unallocated remainder, an allocation to a cancelled invoice, and a cross-currency allocation, which converts at a rate the data does not state.",
"serviceName": "Payment Allocation Audit"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"body": {
"invoices": [
{
"id": "INV-1",
"amount": "500.00",
"currency": "AUD"
},
{
"id": "INV-2",
"amount": "250.00",
"currency": "AUD"
},
{
"id": "INV-3",
"amount": "100.00",
"status": "cancelled",
"currency": "USD"
}
],
"payments": [
{
"id": "PAY-1",
"amount": "600.00",
"currency": "AUD"
},
{
"id": "PAY-2",
"amount": "100.00",
"currency": "AUD"
}
],
"allocations": [
{
"amount": "500.01",
"invoice": "INV-1",
"payment": "PAY-1"
},
{
"amount": "50.00",
"invoice": "INV-2",
"payment": "PAY-1"
},
{
"amount": "100.00",
"invoice": "INV-3",
"payment": "PAY-2"
},
{
"amount": "0",
"invoice": "INV-9",
"payment": "PAY-2"
}
]
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"limits": {
"maxEntries": 20000,
"maxAccounts": 5000,
"maxFindings": 500,
"maxLinesPerEntry": 500,
"maxStatementLines": 20000
},
"passed": false,
"complete": true,
"findings": [
{
"code": "CURRENCY_MISMATCH",
"detail": "Allocation 3 applies a AUD payment to a USD invoice. That is a conversion at a rate this data does not state.",
"invoice": "INV-3",
"payment": "PAY-2"
},
{
"code": "ALLOCATION_TO_UNPAYABLE_INVOICE",
"detail": "Allocation 3 applies 100 to invoice INV-3, whose status is cancelled. Money applied to an invoice in that state is in no receivable figure.",
"invoice": "INV-3",
"payment": "PAY-2"
},
{
"code": "ALLOCATION_TO_UNKNOWN_INVOICE",
"detail": "Allocation 4 applies 0 to invoice INV-9, which is not in the set supplied.",
"invoice": "INV-9",
"payment": "PAY-2"
}
],
"invoices": [
{
"amount": "500",
"status": null,
"invoice": "INV-1",
"currency": "AUD",
"allocated": "500.01",
"outstanding": "-0.01"
},
{
"amount": "250",
"status": null,
"invoice": "INV-2",
"currency": "AUD",
"allocated": "50",
"outstanding": "200"
},
{
"amount": "100",
"status": "cancelled",
"invoice": "INV-3",
"currency": "USD",
"allocated": "100",
"outstanding": "0"
}
],
"payments": [
{
"amount": "600",
"payment": "PAY-1",
"currency": "AUD",
"allocated": "550.01",
"unallocated": "49.99"
},
{
"amount": "100",
"payment": "PAY-2",
"currency": "AUD",
"allocated": "100",
"unallocated": "0"
}
],
"reconciled": false,
"request_id": "example-request",
"service_id": "payment_allocation_audit",
"assumptions": [
"Every total is exact, so an over-allocation of one cent is reported as one cent rather than disappearing into a rounding comparison.",
"An over-allocated invoice and an over-allocated payment are separate findings, because they are different events: one is money applied beyond what was owed and the other is money applied that was neve...",
"A cross-currency allocation is reported as a conversion at a rate the data does not state, rather than being converted on an assumption."
],
"limitations": [
"Whether the allocations supplied are arithmetically consistent with the invoices and payments supplied. Not an audit opinion and not accounting advice: whether a payment was genuinely received, or an ...",
"reconciled is true only when every allocation resolved, no total was exceeded, and nothing was left sitting unallocated."
],
"observed_at": "2026-10-02T00:00:00.000Z",
"not_examined": [],
"finding_count": 6,
"invoice_count": 3,
"payment_count": 2,
"total_invoiced": "850",
"total_received": "700",
"service_version": "1.0.0",
"total_allocated": "650.01",
"findings_by_code": {
"CURRENCY_MISMATCH": 1,
"INVOICE_OVER_ALLOCATED": 1,
"ALLOCATION_MOVES_NOTHING": 1,
"PAYMENT_PARTLY_UNALLOCATED": 1,
"ALLOCATION_TO_UNKNOWN_INVOICE": 1,
"ALLOCATION_TO_UNPAYABLE_INVOICE": 1
},
"total_outstanding": "199.99"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"required": [
"invoices",
"payments",
"allocations"
],
"properties": {
"invoices": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"amount"
],
"properties": {
"id": {
"type": "string",
"maxLength": 128
},
"amount": {
"type": [
"string",
"number"
]
},
"status": {
"type": "string",
"maxLength": 32
},
"currency": {
"type": "string",
"maxLength": 8
}
},
"additionalProperties": false
},
"maxItems": 20000,
"minItems": 1
},
"payments": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"amount"
],
"properties": {
"id": {
"type": "string",
"maxLength": 128
},
"amount": {
"type": [
"string",
"number"
]
},
"currency": {
"type": "string",
"maxLength": 8
},
"received_on": {
"type": "string",
"maxLength": 32
}
},
"additionalProperties": false
},
"maxItems": 20000,
"minItems": 1
},
"allocations": {
"type": "array",
"items": {
"type": "object",
"required": [
"payment",
"invoice",
"amount"
],
"properties": {
"amount": {
"type": [
"string",
"number"
]
},
"invoice": {
"type": "string",
"maxLength": 128
},
"payment": {
"type": "string",
"maxLength": 128
}
},
"additionalProperties": false
},
"maxItems": 20000,
"minItems": 1
}
},
"additionalProperties": false
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
},
"x402Version": 2
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.
Pay 0.18 USDC on Base to 0x25e8…a9608. The signed payment is good for 1 minute.
- Paid to
- 0x25e8…a9608
- USD Coin contract
- 0x8335…02913
- Payment window
- 1 minute
- As published
- 180000 smallest units
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x25e8245f07d5e4873987293dad666afbe56a9608",
"amount": "180000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 60
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"invoices": [
{
"id": "INV-1",
"amount": "500.00",
"currency": "AUD"
},
{
"id": "INV-2",
"amount": "250.00",
"currency": "AUD"
},
{
"id": "INV-3",
"amount": "100.00",
"status": "cancelled",
"currency": "USD"
}
],
"payments": [
{
"id": "PAY-1",
"amount": "600.00",
"currency": "AUD"
},
{
"id": "PAY-2",
"amount": "100.00",
"currency": "AUD"
}
],
"allocations": [
{
"amount": "500.01",
"invoice": "INV-1",
"payment": "PAY-1"
},
{
"amount": "50.00",
"invoice": "INV-2",
"payment": "PAY-1"
},
{
"amount": "100.00",
"invoice": "INV-3",
"payment": "PAY-2"
},
{
"amount": "0",
"invoice": "INV-9",
"payment": "PAY-2"
}
]
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"limits": {
"maxEntries": 20000,
"maxAccounts": 5000,
"maxFindings": 500,
"maxLinesPerEntry": 500,
"maxStatementLines": 20000
},
"passed": false,
"complete": true,
"findings": [
{
"code": "CURRENCY_MISMATCH",
"detail": "Allocation 3 applies a AUD payment to a USD invoice. That is a conversion at a rate this data does not state.",
"invoice": "INV-3",
"payment": "PAY-2"
},
{
"code": "ALLOCATION_TO_UNPAYABLE_INVOICE",
"detail": "Allocation 3 applies 100 to invoice INV-3, whose status is cancelled. Money applied to an invoice in that state is in no receivable figure.",
"invoice": "INV-3",
"payment": "PAY-2"
},
{
"code": "ALLOCATION_TO_UNKNOWN_INVOICE",
"detail": "Allocation 4 applies 0 to invoice INV-9, which is not in the set supplied.",
"invoice": "INV-9",
"payment": "PAY-2"
}
],
"invoices": [
{
"amount": "500",
"status": null,
"invoice": "INV-1",
"currency": "AUD",
"allocated": "500.01",
"outstanding": "-0.01"
},
{
"amount": "250",
"status": null,
"invoice": "INV-2",
"currency": "AUD",
"allocated": "50",
"outstanding": "200"
},
{
"amount": "100",
"status": "cancelled",
"invoice": "INV-3",
"currency": "USD",
"allocated": "100",
"outstanding": "0"
}
],
"payments": [
{
"amount": "600",
"payment": "PAY-1",
"currency": "AUD",
"allocated": "550.01",
"unallocated": "49.99"
},
{
"amount": "100",
"payment": "PAY-2",
"currency": "AUD",
"allocated": "100",
"unallocated": "0"
}
],
"reconciled": false,
"request_id": "example-request",
"service_id": "payment_allocation_audit",
"assumptions": [
"Every total is exact, so an over-allocation of one cent is reported as one cent rather than disappearing into a rounding comparison.",
"An over-allocated invoice and an over-allocated payment are separate findings, because they are different events: one is money applied beyond what was owed and the other is money applied that was neve...",
"A cross-currency allocation is reported as a conversion at a rate the data does not state, rather than being converted on an assumption."
],
"limitations": [
"Whether the allocations supplied are arithmetically consistent with the invoices and payments supplied. Not an audit opinion and not accounting advice: whether a payment was genuinely received, or an ...",
"reconciled is true only when every allocation resolved, no total was exceeded, and nothing was left sitting unallocated."
],
"observed_at": "2026-10-02T00:00:00.000Z",
"not_examined": [],
"finding_count": 6,
"invoice_count": 3,
"payment_count": 2,
"total_invoiced": "850",
"total_received": "700",
"service_version": "1.0.0",
"total_allocated": "650.01",
"findings_by_code": {
"CURRENCY_MISMATCH": 1,
"INVOICE_OVER_ALLOCATED": 1,
"ALLOCATION_MOVES_NOTHING": 1,
"PAYMENT_PARTLY_UNALLOCATED": 1,
"ALLOCATION_TO_UNKNOWN_INVOICE": 1,
"ALLOCATION_TO_UNPAYABLE_INVOICE": 1
},
"total_outstanding": "199.99"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"required": [
"invoices",
"payments",
"allocations"
],
"properties": {
"invoices": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"amount"
],
"properties": {
"id": {
"type": "string",
"maxLength": 128
},
"amount": {
"type": [
"string",
"number"
]
},
"status": {
"type": "string",
"maxLength": 32
},
"currency": {
"type": "string",
"maxLength": 8
}
},
"additionalProperties": false
},
"maxItems": 20000,
"minItems": 1
},
"payments": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"amount"
],
"properties": {
"id": {
"type": "string",
"maxLength": 128
},
"amount": {
"type": [
"string",
"number"
]
},
"currency": {
"type": "string",
"maxLength": 8
},
"received_on": {
"type": "string",
"maxLength": 32
}
},
"additionalProperties": false
},
"maxItems": 20000,
"minItems": 1
},
"allocations": {
"type": "array",
"items": {
"type": "object",
"required": [
"payment",
"invoice",
"amount"
],
"properties": {
"amount": {
"type": [
"string",
"number"
]
},
"invoice": {
"type": "string",
"maxLength": 128
},
"payment": {
"type": "string",
"maxLength": 128
}
},
"additionalProperties": false
},
"maxItems": 20000,
"minItems": 1
}
},
"additionalProperties": false
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object"
}
}
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-10-04 08:38Z
- Last indexed by Roundhouse
- 2026-10-05 00:20Z
- Last enriched (probe, favicon, geo)
- 2026-10-05 22:16Z
- x402 version
- 2
- Max timeout
- 60s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
No per-endpoint history for this service yet, so this is payments indexed to its PROVIDER's wallet over 30 days. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service Payment Allocation Audit and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=Payment%20Allocation%20Audit' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://api.zfinia.com/x402/v1/payment-allocation-audit, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.