---
title: "Returns aggregated information about users, that used given referral code"
method: GET
path: "/api/ReferralProgram/{referralCode}/referredUsers"
tags: ["ReferralProgram"]
---

# Returns aggregated information about users, that used given referral code

`GET /api/ReferralProgram/{referralCode}/referredUsers`

## Path parameters

- `referralCode` integer, required

## Query parameters

- `skip` integer
- `take` integer

## Response `200`

OK

- ReferredUsersResponseDTO
  - `users` ReferredUserDTO[], nullable — Orders from requested page of the search result
    - `walletAddress` AddressPropertyDTO
      - `Base64Value` string, byte, nullable — Binary representation of the property value
      - `bytesArrayValue` string, nullable — Bytes array representation of the value
      - `stringValue` string, nullable — String representation of the property value
    - `totalVolumeUSD` number, double — Total give amount's USD equivalent of all user's orders that used the referral code
    - `totalFeesUSD` number, double — Total fees' USD equivalent of all user's orders that used the referral code
    - `totalExecutedOrders` integer — Total number of user's orders that used the referral code
    - `wasInvitedByCurrentUser` boolean — Indicates whether the user is invited by the owner of the referral code passed in the request
  - `totalCount` integer — Total number of users

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/debridge/apis/debridge-liquidity-network-dln-api.md) · [All operations](https://skmtc.net/debridge/apis/debridge-liquidity-network-dln-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/debridge/debridge-liquidity-network-dln-api/revisions/ec461847e46f/schema)
