Drippay Contracts API

Per-customer commercial agreements with custom pricing, prepaid commits, and spend caps. All contract endpoints require a secret key (`sk_*`) with the `ADMIN` role.

Business capability
Subscription Contracting BC-4240.20

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/contracts Create a per-customer contract · Create a contract #
Ask an LLM
“How do I set up an enterprise deal with a prepaid commit for a customer?”
“Can a contract cap how much a customer is billed?”
Tell an agent
Create contract {name} for customer {customerId} starting {startDate}.
Create a {discountPct}% discount contract {name} for {customerId} from {startDate} to {endDate}.
GET /v1/contracts List customer contracts · List contracts #
Ask an LLM
“Which contracts does a particular customer have with us?”
“Can I see only my active contracts, newest first?”
Tell an agent
List contracts for customer {customerId}.
Show all contracts with status {status}.
GET /v1/contracts/{id} Get a contract with balance and overrides · Get a contract #
Ask an LLM
“How much prepaid balance is left on a customer's contract?”
“What price overrides are on one specific contract?”
Tell an agent
Get contract {id}.
Show the prepaid balance and price overrides on contract {id}.
PATCH /v1/contracts/{id} Amend an active contract's terms · Amend a contract #
Ask an LLM
“How do I extend the end date on an existing contract?”
“Which contract terms can't be changed after it's created?”
Tell an agent
Extend contract {id} to end on {endDate}.
Change the discount on existing contract {id} to {discountPct}%.
DELETE /v1/contracts/{id} Cancel a contract permanently · Cancel a contract #
Ask an LLM
“Can a cancelled contract ever be reactivated?”
“What happens to the remaining prepaid balance when I cancel a contract?”
Tell an agent destructive · confirm first
Cancel contract {id}.
Terminate the customer agreement {id} so its overrides stop applying.
POST /v1/contracts/{id}/overrides Add a negotiated price override to a contract · Add a price override #
Ask an LLM
“How do I give one customer a lower per-unit rate than the default plan?”
“Can I update an existing unit price override on a contract?”
Tell an agent
Set {unitType} to {unitPriceUsd} per unit on contract {id}.
Add a negotiated rate of {unitPriceUsd} for {unitType} to contract {id}.
DELETE /v1/contracts/{id}/overrides/{unitType} Remove a price override from a contract · Remove a price override #
Ask an LLM
“How do I put a customer back on the default rate for one usage type?”
“Does the unit type have to match exactly when removing an override?”
Tell an agent destructive · confirm first
Remove the {unitType} price override from contract {id}.
Revert contract {id} to the default plan rate for {unitType}.

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-contracts-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-contracts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Drip Contracts 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:


# --- truncated at 32 KB (68 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/drippay/refs/heads/main/openapi/drippay-contracts-api-openapi.yml