create_payment_link
Creates a payment link that allows customers to select their preferred cryptocurrency for payment. Share the returned URL to initiate payment.
Instructions
Create payment link/URL where customer chooses cryptocurrency. USE AS DEFAULT WHEN: User requests payment without specifying crypto. Customer clicks link and selects their preferred cryptocurrency from available options. RESULT: Returns a web_url that you share with your customer. EXAMPLES: "Payment for 50 euros", "Create payment", "Generate QR", "Payment link", "dame el qr para un pago de 24 euros". PREFERRED for all generic payment requests. NOTE: Customer can choose ANY available cryptocurrency in the gateway. IMPORTANT: Only provide url_ok and url_ko if user explicitly requests redirect URLs - DO NOT invent or assume redirect URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount_eur | Yes | Payment amount in EUR (must be positive) | |
| url_ok | No | SUCCESS redirect URL where customer returns after successful payment. ONLY provide if user explicitly requests redirect functionality. DO NOT use example.com or invent URLs. | |
| url_ko | No | FAILURE redirect URL where customer returns after payment failure or cancellation. ONLY provide if user explicitly requests redirect functionality. DO NOT use example.com or invent URLs. | |
| fiat | No | ISO 4217 currency code for the fiat amount (supports EUR, USD, and other major currencies) | EUR |
| notes | No | Optional payment description or reference | |
| include_qr | No | If true, includes QR code for the web URL in the response (RECOMMENDED: always true for immediate use) |