initiate_license
Start a license purchase for any track, including partner tracks. Returns a payment_id, the exact USDC amount, and the receiving wallet on Base (chain ID 8453). Before the user pays, confirm the track title and artist in track_to_confirm with them. The user must send the USDC from the same wallet address provided here; no memo is needed. After the user confirms they sent payment, call verify_license with the payment_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_id | Yes | The track id exactly as returned by search_catalog, ai_search, or get_track, for example "417" or "partner_82". Never remove the "partner_" prefix. | |
| license_type | Yes | social_media ($5 USDC: TikTok, Instagram, YouTube, X) or all_digital ($35 USDC: advertising, apps, games, podcasts, websites). | |
| paying_wallet | Yes | The Base wallet address (0x followed by 40 hex characters) the user will send USDC from. |