TSN_RECEIVER_URL to the Receiver used for the payment and WORK_ID to the funding work ID returned by your intent request.
status for funding and settlement.status for credit once a settlement is linked. Keep any signatures in result.signature and settlement.result.signature. Payment states.
Recipient or amount rejected
Resolve the TIN again through your trusted backend. Pass the ten-digit TIN asrecipientTin and its resolved 32-byte hexadecimal owner commitment as recipientHash. For an amount error, use an accepted mint and its registered precision. Show the corrected recipient, amount, and fee before asking for a new payment approval. Recipient lookup · Payment example
If the SDK rejects the signed deposit, check the original status before asking the wallet to sign again. Rebuild it with the approved TCAP deposit and any valid, nonduplicate Compute Budget instructions the wallet needs. Remove extra transfers and invalid compute settings.
HTTP failures and timeouts
If the response is lost, keep the same payment ID, work ID, and pending request. Check the original status before creating another payment. Repeat the request for the step that timed out. Safe retries. For a returned error, use the status and response body fromTsnHttpClient to select the recovery action. Set a request deadline in your app and keep private request and response fields out of logs. Service errors · Client configuration
Stale signed funding
- HTTP 409 ·
FUNDING_BLOCKHASH_TOO_OLD_BEFORE_ATTACHMENT. Fetch current readiness for the same intent and request a fresh wallet signature after every previous completion attempt has been confirmed as a pre-attachment refusal. If any earlier response is uncertain, reconcile that attempt first. - HTTP 503 ·
FUNDING_BLOCK_HEIGHT_UNAVAILABLE_BEFORE_ATTACHMENTor a lost completion response. Check the original work. For a retry, send the exact saved completion with its signed transaction andsenderFundingBlockhashContext. - Funding
FAILEDwith a candidate signature. Check the signature on the intended Solana cluster before approving a replacement. Preflight refusal and a broadcast with an uncertain result can both report a candidate signature. Cranker diagnostics.
BlockhashNotFound, check the original attempt and RPC cluster before asking for a fresh signature. Funding completion API.
Funding confirmed, settlement incomplete
Keep the existing deposit and check the linked settlement. If settlement reportsREJECTED or FAILED, give the operator the funding and settlement work IDs, the funding signature, and the sanitized error. If that settlement has a signature, check it on Solana and share the result. The operator can reconcile a matching finalized receipt or recover an eligible rejected settlement. Receiver recovery.