create_credential_session
Create a credential vault session for a merchant and return a time-limited URL where customers can store login credentials for saved-credential checkout.
Instructions
Creates a credential vault session for a merchant and returns a secure URL where the customer can store their login credentials for that merchant. Stored credentials are used by checkouts created with options.useSavedCredentialToLogin = true. The URL is valid for a limited time (expiresIn, in minutes). REQUIRED FOLLOW-UP: immediately present the returned url as a clickable link so the customer can open it.
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": {
"merchantDomain": "<merchantDomain>",
"email": "<email>"
},
"name": "create_credential_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Customer's email address | ||
| merchantDomain | Yes | Merchant website URL the credentials belong to e.g. 'https://saltiebeauty.com' |