Edge API
Edge billing API endpoints
Build Customer Profile Setup
Generate a hosted setup URL where a customer can enter their payment method and complete billing onboarding.
Confirm Payment Method
Finalize payment method setup — attach the payment method, activate the billing customer, and optionally record initial revenue.
Create Billing Customer
Create a billing customer with payment identity and optional trigger billing permissions.
Enroll in Trigger Item
Enroll a billing customer in a trigger billable item to enable condition-driven charges.
Fire Trigger
Fire a trigger charge against a billing customer — the core Edge billing primitive.
Get Billing Customer
Retrieve a billing customer profile with their active trigger enrollments.
Get Trigger Enrollments
List trigger enrollments with optional filters for status, customer, and item.
Get Trigger Items
List available trigger billable items with live API sample blocks.
Setup Payment Method
Initialize payment method setup for a billing customer — returns Stripe client secret or PayPal approval URL.