Coin on Point

How to verify a Solana USDC checkout payment

Match the USDC mint, recipient and order reference, and distinguish a correct payment from an early or repeated notification.

A Solana USDC checkout is ready to fulfill when the merchant has verified the transaction independently and matched a successful payment to the right order. Check the network, USDC mint, destination, amount and reference. Apply the store’s confirmation policy and make sure the same payment has not fulfilled an order already.

Match the transaction to the order
A Solana checkout checks the transfer evidence and order record before fulfillment.
The example merchant checks both the on-chain payment and whether the order has already been fulfilled.

Match the transaction to the order

In a single-transfer Solana Pay checkout, keep the order’s expected mint, destination and expected USDC amount in base units in your own system when you create the request. A transaction signature identifies the transaction. A per-order reference is a public key included as a read-only, non-signer account on the relevant transfer instruction. It can help locate the transaction and link it to your order. Verify that it belongs to the intended transfer. A memo has a different meaning and must be checked separately if your system uses one. Solana’s payment model · How Solana documents payment verification

Fetch the receipt with getTransaction at the store’s chosen commitment. Require a returned receipt with meta.err equal to null, then match the receiving token account, expected USDC mint and actual credit. If the receipt is missing, wait or investigate before marking the order paid. Check all fields on the intended network. An explorer link, a wallet success screen or a reference by itself is insufficient evidence. Circle lists separate mint addresses for Solana mainnet and devnet. Circle’s network and mint addresses

Choose fulfill, wait or investigate

Suppose a fictional merchant sets order order-1001 to 1 USDC, represented as 1,000,000 base units, and requires a finalized Solana transaction. The merchant’s own order service applies these rules.

Merchant decisions for one illustrative order
What the merchant seesWhat to do
Correct transfer and reference at a lower commitmentWait for the store’s required commitment.
Finalized transfer with the wrong referenceInvestigate which order it actually belongs to.
Wrong mint, receiving account or credited amountInvestigate the mismatch before fulfillment.
Matching, finalized and unused paymentRecord payment and fulfill once.
Repeated notice for the same already-used signatureKeep the existing paid order and avoid a second shipment.

For this single-payment checkout, record the unique accepted signature and the paid order in the same database transaction. Reject reuse of the signature for a different order. Key the fulfillment job by order so retrying it cannot create a second shipment. A different store may accept a different commitment level. Document your choice and how you handle exceptions.

Compare the published Solana demo

Solana’s checkout backend documentation demonstrates local or devnet verification with a 1 USDC order. The demo queries at confirmed commitment. Its example rejects reusing the same successful signature. It also shows a separate amount-mismatch test. Follow that documented demo for test data and implementation details. The policy above is a worked editorial example. No merchant payment was made to produce it. Solana’s published checkout backend example

Use the invoice reconciliation guide for settlement after fulfillment and exception handling across several payments.

Sources