Skip to main content
Create a 10-digit Transfer Identity Number (TIN) for the wallet that will own it. Once registration confirms, use the TIN as the recipient for a test payment.

Before you start

  • Open your configured instance of TSN XP, the TSN reference app.
  • Connect the wallet you want to keep using for owner access. The wallet must support signing messages.

Register in TSN XP

1

Open Create TIN

Choose Create TIN, enter your display name, and select Prepare owner creation.
2

Approve creation with your wallet

Review the prompts for local seed encryption, local TIN recovery encryption, and approval of the creation request.
3

Copy the confirmed TIN

Wait for XP to display your new TIN and the Solana signature. Copy the TIN as a ten-character string so any leading zero is preserved.
If the wallet already owns a TIN, use wallet recovery to retrieve it. If submission stalls, check the original operation before requesting another approval. Recover an existing TIN

Add creation to your app

Follow the XP implementation to allocate the TIN in a trusted issuer and prepare the owner’s encrypted recovery data in their browser. The issuer builds the request with buildTinV1Creation and generates the issuance proof for that exact request. Keep the lookup secret on the trusted backend and the recovery signature on the owner’s device. Issuer implementation · Wallet prompts Create the exact message on the issuer’s backend and send it to the owner to sign. After the owner signs its UTF-8 bytes with their wallet, submit using the saved request and proof.
create-tin.ts
Set TIN_OPERATION_ID to the returned operationId and TSN_RECEIVER_URL to your Receiver base URL.
Wait for TIN_OPERATION work with status CONFIRMED and a result.signature. For staged creation, use the signature of the final registry transaction. Verify it on the Solana RPC for the same deployment, then show the TIN in the authenticated owner flow. TIN SDK reference

Receive your first payment

Use the confirmed TIN as the recipient and pay from a wallet with a token accepted by your TSN deployment. Accept a wallet-to-TIN payment