---
title: "List affiliation payments for a user"
method: GET
path: "/v2/affiliation/{userId}/payments"
tags: ["Affiliations"]
---

# List affiliation payments for a user

`GET /v2/affiliation/{userId}/payments`

## Request

- Base URL: `https://app.metricool.com/api`
- URL: `https://app.metricool.com/api/v2/affiliation/{userId}/payments`
- Auth: none declared

## Path parameters

- `userId` integer, required

## Query parameters

- `from` string
- `to` string

## Response `200`

Payments retrieved successfully

- JsonOkListResponseAffiliationPaymentDto
  - `metadata` object
  - `page` JsonPaging
    - `next` string
  - `data` AffiliationPaymentDto[]
    - `date` string, date-time, required: Payment date and time
    - `amount` number, double, required: Payment amount
    - `status` string: Payment status. "refunded" when the payment was reversed due to a failed charge; absent otherwise

## Other responses

- `403`: User not authorized or affiliate is banned

---

[API](https://skmtc.dev/metricool/apis/metricool-api.md) · [All operations](https://skmtc.dev/metricool/apis/metricool-api/llms.txt) · [OpenAPI document](https://skmtc.dev/metricool/apis/metricool-api/revisions/cd0ca612fa01?raw)
