# DeveloperAccountDto

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

A developer's portal access to one merchant or one reseller, as read by the back office.

## Fields
- `id` (string(uuid))
- `creationTime` (string(date-time)): The date and time when this entity was created.
- `creatorId` (string(uuid)): The ID of the user who created this entity. (nullable)
- `lastModificationTime` (string(date-time)): The date and time when this entity was last modified. (nullable)
- `lastModifierId` (string(uuid)): The ID of the user who last modified this entity. (nullable)
- `isDeleted` (boolean): Indicates whether this entity has been deleted.
- `deleterId` (string(uuid)): The ID of the user who deleted this entity, if it is deleted. (nullable)
- `deletionTime` (string(date-time)): The date and time when this entity was deleted, if it is deleted. (nullable)
- `identityUserId` (string(uuid)): The identity user that holds the credentials this account signs in with. (nullable)
- `merchantId` (string(uuid)): The merchant this account may act for, or `null` when the account is scoped to a  reseller. Exactly one of this and `resellerId` is set. (nullable)
- `resellerId` (string(uuid)): The reseller this account is scoped to, or `null` when the account is scoped to a  merchant. Exactly one of this and `merchantId` is set. (nullable)
- `role` ([DeveloperPortalRole](https://devportal.demo.winkpg.io/docs/api/models/DeveloperPortalRole.md)): The portal capability the account carries. (nullable)
  Values:
  - `Admin`: Full portal access: reads everything the read-only role does and additionally manages the merchant's portal configuration.
  - `ReadOnly`: Read-only portal access.
- `status` ([DeveloperAccountStatus](https://devportal.demo.winkpg.io/docs/api/models/DeveloperAccountStatus.md)): Whether the account may currently sign in. (nullable)
  Values:
  - `Active`: The account may sign in.
  - `Disabled`: Access is revoked; the row and its history are retained.
- `lastLoginAt` (string(date-time)): When the account last signed in, in UTC, or `null` if it never has. The contract stays  UTC in and UTC out; display surfaces convert it to the viewer's time zone. (nullable)
- `concurrencyStamp` (string): Optimistic-concurrency token, echoed back on update. (nullable)
- `user` ([DeveloperPortalUserSummaryDto](https://devportal.demo.winkpg.io/docs/api/models/DeveloperPortalUserSummaryDto.md)): The identity half of this grant: who the developer is, and whether they already hold a  back-office role. `null` when the reader did not enrich the row.
  Fields:
  - `id` (string(uuid))
  - `userName` (string): The user's sign-in name. (nullable)
  - `email` (string): The user's email address. (nullable)
  - `hasBackOfficeRole` (boolean): Whether the user already holds a back-office role, i.e. one carrying a `RoleType` and  therefore sitting on the Admin > Reseller > Merchant ladder. The two portal-only roles  deliberately carry no `RoleType`, so a developer who has never been given a gateway  account reads as `false` here. (nullable)
  - `displayName` (string): The label to show for this user: the sign-in name where there is one, the email otherwise,  and the bare id as a last resort so a row never renders blank. (nullable, read only)

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
