API referenceContract v3.58.0
Billing and credits
Plans, credits, invoices, renewals and sponsorships.
Credits
3 operations
| Method | Path | Operation |
|---|---|---|
| GET | /v1/reader/credits | Read your credit balance |
| GET | /v1/reader/credits/ledger | List the credits your organisation has used |
| POST | /v1/reader/credits/top-ups | Order more credits |
Credit costs
1 operation
| Method | Path | Operation |
|---|---|---|
| GET | /v1/reader/credit-costs | Read how many credits each kind of read takes |
Checkouts (Reader API)
1 operation
| Method | Path | Operation |
|---|---|---|
| GET | /v1/reader/checkouts/{checkout_id} | Read a checkout's state and payment page |
Checkouts (The signed-in person)
1 operation
| Method | Path | Operation |
|---|---|---|
| GET | /v1/me/checkouts/by-reference/{reference} | Find a checkout by its payment reference |
Invoices
3 operations
| Method | Path | Operation |
|---|---|---|
| GET | /v1/reader/invoices | List your organisation's invoices |
| POST | /v1/reader/invoices/{invoice_id}/checkouts | Start a payment for an invoice |
| GET | /v1/reader/invoices/{invoice_id}/payment-options | Read the ways an invoice can be paid |
Payment instructions
1 operation
| Method | Path | Operation |
|---|---|---|
| GET | /v1/reader/payment-instructions | Read the bank and paybill details for paying an invoice |
Plan quotes
3 operations
| Method | Path | Operation |
|---|---|---|
| POST | /v1/reader/plan-quotes | Ask for a quote for a reader plan |
| GET | /v1/reader/plan-quotes/{quote_id} | Read a plan quote |
| POST | /v1/reader/plan-quotes/{quote_id}/accept | Accept a signed plan quote |
Plan term
2 operations
| Method | Path | Operation |
|---|---|---|
| GET | /v1/reader/plan-term | Read your current reader plan and its standing |
| POST | /v1/reader/plan-term/upgrade | Move to a larger reader plan within the term |
Auto renewal
3 operations
| Method | Path | Operation |
|---|---|---|
| DELETE | /v1/reader/auto-renewal | Stop automatic renewal with the saved card |
| GET | /v1/reader/auto-renewal | Read the saved card and the automatic renewal consent |
| PUT | /v1/reader/auto-renewal | Consent to renew with the saved card |
Refunds
1 operation
| Method | Path | Operation |
|---|---|---|
| GET | /v1/reader/refunds | List your organisation's refunds |
Sponsorships
3 operations
| Method | Path | Operation |
|---|---|---|
| GET | /v1/reader/sponsorships | List the credits you have set aside for other organisations |
| POST | /v1/reader/sponsorships | Set credits aside for an organisation you follow |
| DELETE | /v1/reader/sponsorships/{sponsorship_id} | Withdraw an offer of credits not yet redeemed |
Usage
1 operation
| Method | Path | Operation |
|---|---|---|
| GET | /v1/connect/usage | Read this month's usage |