Agent Legal Context
Protocol Integration

Mastercard Agent Pay Integration

Mastercard Agent Pay integration via Agentic Token metadata and KYA registration.

This section is advisory.

Mastercard Agent Pay provides a framework for agent-initiated payments with identity and authorization controls. Legal context integrates through two mechanisms.


Agentic Token Metadata

Include the legal context reference in the Agentic Token metadata. The token metadata travels with the payment through the Mastercard network.

This allows the legal context reference to be bound to the payment instrument itself — the token that authorizes the transaction carries a reference to the terms governing it.


Know Your Agent (KYA) Registration

Agent Pay's Know Your Agent (KYA) registration process can reference the vendor's legal-context.json. During KYA, the agent's legal context is established alongside its identity and authorization credentials.

This provides a discovery-time integration — when an agent registers with Agent Pay, the legal context is part of the registration, not an afterthought.


Integration Points

MechanismWhenPurpose
KYA registrationAgent onboardingLegal context established as part of identity
Agentic Token metadataTransaction timeTerms reference bound to the payment instrument