# Member transactions

`GET https://api.nexus.gg/v1/attributions/transactions/member/{memberSlugOrID}`

Returns one page of a single group member's transactions, matched by their code (case-insensitive) or their Nexus `id` passed as `memberSlugOrID`. A member who has never had a code generated or linked cannot be found through this route, even by a correct `id`, because the lookup requires at least one linked code to exist; it returns 404, the same as for an unknown member.

This route applies no default sort order when `sort` is omitted. When `sort=transactionDate` is passed without an explicit direction, it defaults to ascending.

**NOTE**: This method uses **secret** (`nexus_sk_...`) API keys and should never be called from or embedded into the gaming client. These routes should ONLY be accessed from your back-end services.

## Authorizations

- `X-SHARED-SECRET` (string, header, required) - Send your **secret** API key (`nexus_sk_...`) in the `X-SHARED-SECRET` header. [Generate one](/authentication/api-keys/) in the Publisher Dashboard.

## Path parameters

- `memberSlugOrID` (string, required) - The member's code (matched case-insensitively) or their Nexus id. A member with no linked code returns 404 even by a correct id.

## Query parameters

- `page` (integer) - Page of records to return. Defaults to 1.
- `pageSize` (integer) - Maximum number of records to return. Defaults to 100.
- `sort` (string) - Property and sort direction. If omitted, results are returned in unspecified order; if a direction is omitted, ascending is used.
- `groupId` (string) - Group to retrieve transactions for. If your API key is scoped to a single attribution group, that group is always used regardless of this value. If omitted and your key is not group-scoped, the publisher must have a default attribution group (a request without one returns 400); that group confirms the member is discoverable, and the response includes the member's transactions across every attribution group they belong to.

## Responses

### 200

results matching criteria

#### Body (`application/json`)

- `id` (string)
- `name` (string)
- `nexusUrl` (string) - Url of this creators nexus. Ie, https://nexus.gg/{nexusUrl}
- `code` (string) - Creator's support-a-creator code
- `profileImage` (string)
- `currentPage` (integer)
- `currentPageSize` (integer)
- `transactions` (array of object)

### 404

not found
