Payments Domain

Payments API

Charges, refunds, subscriptions, invoices, payment methods, and webhook-ready billing flows

API Prefix

/api/payments

Every endpoint hangs off this prefix so you can compose requests consistently.

Endpoint coverage

8

Curated routes spanning common workflows

Playground ready

Deep link directly into the playground with your preferred method and path.

Open in Playground

Capabilities

What you can simulate

Mix and match endpoints to validate dashboards, onboarding flows, error states, and integration docs before touching production systems.

1

Tokenized cards + wallets

2

Charge, refund, and dispute flows

3

Payout + settlement schedules

4

Fraud review + verification cues

5

Webhook-style event payloads

6

Currency + exchange rate helpers

Endpoints

Available routes

Each endpoint responds with JSON objects modeled after production systems, complete with pagination, filtering, and optional latency controls for stress testing.

GET

/api/payments/stripe?customer_id=cus_123

Try it
GET

/api/payments/stripe?customer_id=cus_enterprise&per_page=5

Try it
POST

/api/payments/stripe

Try it
POST

/api/payments/stripe/refund

Try it
GET

/api/payments/subscriptions/sub_001

Try it
GET

/api/payments/invoices?customer_id=cus_123

Try it
GET

/api/payments/invoices/in_001/pdf

Try it
GET

/api/payments/payment-methods?customer_id=cus_123

Try it
payments

Prototype checkout safely

Connect UI prototypes to realistic payment and refund lifecycles without touching production processors.

Explore more

Other mock API domains

Browse the full library of free mock API domains for your next project.