Recharge Discounts API
Discount codes applied to checkouts, addresses, and charges.
Recharge Discounts API is one of 10 APIs that Recharge publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Discounts. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.
This API exposes 5 operations across 2 paths, and defines 1 schema. It is described by OpenAPI 3.0.3, at version 2021-11.
Requests are made against a single base URL, https://api.rechargeapps.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Recharge Discounts API declares
1 security scheme
for authenticating requests.
An API key is passed in the header as X-Recharge-Access-Token (apiToken).
By default, every request must be authenticated.
apiToken— Store API token generated in the Recharge merchant portal under Apps and integrations.
Paths & Operations 5
Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.
Discount codes applied to checkouts, addresses, and charges.
Schemas 1
The contract defines 1 schema that model the data the API accepts and returns. The most detailed is Discount (5 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Recharge 9
Other APIs Recharge publishes across the network.