Payments
List Payments
Returns a collection of Payments, based on the supplied filters. Only Payments with a status of paid have been successfully processed.
GET
/v2/payments
Authorization
curl --request GET \
--url https://api.whop.com/v2/payments
Headers
Authorization
string
Your API key, which can be found on the Whop Business Dashboard. You must prepend your key with the word 'Bearer', which will look like Bearer ***************************
Query Parameters
page
integer
The page number to retrieve
per
integer
The number of resources to return per page. There is a limit of 50 results per page.
status
string
The status of the Payment
membership_id
string
The Membership this Payment part of. By default this will just be the ID of the Membership, but you can expand it to get more information about the Membership by passing [membership]
in the expand
parameter.
expand
array
Whether or not to expand the User, Membership, Plan, or Product on the returned Payment. Pass an array with each object(s) you want to expand, e.g. [product, plan, membership, user]
Response
data
array
pagination
object
Pagination model
curl --request GET \
--url https://api.whop.com/v2/payments