GET
/
v5
/
app
/
payments
curl --request GET \
  --url https://api.whop.com/api/v5/app/payments \
  --header 'Authorization: Bearer <token>'
{
  "pagination": {
    "current_page": 123,
    "total_pages": 123,
    "next_page": 123,
    "prev_page": 123,
    "total_count": 123
  },
  "data": [
    {
      "id": "<string>",
      "membership_id": "<string>",
      "product_id": "<string>",
      "user_id": "<string>",
      "plan_id": "<string>",
      "company_id": "<string>",
      "line_item_id": "<string>",
      "created_at": 123,
      "paid_at": 123,
      "refunded_at": 123,
      "last_payment_attempt": 123,
      "next_payment_attempt": 123,
      "status": "paid",
      "subtotal": 123,
      "final_amount": 123,
      "currency": "usd",
      "refunded_amount": 123,
      "payments_failed": 123,
      "checkout_id": "<string>",
      "card_brand": "<string>",
      "card_last_4": "<string>",
      "funding_method": "credit",
      "wallet_type": "apple_pay",
      "calculated_statement_descriptor": "<string>",
      "issuer_identification_number": "<string>",
      "billing_usage_ids": [
        "<string>"
      ],
      "company_buyer_id": "<string>"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

company_id
string

An ID of a company to filter by, which will look like biz_*************

product_id
string

An ID of a product to filter by, which will look like prod_*************

in_app_payments
boolean

A boolean of whether or not to return only payments made with a line item created by the app. If false, returns all payments without a line item.

page
integer
default: 1

The page number to retrieve

per
integer
default: 10

The number of resources to return per page. There is a limit of 50 results per page.

Response

200 - application/json
pagination
object
required
data
object[]
required