---
title: "Register a merchant"
description: "Publish merchant metadata and the encryption keys payment credentials are delivered to."
url: https://app.visacli.sh/docs/register-a-merchant
updated: 2026-11-09
---

# Register a merchant

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

Canonical: https://app.visacli.sh/docs/register-a-merchant. Updated: 2026-11-09. Full index: /llms.txt.

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

> [!WARNING] Authentication isn't in the public spec
> The public VMRS specification has `security: []` and no security schemes. That's a gap in the documentation and not proof of anonymous access. Confirm what your Visa Developer Platform project needs, and don't reuse VARS signing rules for it. See [Authentication](/docs/reference/authentication.md).

## 1. Create the merchant

Send [Create Merchant](/docs/reference/vmrs/create-merchant.md), `POST /vmrs/v1/merchants`, and save the returned ID. Use [Get Merchant](/docs/reference/vmrs/get-merchant.md) and [Update Merchant](/docs/reference/vmrs/update-merchant.md) 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](/docs/reference/vmrs/create-merchant-key.md).
2. Activate it with [Activate Merchant Key](/docs/reference/vmrs/activate-merchant-key.md).
3. Read it back with [Get Merchant Key](/docs/reference/vmrs/get-merchant-key.md). [List Merchant Keys](/docs/reference/vmrs/list-merchant-keys.md) shows all of them.

## 4. Keep keys current

Change a key's details with [Update Merchant Key](/docs/reference/vmrs/update-merchant-key.md), and remove one with [Delete Merchant Key](/docs/reference/vmrs/delete-merchant-key.md). 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](/docs/verify-requests-as-a-merchant.md): check the signature, then the linked objects, then verify the payment and settlement yourself before you deliver anything.
