Overview
The Commerce & Licensing API handles the complete purchase lifecycle - from pricing calculation through card payment to license certificate generation. It also covers exclusive license preset management and safe producer finance references for approved integrations.Base URL:
https://open.beatpass.ca/api/v1Authentication: All endpoints require a valid Bearer token unless noted otherwise.Track Purchases
Calculate Price
Get pricing details for a track before initiating purchase.integer
required
Track ID to get pricing for.
Initiate Purchase
Start the purchase flow by creating a Stripe .integer
required
Track ID to purchase.
Check Purchase Status
Check whether the authenticated user has purchased a specific track.User Purchases
Get the authenticated user’s purchase history.integer
Results per page. Default:
15.Artist Sales
Get sales data for the authenticated artist, including payout and balance summary fields when available.Purchase Flow
1
Calculate Price
Call
POST /tracks/{track}/purchase/calculate-price to get current pricing.2
Initiate Purchase
Call
POST /tracks/{track}/purchase/initiate to create a Stripe PaymentIntent.3
Confirm Payment
Use the returned
client_secret with Stripe.js confirmCardPayment() on the frontend.4
Webhook Confirmation
Stripe sends a
payment_intent.succeeded webhook to BeatPass. The platform activates the license and generates a certificate.5
Access License
The buyer can download the track and retrieve their license certificate.
License Certificates
Generate License
Generate a for a purchased track.Check License
Check if a license exists for a track.Batch Check Licenses
Check licenses for multiple tracks at once.View License Certificate
Retrieve the license certificate data for a purchased track.integer
required
Track ID to retrieve the license certificate for.
Download License PDF
Download the license certificate as a PDF document.Verify License (Public)
Verify a license certificate by its UUID. This endpoint does not require authentication.string
required
License certificate UUID.
Revoke License
Revoke a previously issued license.User Licenses
Get all license certificates for the authenticated user.Exclusive License Presets
Manage reusable pricing presets — — for exclusive license sales.List Presets
Get Default Config
Retrieve the default exclusive license configuration.Get Preset
Create Preset
Update Preset
Delete Preset
Set Default Preset
Artist Exclusive License Default
Manage the artist’s default exclusive license configuration, auto-applied to new tracks.Get Default
Set Default
Coupon Validation
Validate a discount code during checkout. This is the only user-facing coupon endpoint — coupon creation and management require administrative access.Validate Coupon Code
Check if a coupon code is valid and calculate the discount amount.string
required
Coupon code to validate.
integer
Product/plan ID the coupon will be applied to.
integer
Price ID the coupon will be applied to.
number
Original amount (before discount) for calculating savings.
Producer Payout Setup
BEATPAY bank payout setup is an in-product Producer Finances workflow, not a public developer integration surface. Do not build integrations against undocumented payout setup routes.
Stripe Connect Status
Check whether the authenticated artist has completed Stripe Connect onboarding when Stripe is the payout setup shown to that artist.Stripe Connect Onboarding Link
Generate a Stripe Connect onboarding link for the authenticated artist when Stripe Connect onboarding is available.View Legacy Stripe Finances
Get the artist’s legacy Stripe Connect financial overview where available.Related Resources
Webhooks
Payment event processing overview for purchase confirmation.
Error Catalog
Purchase and licensing error codes.