Manual Payment API
Send payment events from any payment provider via a single REST API call. Works with Paddle, Lemon Squeezy, Gumroad, custom payment systems — anything that processes payments.
Overview
The Manual Payment API is a simple REST endpoint. When a payment succeeds on your end, send a POST request with the payment details and, when available, the Metrivo visitor and session identifiers. Metrivo uses those signals to produce confidence-based attribution to the traffic source, landing page, and campaign.
Your API key is available in your Metrivo dashboard under Settings → API Keys. Keep it secret — treat it like a password.
API Endpoints
Best practices
Error codes
401Invalid or missing API key. Check your Authorization header.400Invalid JSON or payload. Ensure website_id, amount, currency, and provider_payment_id are present.403The API key lacks payments:write scope or is not authorized for the posted website_id.500Payment insert failed. Check provider_payment_id uniqueness and server logs.