Create payment link
create_payment_linkGenerate a hosted ZEN checkout link and QR code so a customer can pay. Specify amount, currency, and merchant transaction ID to create the payment link with optional expiry, description, and IPN callback.
Instructions
Write operation: create a hosted ZEN checkout link and QR code for a customer to pay.
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": {
"amount": "<amount>",
"currency": "<currency>",
"merchantTransactionId": "<merchantTransactionId>"
},
"name": "create_payment_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| currency | Yes | ||
| expiresAt | No | ||
| description | No | ||
| customIpnUrl | No | ||
| idempotencyKey | No | ||
| merchantTransactionId | Yes |