Drippay Coupons API

Coupons and promotion codes for discounts.

Business capability
Discount & Promotion Management BC-440.30

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1/coupons Create a coupon · Create a coupon #
Ask an LLM
“How do I set up a new discount coupon?”
“Can I create a coupon that promotion codes can later point to?”
Tell an agent
Create a new coupon.
Set up a discount coupon for my customers.
GET /v1/coupons List coupons · List coupons #
Ask an LLM
“Which discount coupons have I created?”
“Can I see all my coupons in one place?”
Tell an agent
List my coupons.
Show every discount coupon on the account.
GET /v1/coupons/{id} Get a coupon · Get a coupon #
Ask an LLM
“What discount does a specific coupon give, and how often has it been redeemed?”
“Can I look up a single coupon by ID?”
Tell an agent
Show coupon {id}.
Get the details of coupon {id}.
DELETE /v1/coupons/{id} Deactivate a coupon · Deactivate a coupon (soft delete) #
Ask an LLM
“How do I switch off a coupon so nobody can use it anymore?”
“Is deleting a coupon a hard delete or a deactivation?”
Tell an agent destructive · confirm first
Deactivate coupon {id}.
Turn off coupon {id}.
POST /v1/promotion-codes Create a promotion code · Create a promotion code #
Ask an LLM
“How do I give customers a code they can type in to get a coupon's discount?”
“Can I create a new promo code for an existing coupon?”
Tell an agent
Create a promotion code.
Issue a new promo code customers can redeem.
GET /v1/promotion-codes List promotion codes · List promotion codes #
Ask an LLM
“Which customer-facing promo codes exist right now?”
“Can I list all the promotion codes I've issued?”
Tell an agent
List my promotion codes.
Show every promo code I've created.
POST /v1/promotion-codes/redeem Redeem a promotion code against an amount · Redeem a promotion code against a charge or invoice #
Ask an LLM
“How do I apply a promo code to a charge and get the discounted net amount?”
“What checks run when a customer redeems a promotion code?”
Tell an agent
Redeem a promotion code against this invoice amount.
Apply a promo code to a charge and return the discount.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/drippay:drippay-coupons-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

drippay-coupons-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Drip Coupons API
  description: '# Drip API


    **Usage-based billing + execution ledger.**


    ---


    ## 60-Second Quickstart (Core SDK)


    ### 1.'
  version: 1.0.0
  contact:
    name: Drip Support
    email: support@drippay.dev
  x-logo:
    url: https://drippay.dev/logo.svg
    altText: Drip
servers:
- url: https://api.drippay.dev
  description: Production
- url: http://localhost:3001
  description: Development
security:
- bearerAuth: []
tags:
- name: Coupons
  description: Coupons and promotion codes for discounts.
paths:
  /v1/coupons:
    post:
      operationId: createCoupon
      summary: Create a coupon
      tags:
      - Coupons
      responses:
        '200':
          description: Default Response
    get:
      operationId: listCoupons
      summary: List coupons
      tags:
      - Coupons
      responses:
        '200':
          description: Default Response
  /v1/coupons/{id}:
    get:
      operationId: getCoupon
      summary: Get a coupon
      tags:
      - Coupons
      parameters:
      - schema:
          type: string
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
    delete:
      operationId: deactivateCoupon
      summary: Deactivate a coupon (soft delete)
      tags:
      - Coupons
      parameters:
      - schema:
          type: string
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
  /v1/promotion-codes:
    post:
      operationId: createPromotionCode
      summary: Create a promotion code
      tags:
      - Coupons
      responses:
        '200':
          description: Default Response
    get:
      operationId: listPromotionCodes
      summary: List promotion codes
      tags:
      - Coupons
      responses:
        '200':
          description: Default Response
  /v1/promotion-codes/redeem:
    post:
      operationId: redeemPromotionCode
      summary: Redeem a promotion code against a charge or invoice
      tags:
      - Coupons
      description: 'Apply a promotion code to a gross amount. Returns the discount amount, the

        new net amount, and the redemption record. Increments the redeem counters

        on both the coupon and the promotion code atomically.


        Validates: code exists, coupon active, within validity window, not at

        redemption cap (global, per-code, per-customer), and (if restricted)

        matches the redeeming customer.'
      responses:
        '200':
          description: Default Response
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'API key from Drip Dashboard. Format: `sk_live_...` or `sk_test_...`'