get_payment_credentials
Retrieves a scoped payment credential for an authorized checkout session, limited to the approved merchant and amount, enabling AI agents to complete purchases without exposing real card numbers.
Instructions
Retrieves a scoped payment credential for a session the customer has authorized. The credential is an agentic PAN from Visa Intelligent Commerce or Mastercard Agent Pay, or a card from the customer's Stripe Link wallet. It is limited to the approved amount and merchant. The customer's real card number is never returned. Use the credential only to complete the purchase.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>"
},
"name": "get_payment_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The sessionId returned by create_payment_session | |
| merchantUrl | No | Optional website URL of the merchant the credentials will be used on |