Skip to content

Billing & subscriptions

Recurly mock API

Recurly subscription billing: accounts (id or code-), plans, subscriptions with lifecycle actions, invoices, coupons, transactions and signed JSON webhooks.

At a glance

Operations
201
Stateful operations
33
Stateful resources
6
Webhook events
12
Vendor API version
v2021-02-25
Verification
Spec-verified

How it works

Use Recurly without calling Recurly, Inc.

Authorization: Basic cmVjdXJseWV4YW1wbGVrZXkwMTIzNDU2Nzg5Og==

State

Resources that remember

Writes persist per caller, so a create followed by a read returns what you created.

ResourceOperations
Accounts6
Plans5
Subscriptions9
Invoices6
Coupons5
Transactions2

Webhooks

Events your handlers can receive

Deliveries are signed with the hmac scheme, so your verification code runs unchanged.

Coverage

201 operations

33 of them are stateful. The largest groups:

GroupOperations
Other operations168
Subscriptions9
Accounts6
Invoices6
Coupons5
Plans5

Verification

Spec-verified

Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.

3 operations cannot be checked against the specification.

Source and limits

License, source and limits

Each collection holds up to 1 MiB of objects per API key; writes beyond that are dropped (x-maxoperf-vs-state: capacity). A subscription creates exactly one open invoice (payment is simulated through mark_successful / mark_failed); renewals, dunning and the begin_time/end_time/ids list filters are not simulated. Unknown plan codes on subscription create are accepted; a future starts_at yields a static future subscription. Idempotency-Key replay covers creates only. update_plan answers 201 as the pinned spec declares. Webhooks are the JSON notifications (object_type.event_type), one signature per delivery. Event logs are generated, not stateful.

MaxoPerf is not affiliated with, endorsed by, or sponsored by Recurly, Inc. Recurly is a trademark of its owner.