Endpoint
Authentication
Requires API key authentication.Request body
Request example
Response
Success response (200)
Error responses
Missing required fields (400)
Unauthorized (401)
Linking payments to visitors
Payments are automatically linked to visitors using:- Visitor/Session IDs (most reliable) - Include
visitorIdandsessionIdin the request - Email matching - If user identification is enabled, payments are linked via
customerEmail - Timestamp correlation - Fallback method using payment timestamp
Use cases
- Custom payment providers - Record payments from providers not supported by webhooks
- Manual payment entry - Record payments manually
- Payment reconciliation - Sync payments from external systems
- Testing - Test revenue attribution
Examples
Stripe payment
Custom provider
Next steps
Revenue attribution guide
Learn more about revenue attribution