PayNow

ApiKeyDto

idFlakeIdRequired
created_atstringRequired
When the API key was created.
created_byActorDtoRequired
Represents the actor that performed an action, such as the user, API key or game server that created or changed a record.
idFlakeIdOptional
typeenumRequired
Possible enum values
  • anonymous
  • user
  • api_key
  • customer
  • game_server
  • internal
  • admin
  • platform
  • global_customer
namestringRequired
The name of the API key.
role_idFlakeIdRequired
store_idFlakeIdRequired
tokenstringOptional
The secret token used to authenticate as this API key. Only returned when the key is created and when its token is reset.
token_reset_atstringOptional
When the API key's token was last reset.
updated_atstringOptional
When the API key was last updated.
updated_byActorDtoOptional
Represents the actor that performed an action, such as the user, API key or game server that created or changed a record.
idFlakeIdOptional
typeenumRequired
Possible enum values
  • anonymous
  • user
  • api_key
  • customer
  • game_server
  • internal
  • admin
  • platform
  • global_customer
Example
{
  "id": "411486491630370816",
  "created_at": "2024-01-01T00:00:00Z",
  "created_by": {
    "id": "411486491630370816",
    "type": "anonymous"
  },
  "name": "string",
  "role_id": "411486491630370816",
  "store_id": "411486491630370816",
  "token": "string",
  "token_reset_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z",
  "updated_by": {
    "id": "411486491630370816",
    "type": "anonymous"
  }
}