The rule

How a check is decided.

Due does not guess. It reads what was asked for, looks at what the chain has, and compares the two. These four rules are the whole of it.

Rule I

Reference first

A Solana Pay reference is a key that rides along on the payment. It moves no money. It is there so that one payment can be found among all the others.

Due asks Solana for the latest 20 signatures that carry the reference, then opens each transaction and looks for a transfer that fits.

ReadThe link
SearchThe reference
OpenLatest 20
→
MatchSettled

A link without a reference still works, but less well. Due then opens the recipient’s latest 12 transactions, so an older payment will read open.

Rule II

Amount and asset

A transfer counts when all three are true.

  • It pays the recipient named in the link.
  • It is at least the amount that was asked.
  • It is the asset that was asked: SOL, or USDC.

USDC has to land in the recipient’s own USDC token account. A transfer to any other account does not count, even if the amount is right.

Rule III

A signature is a reading

Paste a transaction signature and Due opens that one transaction. It reports the largest transfer in it: where it went, how much, and the day of the block.

That is something that already happened, so it reads settled. It is not compared with a due. If the transaction moved nothing Due can read, it stays open.

Have a signature?Check reads it in one step.Check a signature

Rule IV

No custody

Make builds a link and nothing more. The payer’s wallet signs it, and the money goes straight to the recipient. Due is never in the middle. It holds nothing and it cannot move anything.

Need to ask for a payment?Make builds the link with a fresh reference.Make a due