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

userIdinteger required

ID of the affiliate user

Query parameters

fromstring

From Date and time ISO 8601 format. e.g. 2021-01-01T10:00:00+01:00 (optional, if not provided returns all from the beginning)

tostring

To Date and time in ISO 8601 format. e.g. 2021-09-10T03:30:00+01:00 (optional, if not provided returns all until now)

Response

Payments retrieved successfully

metadataobject

Example response

{
  "data": [
    {
      "amount": 150.5,
      "status": "refunded"
    }
  ]
}

Changes

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