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

Whop Payments API

Charges, refunds, retries, and voids.

Whop Payments API is one of 12 APIs that Whop publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

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

Requests are made against 2 base URLs: https://api.whop.com/api/v1, https://sandbox-api.whop.com/api/v1.

6 operations 5 paths 2 schemas 2 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://api.whop.com/api/v1
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

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

  • bearerAuth — Bearer token authentication. Use a Company/Account API key or an App API key in the Authorization: Bearer header. OAuth access tokens are used when acting on b…

Paths & Operations 6

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

Payments 6

Charges, refunds, retries, and voids.

GET
/payments
List payments
listPayments 17 params → 200
POST
/payments
Create a payment
createPayment body → 201
GET
/payments/{id}
Retrieve a payment
retrievePayment 1 param → 200
POST
/payments/{id}/refund
Refund a payment
refundPayment 1 param → 200
POST
/payments/{id}/retry
Retry a failed payment
retryPayment 1 param → 200
POST
/payments/{id}/void
Void a payment
voidPayment 1 param → 200

Schemas 2

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

Payment
object
A payment. Fields taken from the documented List payments (PaymentListItem) response.
20 properties
PageInfo
object
Cursor pagination metadata.
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

whop-payments-api-openapi.yml Raw ↑

Other APIs Whop publishes across the network.

Whop GraphQL API
Whop Realtime WebSocket API
Whop Checkout Configurations API
Whop Companies API
Whop Memberships API
Whop Plans API
Whop Products API
Whop Promo Codes API
Whop Transfers API
Whop Users API
Whop Webhooks API