update_payment_link
Modify an existing payment link in Visa Acceptance to update transaction details, line items, customer information requests, or expiration settings.
Instructions
This tool will update a payment link in Visa Acceptance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clientReferenceCode | No | Custom client reference code for the transaction | |
| currency | No | Currency code e.g. "USD" | |
| expirationDays | No | Number of days the link remains valid | |
| id | Yes | Payment link ID (required) | |
| lineItems | No | Line items in the purchase | |
| linkType | No | Type of payment link (PURCHASE OR DONATION) | |
| purchaseNumber | No | Unique identifier for the purchase | |
| requestPhone | No | Request phone number from customer | |
| requestShipping | No | Request shipping address from customer | |
| totalAmount | No | Total payment amount e.g. "100.00" |
Input Schema (JSON Schema)
{
"properties": {
"clientReferenceCode": {
"description": "Custom client reference code for the transaction",
"type": "string"
},
"currency": {
"description": "Currency code e.g. \"USD\"",
"type": "string"
},
"expirationDays": {
"description": "Number of days the link remains valid",
"type": "number"
},
"id": {
"description": "Payment link ID (required)",
"type": "string"
},
"lineItems": {
"description": "Line items in the purchase",
"items": {
"additionalProperties": false,
"properties": {
"productDescription": {
"description": "Product description",
"type": "string"
},
"productName": {
"description": "Name of the product",
"type": "string"
},
"productSKU": {
"description": "Product SKU identifier",
"type": "string"
},
"quantity": {
"description": "Quantity of the product",
"type": "string"
},
"unitPrice": {
"description": "Unit price of the product",
"type": "string"
}
},
"required": [
"productName",
"quantity",
"unitPrice"
],
"type": "object"
},
"type": "array"
},
"linkType": {
"description": "Type of payment link (PURCHASE OR DONATION)",
"type": "string"
},
"purchaseNumber": {
"description": "Unique identifier for the purchase",
"type": "string"
},
"requestPhone": {
"description": "Request phone number from customer",
"type": "boolean"
},
"requestShipping": {
"description": "Request shipping address from customer",
"type": "boolean"
},
"totalAmount": {
"description": "Total payment amount e.g. \"100.00\"",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}