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 Upgrade Offers API

Subscription upgrade/downgrade offers

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

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

This API exposes 3 operations across 3 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.

3 operations 3 paths 4 schemas 1 GET2 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 Upgrade Offers 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 3

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

Upgrade Offers 3

Subscription upgrade/downgrade offers

GET
/iap/upgrade-offer
Get Upgrade Offer
getUpgradeOffer 2 params → 200401
POST
/iap/upgrade-offer/execute
Execute Upgrade Offer
executeUpgradeOffer body → 200400401404
POST
/iap/upgrade-offer/respond
Respond to Upgrade Offer
respondUpgradeOffer body → 200401

Schemas 4

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

UpgradeOffer
object
Upgrade offer eligibility and options.
4 properties
UpgradeExecuteResponse
object
Response from executing an upgrade.
4 properties
Price
object
A price in micros (1/1,000,000 of the currency unit).
2 properties
Error
object
Error response.
2 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

zerosettle-upgrade-offers-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 Subscriptions API
ZeroSettle Transactions API
ZeroSettle User Offer API