Hash-Based Payment Matching
Pronunciation: HASH BAYST PAY-muhnt MACH-ing
Also known as: Transaction-Hash Payment Matching
Definition
Hash-Based Payment Matching is a matching method that uses a blockchain transaction hash as a principal key for associating an on-chain transfer with an internal payment record. A transaction hash is a useful lookup key, but it is not an invoice identifier.
Overview
Meaning and boundaries
Hash-Based Payment Matching is a matching method that uses a blockchain transaction hash as a principal key for associating an on-chain transfer with an internal payment record. A transaction hash is a useful lookup key, but it is not an invoice identifier. Matching must scope the hash to the network, inspect the destination and token transfer events, check amount and status, and ensure the same eligible transfer has not already been assigned.
How it works in practice
A hash is highly specific but still must be checked for network, transaction content, status, and prior use. The core control principle is that hash-Based Payment Matching is reliable only when multiple payment signals are validated and the resulting association is unique, traceable, and reversible before fulfillment.
Checks and failure points
One transaction can contain multiple outputs or token transfers, so hash-only matching may not uniquely identify the intended payment. Replacements and failed contract execution also need explicit handling.
Operational evidence and decisions
For account-based tokens, a single transaction may invoke a contract that emits several transfer logs; the exact log or balance movement can be essential. In output-based networks, a transaction can send change back to the payer as well as funds to a merchant. The identifier alone is therefore never a sufficient payment match.
How it differs from related terms
Hash-based matching starts from chain evidence; customer-based matching begins from account or address associations, but both need independent validation. Related entries: Crypto Transaction Matching; Crypto Payment Receipt; Crypto Payment Detection.
Example
Support receives a payer's transaction hash. The service locates the transaction on the correct network and assigns its verified token transfer to invoice 51 only after checking the destination and value.
Comparison
Hash-based matching starts from chain evidence; customer-based matching begins from account or address associations, but both need independent validation.
Key Takeaway
Match the transfer details, not merely the transaction hash string.
Sources
- Payment Processing — Bitcoin Developer Documentation (2026-08-02)
- Payment Information — OxaPay (2026-08-02)
- Webhook — OxaPay (2026-08-02)