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

AbacatePay Coupon API

Create and list discount coupons.

AbacatePay Coupon API is one of 6 APIs that AbacatePay publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 2 operations across 2 paths, and defines 5 schemas. It is described by OpenAPI 3.0.1, at version v1.

Requests are made against a single base URL, https://api.abacatepay.com/v1.

2 operations 2 paths 5 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
v1
Base URL
https://api.abacatepay.com/v1
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

AbacatePay Coupon API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (API Key) (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Authenticate with your AbacatePay API key as a Bearer token: Authorization: Bearer .

Paths & Operations 2

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

Coupon 2

Create and list discount coupons.

POST
/coupon/create
Create a new coupon
createCoupon body → 200401
GET
/coupon/list
List coupons
listCoupons → 200401

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are Coupon (9 properties), CreateCouponRequest (6 properties), CouponResponse (2 properties), Error (2 properties). Each schema is shown below with its type and property counts.

Error
object
2 properties
CreateCouponRequest
object
6 properties 4 required
CouponResponse
object
2 properties
Coupon
object
9 properties
Metadata
object
Arbitrary key/value metadata attached to a resource.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

abacatepay-coupon-api-openapi.yml Raw ↑

Other APIs AbacatePay publishes across the network.

AbacatePay Webhooks
AbacatePay Billing API
AbacatePay Customer API
AbacatePay Pix QR Code API
AbacatePay Withdraw API