# Identity

How people sign with passkeys, agents hold scoped credentials, and merchants prove their payout address and domain to earn an on-chain attestation, and how a business applies for verification.

<ShortProductTruth>**Proofs, not claims.** Sensitive actions need a person's passkey, agents hold a credential that cannot move money, and a merchant is verified only by signatures and an on-chain attestation.</ShortProductTruth>


## The problem it removes [#the-problem-it-removes]

Payments go wrong when the wrong party can act: an agent that signs its own approval, a session that changes limits without the owner present, a merchant that says it is someone it is not. Abazi Identity gives each party a different kind of proof, and keeps the keys apart.

## Who uses it [#who-uses-it]

| Who | How |
| --- | --- |
| Owners, admins, approvers | Sign in and sign mandates, approvals and other sensitive actions with a passkey. |
| Agent developers | Give each agent its own credential and rotate it without downtime. |
| Merchants | Prove control of their payout address and domain to become VERIFIED. |

## How it works [#how-it-works]

**People.** Sign-in uses a passkey, with an emailed sign-in link as a fallback. Passkeys use P-256 keys with user verification required, and each passkey works only on the site it was created for. Signing a mandate and approving a purchase are passkey signatures. Other sensitive actions, such as creating an API key or pausing all payments, need a fresh passkey check that stays valid for five minutes.

**Agents.** An agent credential is shown once, then stored only as a slow password hash (argon2id). Rotation issues a new credential at once and keeps the old one valid for an overlap of zero, one or 24 hours. A credential can call Abazi's tools; it cannot sign, move funds or change rules.

**Merchants.**

1. The merchant starts a claim with a domain and a payout address.
2. It signs a one-time message with the payout address's key (Solana or EVM).
3. It proves the domain with a token file on the domain or a DNS TXT record.
4. Abazi issues an attestation on Solana through the Solana Attestation Service, and the merchant becomes VERIFIED.

## Business verification [#business-verification]

Organizations and merchants apply for business verification (KYB) from the Console or the Merchant area.

1. **Apply.** An admin of the organization, or the merchant's owner, submits the legal name, the country and, where there is one, the registration number.
2. **Review.** The application shows as submitted. Only one application can be under review at a time; a second one is refused until the first is decided.
3. **Decision.** When the review completes, the application moves to approved, the decision time is recorded, and Abazi emits `org.kyb_approved` or `merchant.kyb_approved`.

Business verification and the VERIFIED merchant tier are separate. VERIFIED means the three merchant proofs above: payout address, domain and an on-chain attestation.

## Screens [#screens]

<Screenshot id="merchant-verification" />

<Screenshot id="identity-verify" />

## Boundaries [#boundaries]

| Case | What happens |
| --- | --- |
| A passkey is used on a different site | It does not sign. |
| The last passkey of someone who can sign | It cannot be removed. |
| A revoked agent's credential calls Abazi | Its purchases are denied with <ReasonCode code="MANDATE_REVOKED" />. |
| A verified merchant changes payout address or domain | It returns to UNKNOWN until it proves both again. |

A passkey never signs a chain transaction, and a wallet key never signs a mandate.

## API [#api]

The Authentication operations in the API reference, each with its parameters, responses and code samples:

<ApiOperationList ids={['signUp', 'sendMagicLink', 'verifyMagicLink', 'getCurrentUser', 'switchOrganization', 'signOut', 'getPasskeyRegistrationOptions', 'registerPasskey']} />

## Next steps [#next-steps]

<Cards>
  <Card title="Merchant trust tiers" href="/docs/concepts/merchant-trust-tiers" description="See what each tier requires and what it unlocks for buyers." />
  <Card title="Approve on a phone" href="/docs/guides/approve-on-a-phone" description="Approve a purchase with a passkey from a one-time link." />
  <Card title="Security model" href="/docs/concepts/security-model" description="Read which key can do what, and where each one lives." />
</Cards>

