create_payment_request
Generate reusable payment links for cryptocurrency transactions, allowing merchants to specify amounts, currencies, expiration dates, and optional payer descriptions.
Instructions
Create a new payment request (reusable payment link).
Args: title: Title for the payment request. amount: Payment amount as a string (e.g., '0.001'). currency: Currency code (e.g., 'BTC', 'USD'). Default: 'BTC'. description: Optional description shown to payers. expiry_days: Days until expiration (0 = no expiry). Default: 0. allow_custom_amounts: Allow payers to set custom amounts. Default: False.
Returns the payment request ID and a payment link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| amount | Yes | ||
| currency | No | BTC | |
| description | No | ||
| expiry_days | No | ||
| allow_custom_amounts | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |