CLI docs

Trusted Agent ProtocolRegister a merchant

Trusted Agent ProtocolTAP specification

Register a merchant

Publish merchant metadata and the encryption keys payment credentials are delivered to.

Markdownllms.txt
On this page

This page is for you if you're a merchant integrating with Visa's published TAP, and you want payment credentials encrypted to a key you hold. The Visa Merchant Registry Service (VMRS) stores your merchant metadata and your public encryption keys.

You don't need it to check a Visa CLI agent, or to gate work on a signature. The TAP merchant specification also supports recognizing agents on an existing site, with no VMRS registration needed for every browsing interaction. Visa CLI doesn't call VMRS itself.

  1. Create the merchant

  2. Generate an encryption key

  3. Publish and activate it

  4. Keep keys current

  5. Verify what agents send

  1. Create the merchant

    Send Create Merchant, POST /vmrs/v1/merchantsAPI, and save the returned ID. Use Get Merchant and Update Merchant to read and change it.

  2. Generate an encryption key

    Generate the pair yourself and keep the private key. You'll need it to decrypt the payload of a payment container. This key is separate from any agent's signing key: agents sign with theirs to say who they are, and payment credentials are encrypted to yours.

  3. Publish and activate it

    1. Send the public key with Create Merchant Key.
    2. Activate it with Activate Merchant Key.
    3. Read it back with Get Merchant Key. List Merchant Keys shows all of them.
  4. Keep keys current

    Change a key's details with Update Merchant Key, and remove one with Delete Merchant Key. VMRS describes deletion, whereas VARS treats its own DELETE as deactivation, so don't assume one service's behavior applies to the other. Read back after any change.

  5. Verify what agents send

    Follow Verify requests as a merchant: check the signature, then the linked objects, then verify the payment and settlement yourself before you deliver anything.

Updated 9 Nov 2026