Create Yolfi Paylink
yolfi_paylinks_createCreates a payment link after user approval of product name, price, currency, and payment type. Supports one-time and recurring payments.
Instructions
Create a Yolfi payment link only after the user approves product name, amount, currency, and one-time or recurring payment type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | User-approved product, plan, donation, or access name shown on checkout. | |
| description | No | Optional user-approved customer-facing description. | |
| price | Yes | User-approved decimal price, represented as a string to avoid numeric rounding. | |
| currency | Yes | Fiat or account currency code approved by the user, for example USD. | |
| type | Yes | Payment link type approved by the user, for example ONE_TIME or RECURRING. | |
| recurringInterval | No | Recurring interval when creating a recurring payment link. | |
| collectEmail | No | Whether checkout should collect customer email. | |
| metadata | No | Safe non-secret metadata such as source, productSlug, planId, or environment. |