Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.
Subscriptions

List a subscription's payments

The charges of one subscription, newest first, and what it paid since it began: what a screen showing a customer one subscription with its payments needs.
paid is counted over every paid charge of the subscription, not over the page. Only this id's charges are listed: a customer who came back holds a new subscription, and the payments of the one it replaced stay under that one's id.
GEThttps://api.mesub.io/v1/subscriptions/{id}/attempts
GETList payments
https://api.mesub.io/v1/subscriptions/{id}/attempts

Calls are real. They go to https://api.mesub.io and act on the project the key belongs to.

Authorization

The key stays in this browser and is sent only to the API. It is not stored or logged by the docs.

Path
Query

Fill id to send.

cURL
curl "https://api.mesub.io/v1/subscriptions/{id}/attempts" \
  -H "Authorization: Bearer $MESUB_API_KEY"
Response

Send the request to see the status, the headers and the body.

Limit: 1,000 calls a minute per API key.Guide: List its payments.

Headers

Mesub-Versionenum<string>

The version of this contract the call is written against. Without it, the call is served as the first version, 2026-10-02. Any other value is refused with 400 unsupported_version.

One of2026-10-02

Request example
curl "https://api.mesub.io/v1/subscriptions/cmg1x0abc0001/attempts" \ -H "Authorization: Bearer $MESUB_API_KEY"
Response example
{ "data": [ { "id": "cmg9x4k2c0007", "attempted_at": "2026-02-02T00:01:04.512Z", "outcome": "paid", "reason": null, "amount": "9990000", "amount_received": "9990000", "amount_usd": "9.99", "signature": "5wHu1qwD4kLDLoREEPBpKvGvhbxWFxFFfr5nQq7dxAsRRDXvHRqpNvfsCvC1qzjWQhqmPtBb8LnZjKmvpehJqSWk", "retry": true, "retry_number": 2, "retries_allowed": 3, "period_start": "2026-01-31T00:00:00.000Z" }, { "id": "cmg9x1b7a0003", "attempted_at": "2026-01-31T00:00:02.000Z", "outcome": "skipped", "reason": "insufficient-balance", "amount": "9990000", "amount_received": null, "amount_usd": "9.99", "signature": null, "retry": false, "retry_number": null, "retries_allowed": null, "period_start": "2026-01-31T00:00:00.000Z" } ], "has_more": false, "paid": { "count": 2, "amount": "19980000" } }