Skip to main content
Use a wallet-to-TIN payment when a sender pays from a Solana wallet and the recipient receives the token in their TIN balance. The sender approves the payment details first and signs the reserve deposit in a second prompt.
1

Show the payment details

Resolve the recipient TIN through your trusted backend. Show the TIN, the returned owner-provided name, the token, amount, fee, and expiry.
2

Approve the payment message

Ask the sender’s wallet to sign the payment message. Submit it with its matching private funding note and save the funding work ID.
3

Approve funding

Show Approve funding when the request reaches FUNDING_READY. Fetch fresh preparation and a recent blockhash, then request the deposit signature and attach the signed transaction to the original work.
4

Confirm the TIN credit

Track the deposit and credit using the saved work ID. Fulfill the order after both transactions succeed and reach finality on your Solana RPC.

Handle a pending payment

Once funding confirms, show Deposit received while the TIN credit is pending. If credit stops, keep the funded deposit and ask the operator to recover the original work. A refreshed checkout can read the same work ID. Track a payment Use the wallet payment example to implement both approvals. Use the owner balance guide to display the credited balance from finalized activity.