Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

ZeroSettle Subscriptions API

Manage subscription lifecycle (cancel, pause, resume)

ZeroSettle Subscriptions API is one of 12 APIs that ZeroSettle publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Subscriptions. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 4 operations across 4 paths, and defines 4 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://api.zerosettle.io/v1.

4 operations 4 paths 4 schemas 4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://api.zerosettle.io/v1
Authentication
API Key
Resource Areas
1

Authentication & Security 1

ZeroSettle Subscriptions API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-ZeroSettle-Key (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — Your publishable API key. Use zspktest for sandbox or zspklive for production.

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 4 POST. Each is listed below with its method, path, parameters, and response codes.

Subscriptions 4

Manage subscription lifecycle (cancel, pause, resume)

POST
/iap/subscriptions/cancel
Cancel Subscription
cancelSubscription body → 200400401404
POST
/iap/subscriptions/pause
Pause Subscription
pauseSubscription body → 200400401404
POST
/iap/subscriptions/resume
Resume Subscription
resumeSubscription body → 200400401404
POST
/iap/customer-portal-sessions
Create Customer Portal Session
createCustomerPortalSession body → 200400401404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are CancelResponse (3 properties), PauseResponse (3 properties), Error (2 properties), ResumeResponse (2 properties). Each schema is shown below with its type and property counts.

ResumeResponse
object
Response from resuming a subscription.
2 properties
PauseResponse
object
Response from pausing a subscription.
3 properties
Error
object
Error response.
2 properties 1 required
CancelResponse
object
Response from cancelling a subscription.
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

zerosettle-subscriptions-api-openapi.yml Raw ↑

Other APIs ZeroSettle publishes across the network.

ZeroSettle Cancel Flow API
ZeroSettle Checkout API
ZeroSettle Entitlements API
ZeroSettle Events API
ZeroSettle Migration API
ZeroSettle Products API
ZeroSettle Restore API
ZeroSettle StoreKit API
ZeroSettle Transactions API
ZeroSettle Upgrade Offers API
ZeroSettle User Offer API