update_payment_link
Update a payment link's details including amount, currency, line items, and expiration, or adjust customer requests for phone and shipping information.
Instructions
This tool will update a payment link in Visa Acceptance.
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": {
"id": "<id>"
},
"name": "update_payment_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Payment link ID (required) | |
| linkType | No | Type of payment link (PURCHASE OR DONATION) | |
| purchaseNumber | No | Unique identifier for the purchase | |
| currency | No | Currency code e.g. "USD" | |
| totalAmount | No | Total payment amount e.g. "100.00" | |
| requestPhone | No | Request phone number from customer | |
| requestShipping | No | Request shipping address from customer | |
| clientReferenceCode | No | Custom client reference code for the transaction | |
| lineItems | No | Line items in the purchase | |
| expirationDays | No | Number of days the link remains valid |