Choose the path that fits your product.
Use hosted checkout for a low-friction flow, payment links for one-off sales, or a server-side API for deeper integration. Official SDKs, plugins and production endpoints are not yet available.
SaaS: create a payment for an invoice; activate access after verification.
E-commerce: associate checkout with a unique order and reserve inventory.
Digital products: use a verified event to unlock delivery once.
/v1/payments// Proposed contract · no live endpoint
const response = await fetch(
'https://api.paytovio.example/v1/payments',
{
method: 'POST',
headers: {
Authorization: 'Bearer sk_sandbox_PLACEHOLDER',
'Content-Type': 'application/json',
'Idempotency-Key': 'order_demo_1048'
},
body: JSON.stringify({
amount: '249.00',
token: 'USDC',
network: 'base',
order_id: 'order_demo_1048'
})
}
);
if (!response.ok) throw new Error('Payment request failed');
const payment = await response.json();
Server-side authentication, input validation, wallet ownership checks, network monitoring, finality policy, signature verification and operational controls require separate implementation. Fulfill orders only from a verified backend state.