Merchant checkout
- Show the recipient and price. Resolve the merchant’s TIN on your backend. Show the TIN, returned display name, token, amount, and fee before any wallet prompt. Resolve a TIN
- Link the order to the payment. Allocate one TSN payment ID for the order’s current payment attempt. Ask the customer to sign the payment details and save the returned funding work ID on the order. Request wallet approval
- Enable Approve funding. When the work reaches
FUNDING_READY, use that same work ID to request the deposit signature and submit the signed deposit. - Fulfill after settlement. On your backend, use the saved work ID to check both transaction signatures for finality. Apply fulfillment once per order ID even if the status check runs again. Verify the payment in TypeScript
Handle a customer returning to checkout
Resume from the order’s saved work ID. If funding confirmed and settlement is pending, display Deposit received. Credit pending. and keep checking the same ID. When a request times out, look up the original result before requesting fresh approval. Retry a payment safelyConnect the application
Use your Receiver base URL for status checks and that URL plus/node for payment requests. Keep service credentials and recipient lookup secrets on your backend. Keep the private note and signed completion in the protected payment flow and out of order metadata and analytics. Check TSN network status · Service API reference