verify_card_issuer_link
Complete the card issuer link with the account holder's code
Completes the link with the one-time code the account holder received from POST /start-card-issuer-link. No session id is needed: the pending code is held per account, and only the newest one works.
The account holder, never the agent, receives and enters the code. Send your human to their own inbox (or phone) and have them type the code into your interface. Never try to read the account holder's email or messages yourself, and never ask for their email password or access.
Consent. Completing the link records the account holder's consent with the card issuer. Show them the card issuer's connection disclosure next to the code input, and send consent_accepted: true only once they have accepted it.
Wrong codes. An incorrect code answers 400 invalid_code with attempts_left; the account holder can try again. After 5 incorrect entries, or once the code is 10 minutes old, it is discarded and a new one must be sent.
If the account is already linked this answers 200 with status: linked, so a retry after a lost response is safe. After linking, GET /get-card-issuer-status reads linked.
This route is free.
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": {
"code": "<code>",
"consent_accepted": "<consent_accepted>"
},
"name": "verify_card_issuer_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The one-time code exactly as the account holder entered it (digits). | |
| consent_accepted | Yes | The account holder has seen and accepted the card issuer's connection disclosure. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| status | No | One of: linked. |