Update the details of a paylink.
api.hel.io/v1 and generate API keys there. For the development environment, use api.dev.hel.io/v1 and generate API keys from moonpay.dev.hel.io.Authentication using JWT token
The unique ID of the pay link you want to update.
Your API key can be generated from the Helio Dashboard settings.
Name or title of the pay link product or service.
Price is an int64 represented in base units of the currency, e.g. "1000000" = 1 USDC.
Currency ID used to price the paylink (fiat or crypto). Retrieve this value from the Get Currencies endpoint.
Feature flags and behavioral options for the pay link.
List of recipient wallets and currencies.
List of wallets to distribute the payment among.
Array of discount codes applicable to the pay link.
Restricts sales to a transaction count or specific Discord ID.
transaction, discordId Minimum quantity a user must purchase.
Maximum quantity a user can purchase.
Settings for affiliate tracking and revenue sharing.
Configuration for raffle-based sales.
URL to redirect users after completing the payment.
Delay (in seconds) before redirecting the user to redirectUrl after a successful payment. Use 0 for an instant redirect, or 3 to show the confirmation screen for 3 seconds before redirecting.
0, 3 0
Indicates whether the pay link was created via private or public API.
PRIVATE_API, PUBLIC_API Subscription settings for recurring payments.
Description of the product or service offered.
If true, notifies the sender via email after a successful payment.
If true, notifies the receiver via email after a successful payment.
Automatically assigns a Discord role upon successful payment.
List of Discord role IDs to be assigned.
If true, disables the pay link without deleting it.
Enables dynamic pricing features for the pay link.
Additional content like files or links associated with the pay link.
Maximum number of transactions allowed for this pay link.
Optional product object associated with the pay link.
Blockchain address of the NFT collection used in this pay link.
Details for Discord authentication and role assignment.
Access code configuration for gated content or purchases.
Event-related configuration like dates and venues.
Countdown timer settings for scheduled launches.
Applies a custom color scheme to the paylink.
Paylink successfully updated.