The Simplest Subscription Billing API

One API call to check any user's subscription status. Type-safe SDKs for Python, Node.js, Go, and Rust. Free up to 100 subscribers.

Check Subscription in 3 Lines

import paylio

sub = paylio.get_subscription("user_123")
print(sub.status)  # "active"
print(sub.plan.name)  # "Pro"
print(sub.features)  # {"can_export": true, "seats": 10}

Why Developers Choose This API

One API Call

GET /flying/v1/subscription/{user_id} returns status, plan, entitlements, and billing period in a single response.

Type-Safe SDKs

Official SDKs for Python, Node.js, Go, and Rust. Full type definitions, zero runtime dependencies.

Built-in Entitlements

Feature flags attached to plans. Check what features a user has access to without building your own system.

Multi-Gateway Routing

Automatically routes payments through Stripe or Razorpay based on customer location. One integration, global reach.

FAQ

What is a subscription billing API?

A subscription billing API lets developers manage recurring payments programmatically. Instead of building billing logic from scratch, you integrate with an API that handles plan creation, checkout, payment collection, and subscription status tracking.

How does Paylio's subscription API differ from Stripe's?

Paylio wraps Stripe (and Razorpay) with a simpler abstraction. One API call returns a user's subscription status with entitlements — no webhook handlers, no billing database, no customer-to-subscription lookups. Stripe requires multiple API calls and custom logic for the same result.

Can I check a user's subscription with one API call?

Yes. GET /flying/v1/subscription/{user_id} returns the full subscription state: status (active, trialing, past_due, canceled, none), plan details, entitlements, and current billing period.

Which programming languages are supported?

Paylio has official type-safe SDKs for Python, Node.js, Go, and Rust. For frontend, use one script tag or the @paylio/react component to embed a pricing grid.

Start Building with Paylio's API

Free up to 100 subscribers. No credit card required.

Get Your API Key