How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Payhip Coupons API

Create, list, and retrieve discount coupons.

Payhip Coupons API is one of 2 APIs that Payhip publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Coupons. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 3 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 2.0.

Requests are made against a single base URL, https://payhip.com/api/v2.

3 operations 2 paths 4 schemas 2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0
Base URL
https://payhip.com/api/v2
Authentication
API Key, API Key
Contact
Resource Areas
1

Authentication & Security 2

Payhip Coupons API declares 2 security schemes for authenticating requests. An API key is passed in the header as payhip-api-key (apiKeyAuth). An API key is passed in the header as product-secret-key (productSecretAuth).

  • apiKeyAuth — Account API key from the Developer Settings page. Used for coupon operations.
  • productSecretAuth — Per-product secret key from the Developer Settings page. Used for license key operations.

Paths & Operations 3

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

Coupons 3

Create, list, and retrieve discount coupons.

POST
/coupons
Create a coupon
createCoupon body → 200401
GET
/coupons
List coupons
listCoupons 1 param → 200401
GET
/coupons/{id}
Retrieve a coupon
getCoupon 1 param → 200401404

Schemas 4

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

CouponInput
object
11 properties 1 required
Error
object
2 properties
Coupon
CouponEnvelope
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

payhip-coupons-api-openapi.yml Raw ↑

Other APIs Payhip publishes across the network.

Payhip License Keys API
Where this information came from

This is an independent, third-party profile of Payhip Coupons API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.