payments
public

List Payments

List payments.

Scopes: payments:read

get/v1/payments/

Request

  • Base URL
    https://api.polar.sh
  • URL
    https://api.polar.sh/v1/payments/
  • Auth
    • OpenID Connect (/.well-known/openid-configuration, scopes: payments:read)
    • or HTTP bearer
    • or HTTP bearer

Query parameters

string uuid4

The organization ID.

OR
string[]
Example:1dbfc517-0bbf-4301-9ba8-555ca42b9737
string uuid4
OR
string[]
string uuid4
OR
string[]
string uuid4

The customer ID.

OR
string[]
'pending' | 'succeeded' | 'failed'
OR
PaymentStatus[]
string
OR
string[]
string
OR
string[]
pageinteger

Page number, defaults to 1.

limitinteger

Size of a page, defaults to 10. Maximum is 100.

sortingPaymentSortProperty[] nullable

Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign - before the criteria name to sort by descending order.

Response

Successful Response

Example response

{
  "items": [
    {
      "amount": 1000,
      "currency": "usd",
      "method": "card",
      "decline_reason": "insufficient_funds",
      "decline_message": "Your card has insufficient funds.",
      "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737",
      "checkout_id": "e4b478fa-cd25-4253-9f1f-8a41e6370ede",
      "order_id": "e4b478fa-cd25-4253-9f1f-8a41e6370ede",
      "method_metadata": {
        "brand": "visa",
        "last4": "4242"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 11 revisions of this API.