{
  "info": {
    "_postman_id": "airsoft-defence-api-collection-2026-04-18",
    "name": "Airsoft Defence API Collection",
    "description": "Companion to the Airsoft Defence API reference v1.2. Both URL variables default to loopback. Set base_url to your live or development API root (including /api) and web_url to the matching site root. Use a local or test environment and replace the synthetic IDs before sending requests. Copy the first-party or scoped OAuth bearer token to bearer_token. Set legacy_api_token only for GET /api/user. Login, 2FA, and OAuth secrets are blank by default. Requests that create, update, or delete records should be sent individually against test fixtures.",
    "schema": "https://schema.postman.com/json/collection/v2.1.0/collection.json",
    "version": "1.2.0"
  },
  "variable": [
    {
      "key": "store_integration_installation_id",
      "value": "a66f8330-848f-4eb7-879c-0820c6d37b5d",
      "type": "string",
      "description": "Persistent UUID per installation and Airsoft Defence environment"
    },
    {
      "key": "store_integration_callback",
      "value": "https://shop.example.com/integrations/airsoft-defence/callback",
      "type": "string",
      "description": "Exact HTTPS integration callback"
    },
    {
      "key": "store_integration_code_challenge",
      "value": "",
      "type": "string",
      "description": "S256 challenge generated from the integration server's verifier"
    },
    {
      "key": "store_integration_attempt_id",
      "value": "5c025a50-cf56-4d7e-9b21-ab62cd487465",
      "type": "string",
      "description": "Attempt UUID returned by connection start"
    },
    {
      "key": "store_integration_verifier",
      "value": "",
      "type": "string",
      "description": "Original verifier held by the integration server"
    },
    {
      "key": "store_integration_approval_proof",
      "value": "",
      "type": "string",
      "description": "Single-use proof delivered by browser form POST to the callback"
    },
    {
      "key": "base_url",
      "value": "http://127.0.0.1/api",
      "type": "string",
      "description": "API root including /api, without a trailing slash"
    },
    {
      "key": "bearer_token",
      "value": "",
      "type": "string",
      "description": "First-party mobile token or a Passport bearer token with the required scopes"
    },
    {
      "key": "temp_token",
      "value": "",
      "type": "string",
      "description": "Temporary token returned by login when 2FA is required"
    },
    {
      "key": "oauth_client_id",
      "value": "00000000-0000-4000-8000-000000000105",
      "type": "string",
      "description": "Synthetic example; replace with the integration client UUID"
    },
    {
      "key": "oauth_client_secret",
      "value": "",
      "type": "string",
      "description": "OAuth client secret for token requests"
    },
    {
      "key": "redirect_uri",
      "value": "https://example.test/oauth/callback",
      "type": "string",
      "description": "Redirect URI for interactive OAuth flows"
    },
    {
      "key": "user_id",
      "value": "00000000-0000-4000-8000-000000000101",
      "type": "string",
      "description": "Synthetic user UUID"
    },
    {
      "key": "player_id",
      "value": "00000000-0000-4000-8000-000000000101",
      "type": "string",
      "description": "Synthetic player UUID"
    },
    {
      "key": "site_id",
      "value": "00000000-0000-4000-8000-000000000104",
      "type": "string",
      "description": "Synthetic site UUID"
    },
    {
      "key": "store_id",
      "value": "00000000-0000-4000-8000-000000000122",
      "type": "string",
      "description": "Synthetic store UUID"
    },
    {
      "key": "role_id",
      "value": "7",
      "type": "string",
      "description": "Example role identifier"
    },
    {
      "key": "game_id",
      "value": "b2a10f7d-be01-49a6-8591-b3676b9e0c26",
      "type": "string",
      "description": "Example game UUID"
    },
    {
      "key": "penalty_point_id",
      "value": "9de44ff0-3a03-4aa8-8a6e-9df5458f5a89",
      "type": "string",
      "description": "Example penalty point UUID"
    },
    {
      "key": "penalty_point_type_id",
      "value": "cf393dc6-9bf1-4a4f-88aa-1d0f75c1e0d4",
      "type": "string",
      "description": "Example penalty point type UUID"
    },
    {
      "key": "police_hold_id",
      "value": "018f4a2b-c3e1-7000-a1b2-3c4d5e6f7a8b",
      "type": "string",
      "description": "Example police hold UUID"
    },
    {
      "key": "lookup_access_id",
      "value": "018f4a2b-c3e1-7000-a1b2-3c4d5e6f7a8b",
      "type": "string",
      "description": "Example player lookup access UUID"
    },
    {
      "key": "member_id",
      "value": "EXAMPLE0001",
      "type": "string",
      "description": "Synthetic member number; replace with a test member number"
    },
    {
      "key": "lookup_code",
      "value": "SI_ABC12345",
      "type": "string",
      "description": "Synthetic URI lookup code; replace with an issued site or store code"
    },
    {
      "key": "lookup_grant",
      "value": "",
      "type": "string",
      "description": "Single-use lookup grant token returned by player search for cross-player profile access"
    },
    {
      "key": "metric",
      "value": "user_count",
      "type": "string",
      "description": "Metrics endpoint query parameter value"
    },
    {
      "key": "web_url",
      "type": "string",
      "value": "http://127.0.0.1",
      "description": "Site root for browser consent, without /api or a trailing slash"
    },
    {
      "key": "legacy_api_token",
      "type": "string",
      "value": "",
      "description": "Legacy account API token for GET /api/user"
    },
    {
      "key": "login_email",
      "type": "string",
      "value": "",
      "description": "Email of your test account"
    },
    {
      "key": "login_password",
      "type": "string",
      "value": "",
      "description": "Password of your test account"
    },
    {
      "key": "new_password",
      "type": "string",
      "value": "",
      "description": "New password for the test password-change request"
    },
    {
      "key": "totp_code",
      "type": "string",
      "value": "",
      "description": "Current six-digit authenticator code"
    },
    {
      "key": "recovery_code",
      "type": "string",
      "value": "",
      "description": "Unused recovery code for the test account"
    },
    {
      "key": "oauth_scope",
      "type": "string",
      "value": "profile:read",
      "description": "Space-separated scopes supported by this integration"
    },
    {
      "key": "oauth_state",
      "type": "string",
      "value": "",
      "description": "Unique random OAuth state for this consent attempt; verify it on callback"
    },
    {
      "key": "oauth_authorization_code",
      "type": "string",
      "value": "",
      "description": "Single-use code received at the registered callback URL"
    },
    {
      "key": "lookup_otp",
      "type": "string",
      "value": "",
      "description": "One-time lookup passcode supplied by the fixture player"
    }
  ],
  "item": [
    {
      "name": "Authentication & 2FA",
      "item": [
        {
          "name": "Login",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"{{login_email}}\",\n  \"password\": \"{{login_password}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/login",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "login"
              ]
            },
            "description": "Authenticate with email and password. If 2FA is enabled the response includes requires_2fa and temp_token; otherwise it returns a token.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 - no two-factor challenge",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"email\": \"{{login_email}}\",\n  \"password\": \"{{login_password}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/login",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "login"
                  ]
                },
                "description": "Authenticate with email and password. If 2FA is enabled the response includes requires_2fa and temp_token; otherwise it returns a token.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"token\": \"EXAMPLE_SANCTUM_TOKEN\",\n  \"user\": {\n    \"id\": \"00000000-0000-4000-8000-000000000101\",\n    \"name\": \"Example Player\",\n    \"email\": \"player@example.test\"\n  }\n}"
            },
            {
              "name": "200 - two-factor challenge required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"email\": \"{{login_email}}\",\n  \"password\": \"{{login_password}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/login",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "login"
                  ]
                },
                "description": "Authenticate with email and password. If 2FA is enabled the response includes requires_2fa and temp_token; otherwise it returns a token.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"requires_2fa\": true,\n  \"temp_token\": \"EXAMPLE_TEMP_TOKEN\",\n  \"message\": \"Two-factor authentication code required.\"\n}"
            },
            {
              "name": "401 - invalid credentials",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"email\": \"{{login_email}}\",\n  \"password\": \"{{login_password}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/login",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "login"
                  ]
                },
                "description": "Authenticate with email and password. If 2FA is enabled the response includes requires_2fa and temp_token; otherwise it returns a token.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Invalid credentials\"\n}"
            },
            {
              "name": "423 - account on hold",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"email\": \"{{login_email}}\",\n  \"password\": \"{{login_password}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/login",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "login"
                  ]
                },
                "description": "Authenticate with email and password. If 2FA is enabled the response includes requires_2fa and temp_token; otherwise it returns a token.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "Locked",
              "code": 423,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"This account is currently on hold.\"\n}"
            }
          ]
        },
        {
          "name": "2FA Verify",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"temp_token\": \"{{temp_token}}\",\n  \"code\": \"{{totp_code}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/two-factor/verify",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "two-factor",
                "verify"
              ]
            },
            "description": "Verify a 2FA code using the temp_token returned by login.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 - code accepted",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"temp_token\": \"{{temp_token}}\",\n  \"code\": \"{{totp_code}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/two-factor/verify",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "two-factor",
                    "verify"
                  ]
                },
                "description": "Verify a 2FA code using the temp_token returned by login.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"token\": \"EXAMPLE_SANCTUM_TOKEN\",\n  \"user\": {\n    \"id\": \"00000000-0000-4000-8000-000000000101\",\n    \"name\": \"Example Player\",\n    \"email\": \"player@example.test\"\n  }\n}"
            },
            {
              "name": "401 - Token Expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"temp_token\": \"{{temp_token}}\",\n  \"code\": \"{{totp_code}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/two-factor/verify",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "two-factor",
                    "verify"
                  ]
                },
                "description": "Verify a 2FA code using the temp_token returned by login.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Invalid or expired temporary token. Please login again.\"\n}"
            },
            {
              "name": "400 - 2FA Not Enabled",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"temp_token\": \"{{temp_token}}\",\n  \"code\": \"{{totp_code}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/two-factor/verify",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "two-factor",
                    "verify"
                  ]
                },
                "description": "Verify a 2FA code using the temp_token returned by login.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Two-factor authentication is not enabled for this account.\"\n}"
            },
            {
              "name": "422 - Invalid Code",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"temp_token\": \"{{temp_token}}\",\n  \"code\": \"{{totp_code}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/two-factor/verify",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "two-factor",
                    "verify"
                  ]
                },
                "description": "Verify a 2FA code using the temp_token returned by login.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"The provided code is invalid.\"\n}"
            }
          ]
        },
        {
          "name": "2FA Recovery",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"temp_token\": \"{{temp_token}}\",\n  \"recovery_code\": \"{{recovery_code}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/two-factor/recovery",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "two-factor",
                "recovery"
              ]
            },
            "description": "Verify a recovery code instead of a TOTP code using the temp_token from login.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"temp_token\": \"{{temp_token}}\",\n  \"recovery_code\": \"{{recovery_code}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/two-factor/recovery",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "two-factor",
                    "recovery"
                  ]
                },
                "description": "Verify a recovery code instead of a TOTP code using the temp_token from login.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"token\": \"EXAMPLE_ACCESS_TOKEN\",\n  \"user\": {\n    \"id\": \"00000000-0000-4000-8000-000000000101\",\n    \"name\": \"John Blake\",\n    \"email\": \"user@example.test\"\n  }\n}"
            },
            {
              "name": "401 - Token Expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"temp_token\": \"{{temp_token}}\",\n  \"recovery_code\": \"{{recovery_code}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/two-factor/recovery",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "two-factor",
                    "recovery"
                  ]
                },
                "description": "Verify a recovery code instead of a TOTP code using the temp_token from login.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Invalid or expired temporary token. Please login again.\"\n}"
            },
            {
              "name": "400 - 2FA Not Enabled",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"temp_token\": \"{{temp_token}}\",\n  \"recovery_code\": \"{{recovery_code}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/two-factor/recovery",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "two-factor",
                    "recovery"
                  ]
                },
                "description": "Verify a recovery code instead of a TOTP code using the temp_token from login.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Two-factor authentication is not enabled for this account.\"\n}"
            },
            {
              "name": "422 - Invalid Recovery Code",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"temp_token\": \"{{temp_token}}\",\n  \"recovery_code\": \"{{recovery_code}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/two-factor/recovery",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "two-factor",
                    "recovery"
                  ]
                },
                "description": "Verify a recovery code instead of a TOTP code using the temp_token from login.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"The provided recovery code is invalid.\"\n}"
            }
          ]
        },
        {
          "name": "Check API Session",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/session-check",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "session-check"
              ]
            },
            "description": "Check the bearer credential. A first-party Sanctum token refreshes its inactivity timestamp."
          },
          "response": [
            {
              "name": "200 - Valid Sanctum Token",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/session-check",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "session-check"
                  ]
                },
                "description": "Check the bearer credential. A first-party Sanctum token refreshes its inactivity timestamp."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"authenticated\": true,\n  \"sanctum_token_refreshed\": true,\n  \"inactive_expiry_at\": \"2026-10-01T12:34:56+00:00\"\n}"
            },
            {
              "name": "200 - Valid OAuth Token",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/session-check",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "session-check"
                  ]
                },
                "description": "Check the bearer credential. A first-party Sanctum token refreshes its inactivity timestamp."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"authenticated\": true,\n  \"sanctum_token_refreshed\": false,\n  \"inactive_expiry_at\": null\n}"
            },
            {
              "name": "401 - Invalid / Missing Token",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/session-check",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "session-check"
                  ]
                },
                "description": "Check the bearer credential. A first-party Sanctum token refreshes its inactivity timestamp."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Unauthenticated.\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Connect a Store Integration",
      "description": "Use these server requests with the Airsoft Defence browser consent and the integration callback. Use test fixtures and keep the verifier, proof and client credentials private.",
      "item": [
        {
          "name": "Start store integration connection",
          "request": {
            "method": "POST",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"installation_id\": \"{{store_integration_installation_id}}\",\n  \"redirect_uri\": \"{{store_integration_callback}}\",\n  \"code_challenge\": \"{{store_integration_code_challenge}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/integrations/store/connections",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "integrations",
                "store",
                "connections"
              ]
            },
            "description": "Set the S256 challenge and HTTPS callback before sending. Open the returned approval URL in the retailer's browser."
          },
          "response": [
            {
              "name": "Created",
              "originalRequest": {
                "method": "POST",
                "auth": {
                  "type": "noauth"
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"installation_id\": \"{{store_integration_installation_id}}\",\n  \"redirect_uri\": \"{{store_integration_callback}}\",\n  \"code_challenge\": \"{{store_integration_code_challenge}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/integrations/store/connections",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "integrations",
                    "store",
                    "connections"
                  ]
                },
                "description": "Set the S256 challenge and HTTPS callback before sending. Open the returned approval URL in the retailer's browser."
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"attempt_id\": \"5c025a50-cf56-4d7e-9b21-ab62cd487465\",\n  \"approval_url\": \"http://127.0.0.1/integrations/store/connect/5c025a50-cf56-4d7e-9b21-ab62cd487465\",\n  \"expires_at\": \"2026-11-27T14:10:00+00:00\"\n}"
            }
          ]
        },
        {
          "name": "Redeem store integration connection",
          "request": {
            "method": "POST",
            "auth": {
              "type": "noauth"
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"code_verifier\": \"{{store_integration_verifier}}\",\n  \"approval_proof\": \"{{store_integration_approval_proof}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/integrations/store/connections/{{store_integration_attempt_id}}/redeem",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "integrations",
                "store",
                "connections",
                "{{store_integration_attempt_id}}",
                "redeem"
              ]
            },
            "description": "Redeem after the integration callback receives the approval proof. Use the returned authorization code and original verifier at the token endpoint."
          },
          "response": [
            {
              "name": "OK",
              "originalRequest": {
                "method": "POST",
                "auth": {
                  "type": "noauth"
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"code_verifier\": \"{{store_integration_verifier}}\",\n  \"approval_proof\": \"{{store_integration_approval_proof}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/integrations/store/connections/{{store_integration_attempt_id}}/redeem",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "integrations",
                    "store",
                    "connections",
                    "{{store_integration_attempt_id}}",
                    "redeem"
                  ]
                },
                "description": "Redeem after the integration callback receives the approval proof. Use the returned authorization code and original verifier at the token endpoint."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"client_id\": \"00000000-0000-4000-8000-000000000105\",\n  \"client_secret\": \"EXAMPLE_INSTALLATION_SECRET\",\n  \"authorization_code\": \"EXAMPLE_PASSPORT_CODE\",\n  \"redirect_uri\": \"https://shop.example.com/integrations/airsoft-defence/callback\",\n  \"scope\": \"user:limited\",\n  \"store\": {\n    \"id\": \"00000000-0000-4000-8000-000000000122\",\n    \"name\": \"Example Airsoft Store\"\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "OAuth2 Integration",
      "item": [
        {
          "name": "Create OAuth Client",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Partner System Integration\",\n  \"redirect_uri\": \"{{redirect_uri}}\",\n  \"description\": \"System for partner integration\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/oauth/clients",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "oauth",
                "clients"
              ]
            },
            "description": "Create a Passport OAuth client owned by the authenticated user."
          },
          "response": [
            {
              "name": "201 - Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Partner System Integration\",\n  \"redirect_uri\": \"{{redirect_uri}}\",\n  \"description\": \"System for partner integration\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/oauth/clients",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "oauth",
                    "clients"
                  ]
                },
                "description": "Create a Passport OAuth client owned by the authenticated user."
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"data\": {\n    \"id\": \"00000000-0000-4000-8000-000000000105\",\n    \"name\": \"My Integration\",\n    \"description\": \"Integration with external system\",\n    \"client_id\": \"00000000-0000-4000-8000-000000000105\",\n    \"client_secret\": \"EXAMPLE_CLIENT_SECRET\",\n    \"scopes\": [\n      \"player:read\",\n      \"player:create\"\n    ],\n    \"is_active\": true,\n    \"created_at\": \"2026-02-24T10:00:00Z\"\n  },\n  \"message\": \"OAuth client created successfully. Store the client_secret securely!\"\n}"
            }
          ]
        },
        {
          "name": "List OAuth Clients",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/oauth/clients",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "oauth",
                "clients"
              ]
            },
            "description": "List OAuth clients owned by the authenticated user."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/oauth/clients",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "oauth",
                    "clients"
                  ]
                },
                "description": "List OAuth clients owned by the authenticated user."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"00000000-0000-4000-8000-000000000105\",\n      \"name\": \"My Integration\",\n      \"description\": \"Integration with external system\",\n      \"scopes\": [\n        \"player:read\",\n        \"player:create\"\n      ],\n      \"is_active\": true,\n      \"last_used_at\": \"2026-02-24T14:30:00Z\",\n      \"created_at\": \"2026-02-24T10:00:00Z\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Get OAuth Client",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/oauth/clients/{{oauth_client_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "oauth",
                "clients",
                "{{oauth_client_id}}"
              ]
            },
            "description": "Get one OAuth client by ID."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/oauth/clients/{{oauth_client_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "oauth",
                    "clients",
                    "{{oauth_client_id}}"
                  ]
                },
                "description": "Get one OAuth client by ID."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"data\": {\n    \"id\": \"00000000-0000-4000-8000-000000000105\",\n    \"name\": \"My Integration\",\n    \"description\": \"Integration with external system\",\n    \"scopes\": [\n      \"player:read\"\n    ],\n    \"is_active\": true\n  }\n}"
            }
          ]
        },
        {
          "name": "Update OAuth Client",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Partner Integration v2\",\n  \"description\": \"Updated purpose\",\n  \"is_active\": true\n}"
            },
            "url": {
              "raw": "{{base_url}}/oauth/clients/{{oauth_client_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "oauth",
                "clients",
                "{{oauth_client_id}}"
              ]
            },
            "description": "Update mutable fields on an OAuth client."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Partner Integration v2\",\n  \"description\": \"Updated purpose\",\n  \"is_active\": true\n}"
                },
                "url": {
                  "raw": "{{base_url}}/oauth/clients/{{oauth_client_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "oauth",
                    "clients",
                    "{{oauth_client_id}}"
                  ]
                },
                "description": "Update mutable fields on an OAuth client."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"data\": {\n    \"id\": \"00000000-0000-4000-8000-000000000105\",\n    \"name\": \"Partner Integration v2\",\n    \"description\": \"Updated purpose\",\n    \"is_active\": true\n  },\n  \"message\": \"OAuth client updated successfully\"\n}"
            }
          ]
        },
        {
          "name": "Revoke OAuth Client",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/oauth/clients/{{oauth_client_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "oauth",
                "clients",
                "{{oauth_client_id}}"
              ]
            },
            "description": "Disable an OAuth client and invalidate its tokens."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/oauth/clients/{{oauth_client_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "oauth",
                    "clients",
                    "{{oauth_client_id}}"
                  ]
                },
                "description": "Disable an OAuth client and invalidate its tokens."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"OAuth client revoked successfully\"\n}"
            }
          ]
        },
        {
          "name": "Get Available Scopes",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/oauth/available-scopes",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "oauth",
                "available-scopes"
              ]
            },
            "description": "Return the OAuth scopes available to the authenticated user."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/oauth/available-scopes",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "oauth",
                    "available-scopes"
                  ]
                },
                "description": "Return the OAuth scopes available to the authenticated user."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"data\": [\n    \"player:read\",\n    \"profile:read\"\n  ],\n  \"count\": 2\n}"
            }
          ]
        },
        {
          "name": "Issue OAuth Token (Client Credentials)",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/x-www-form-urlencoded"
              }
            ],
            "body": {
              "mode": "urlencoded",
              "urlencoded": [
                {
                  "key": "grant_type",
                  "value": "client_credentials",
                  "type": "text"
                },
                {
                  "key": "client_id",
                  "value": "{{oauth_client_id}}",
                  "type": "text"
                },
                {
                  "key": "client_secret",
                  "value": "{{oauth_client_secret}}",
                  "type": "text"
                },
                {
                  "key": "scope",
                  "value": "{{oauth_scope}}",
                  "type": "text"
                }
              ]
            },
            "url": {
              "raw": "{{base_url}}/oauth/token",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "oauth",
                "token"
              ]
            },
            "description": "Exchange client credentials for an OAuth access token.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 - client credentials",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/x-www-form-urlencoded"
                  }
                ],
                "body": {
                  "mode": "urlencoded",
                  "urlencoded": [
                    {
                      "key": "grant_type",
                      "value": "client_credentials",
                      "type": "text"
                    },
                    {
                      "key": "client_id",
                      "value": "{{oauth_client_id}}",
                      "type": "text"
                    },
                    {
                      "key": "client_secret",
                      "value": "{{oauth_client_secret}}",
                      "type": "text"
                    },
                    {
                      "key": "scope",
                      "value": "{{oauth_scope}}",
                      "type": "text"
                    }
                  ]
                },
                "url": {
                  "raw": "{{base_url}}/oauth/token",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "oauth",
                    "token"
                  ]
                },
                "description": "Exchange client credentials for an OAuth access token.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 1296000,\n  \"access_token\": \"EXAMPLE_ACCESS_TOKEN\"\n}"
            }
          ]
        },
        {
          "name": "Exchange OAuth Authorization Code",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/x-www-form-urlencoded"
              }
            ],
            "url": {
              "raw": "{{base_url}}/oauth/token",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "oauth",
                "token"
              ]
            },
            "description": "Exchange the single-use code received after browser consent. Use the same redirect URI and verify the callback state before exchanging.",
            "body": {
              "mode": "urlencoded",
              "urlencoded": [
                {
                  "key": "grant_type",
                  "value": "authorization_code",
                  "type": "text"
                },
                {
                  "key": "client_id",
                  "value": "{{oauth_client_id}}",
                  "type": "text"
                },
                {
                  "key": "client_secret",
                  "value": "{{oauth_client_secret}}",
                  "type": "text"
                },
                {
                  "key": "redirect_uri",
                  "value": "{{redirect_uri}}",
                  "type": "text"
                },
                {
                  "key": "code",
                  "value": "{{oauth_authorization_code}}",
                  "type": "text"
                }
              ]
            },
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 - Authorization code exchanged",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/x-www-form-urlencoded"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/oauth/token",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "oauth",
                    "token"
                  ]
                },
                "description": "Exchange the single-use code received after browser consent. Use the same redirect URI and verify the callback state before exchanging.",
                "body": {
                  "mode": "urlencoded",
                  "urlencoded": [
                    {
                      "key": "grant_type",
                      "value": "authorization_code",
                      "type": "text"
                    },
                    {
                      "key": "client_id",
                      "value": "{{oauth_client_id}}",
                      "type": "text"
                    },
                    {
                      "key": "client_secret",
                      "value": "{{oauth_client_secret}}",
                      "type": "text"
                    },
                    {
                      "key": "redirect_uri",
                      "value": "{{redirect_uri}}",
                      "type": "text"
                    },
                    {
                      "key": "code",
                      "value": "{{oauth_authorization_code}}",
                      "type": "text"
                    }
                  ]
                },
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"token_type\": \"Bearer\",\n  \"expires_in\": 1296000,\n  \"access_token\": \"EXAMPLE_ACCESS_TOKEN\",\n  \"refresh_token\": \"EXAMPLE_REFRESH_TOKEN\"\n}"
            }
          ]
        },
        {
          "name": "OAuth Authorize (Browser Consent)",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "text/html"
              }
            ],
            "url": {
              "raw": "{{web_url}}/oauth/authorize?response_type=code&client_id={{oauth_client_id}}&redirect_uri={{redirect_uri}}&scope={{oauth_scope}}&state={{oauth_state}}",
              "host": [
                "{{web_url}}"
              ],
              "path": [
                "oauth",
                "authorize"
              ],
              "query": [
                {
                  "key": "response_type",
                  "value": "code"
                },
                {
                  "key": "client_id",
                  "value": "{{oauth_client_id}}"
                },
                {
                  "key": "redirect_uri",
                  "value": "{{redirect_uri}}"
                },
                {
                  "key": "scope",
                  "value": "{{oauth_scope}}"
                },
                {
                  "key": "state",
                  "value": "{{oauth_state}}"
                }
              ]
            },
            "description": "Open this URL in the signed-in user’s browser to complete consent. Generate a random oauth_state, verify it on callback, then exchange the authorization code.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "302 - Approved in the browser",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "text/html"
                  }
                ],
                "url": {
                  "raw": "{{web_url}}/oauth/authorize?response_type=code&client_id={{oauth_client_id}}&redirect_uri={{redirect_uri}}&scope={{oauth_scope}}&state={{oauth_state}}",
                  "host": [
                    "{{web_url}}"
                  ],
                  "path": [
                    "oauth",
                    "authorize"
                  ],
                  "query": [
                    {
                      "key": "response_type",
                      "value": "code"
                    },
                    {
                      "key": "client_id",
                      "value": "{{oauth_client_id}}"
                    },
                    {
                      "key": "redirect_uri",
                      "value": "{{redirect_uri}}"
                    },
                    {
                      "key": "scope",
                      "value": "{{oauth_scope}}"
                    },
                    {
                      "key": "state",
                      "value": "{{oauth_state}}"
                    }
                  ]
                },
                "description": "Open this URL in the signed-in user’s browser to complete consent. Generate a random oauth_state, verify it on callback, then exchange the authorization code.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "Found",
              "code": 302,
              "_postman_previewlanguage": "text",
              "header": [
                {
                  "key": "Location",
                  "value": "https://example.test/oauth/callback?code=EXAMPLE_AUTHORIZATION_CODE&state=EXAMPLE_STATE"
                }
              ],
              "cookie": [],
              "body": ""
            }
          ]
        }
      ]
    },
    {
      "name": "Legal",
      "item": [
        {
          "name": "Get Current Legal Versions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/legal/versions",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "legal",
                "versions"
              ]
            },
            "description": "Returns current published Terms of Service and Privacy Policy metadata. Requires authentication."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/legal/versions",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "legal",
                    "versions"
                  ]
                },
                "description": "Returns current published Terms of Service and Privacy Policy metadata. Requires authentication."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"terms\": {\n    \"key\": \"terms\",\n    \"title\": \"Terms of Service\",\n    \"version\": \"2026-09-28\",\n    \"effective_date\": \"2026-09-28\",\n    \"contact_email\": \"support@example.test\",\n    \"web_url\": \"{{ route('terms.show') }}\"\n  },\n  \"privacy\": {\n    \"key\": \"privacy\",\n    \"title\": \"Privacy Policy\",\n    \"version\": \"2026-09-28\",\n    \"effective_date\": \"2026-09-28\",\n    \"contact_email\": \"support@example.test\",\n    \"web_url\": \"{{ route('privacy.show') }}\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Get Terms of Service",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/legal/terms",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "legal",
                "terms"
              ]
            },
            "description": "Returns Terms of Service metadata, rendered HTML, and plain-text content. Requires authentication."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/legal/terms",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "legal",
                    "terms"
                  ]
                },
                "description": "Returns Terms of Service metadata, rendered HTML, and plain-text content. Requires authentication."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"document\": {\n    \"key\": \"terms\",\n    \"title\": \"Terms of Service\",\n    \"version\": \"2026-09-28\",\n    \"effective_date\": \"2026-09-28\",\n    \"contact_email\": \"support@example.test\",\n    \"web_url\": \"{{ route('terms.show') }}\",\n    \"html\": \"<h5>1. Purpose of the service</h5>...\",\n    \"text\": \"1. Purpose of the service\\nAirsoft Defence provides a digital verification service...\"\n  }\n}"
            },
            {
              "name": "401 - Unauthenticated",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/legal/terms",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "legal",
                    "terms"
                  ]
                },
                "description": "Returns Terms of Service metadata, rendered HTML, and plain-text content. Requires authentication."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Unauthenticated.\"\n}"
            }
          ]
        },
        {
          "name": "Get Privacy Policy",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/legal/privacy",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "legal",
                "privacy"
              ]
            },
            "description": "Returns Privacy Policy metadata, rendered HTML, and plain-text content. Requires authentication."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/legal/privacy",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "legal",
                    "privacy"
                  ]
                },
                "description": "Returns Privacy Policy metadata, rendered HTML, and plain-text content. Requires authentication."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"document\": {\n    \"key\": \"privacy\",\n    \"title\": \"Privacy Policy\",\n    \"version\": \"2026-09-28\",\n    \"effective_date\": \"2026-09-28\",\n    \"contact_email\": \"support@example.test\",\n    \"web_url\": \"{{ route('privacy.show') }}\",\n    \"html\": \"<h5>1. Information we collect</h5>...\",\n    \"text\": \"1. Information we collect\\nWe collect account information, attendance records...\"\n  }\n}"
            },
            {
              "name": "401 - Unauthenticated",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/legal/privacy",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "legal",
                    "privacy"
                  ]
                },
                "description": "Returns Privacy Policy metadata, rendered HTML, and plain-text content. Requires authentication."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Unauthenticated.\"\n}"
            }
          ]
        },
        {
          "name": "Accept Legal Documents",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/legal/accept",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "legal",
                "accept"
              ]
            },
            "description": "Records that the authenticated user has accepted the current Terms of Service and Privacy Policy versions. No request body required. Call after presenting the user with the legal documents and receiving their explicit confirmation."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/legal/accept",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "legal",
                    "accept"
                  ]
                },
                "description": "Records that the authenticated user has accepted the current Terms of Service and Privacy Policy versions. No request body required. Call after presenting the user with the legal documents and receiving their explicit confirmation."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Legal acceptance recorded.\",\n  \"terms_accept\": \"2026-04-18T10:30:00.000000Z\",\n  \"terms_accept_version\": \"2026-09-28\"\n}"
            },
            {
              "name": "401 - Unauthenticated",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/legal/accept",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "legal",
                    "accept"
                  ]
                },
                "description": "Records that the authenticated user has accepted the current Terms of Service and Privacy Policy versions. No request body required. Call after presenting the user with the legal documents and receiving their explicit confirmation."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Unauthenticated.\"\n}"
            },
            {
              "name": "403 - OAuth token cannot record acceptance",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/legal/accept",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "legal",
                    "accept"
                  ]
                },
                "description": "Records that the authenticated user has accepted the current Terms of Service and Privacy Policy versions. No request body required. Call after presenting the user with the legal documents and receiving their explicit confirmation."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Record legal acceptance using a user-authorised session.\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Users",
      "item": [
        {
          "name": "Get User Details",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/users/details",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "users",
                "details"
              ]
            },
            "description": "Retrieve the authenticated user's detail payload."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/users/details",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "users",
                    "details"
                  ]
                },
                "description": "Retrieve the authenticated user's detail payload."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"user\": {\n    \"id\": \"00000000-0000-4000-8000-000000000101\",\n    \"member_id\": \"EXAMPLE0001\",\n    \"forename\": \"Alex\",\n    \"surname\": \"Carter\",\n    \"name\": \"Alex Carter\",\n    \"address_1\": \"10 Example Lane\",\n    \"address_2\": null,\n    \"city\": \"Sampletown\",\n    \"region\": \"Example City\",\n    \"postcode\": \"ZZ1 1ZZ\",\n    \"phone\": \"07700900001\",\n    \"dob\": \"1984-11-07T00:00:00.000000Z\",\n    \"email\": \"user@example.test\",\n    \"police_hold\": 0,\n    \"verified\": {\n      \"id\": true,\n      \"name\": true,\n      \"email\": true,\n      \"phone\": true,\n      \"photo\": true,\n      \"address\": true\n    },\n    \"terms_accept\": \"2026-03-28T18:09:21.000000Z\",\n    \"two_factor_enabled_at\": null,\n    \"created_at\": \"2023-05-01T10:13:54.000000Z\",\n    \"updated_at\": \"2026-03-28T18:09:21.000000Z\",\n    \"deleted_at\": null,\n    \"roles\": [\n      {\n        \"id\": 7,\n        \"name\": \"Player\"\n      }\n    ],\n    \"photos\": [],\n    \"stores\": [],\n    \"sites\": []\n  }\n}"
            },
            {
              "name": "401 - sign-in required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/users/details",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "users",
                    "details"
                  ]
                },
                "description": "Retrieve the authenticated user's detail payload."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Unauthenticated.\"\n}"
            },
            {
              "name": "403 - access denied",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/users/details",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "users",
                    "details"
                  ]
                },
                "description": "Retrieve the authenticated user's detail payload."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Forbidden.\"\n}"
            }
          ]
        },
        {
          "name": "List Users",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/users?page=1&size=20",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "users"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "size",
                  "value": "20"
                }
              ]
            },
            "description": "List users. Supports standard pagination parameters when applicable."
          },
          "response": [
            {
              "name": "200 - restricted list, abbreviated",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/users?page=1&size=20",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "users"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "size",
                      "value": "20"
                    }
                  ]
                },
                "description": "List users. Supports standard pagination parameters when applicable."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"current_page\": 1,\n  \"data\": [\n    {\n      \"id\": \"00000000-0000-4000-8000-000000000101\",\n      \"name\": \"Example Player\",\n      \"member_id\": \"EXAMPLE0001\",\n      \"postcode\": \"ZZ1 1ZZ\"\n    }\n  ],\n  \"per_page\": 20,\n  \"last_page\": 1,\n  \"total\": 1\n}"
            },
            {
              "name": "200 - audit-authorised list, abbreviated",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/users?page=1&size=20",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "users"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "size",
                      "value": "20"
                    }
                  ]
                },
                "description": "List users. Supports standard pagination parameters when applicable."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"current_page\": 1,\n  \"data\": [\n    {\n      \"id\": \"00000000-0000-4000-8000-000000000101\",\n      \"member_id\": \"EXAMPLE0001\",\n      \"name\": \"Example Player\",\n      \"postcode\": \"ZZ1 1ZZ\",\n      \"email\": \"player@example.test\",\n      \"roles\": [\n        {\n          \"id\": 7,\n          \"name\": \"Player\"\n        }\n      ]\n    }\n  ],\n  \"per_page\": 20,\n  \"last_page\": 1,\n  \"total\": 1\n}"
            }
          ]
        },
        {
          "name": "Get User",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/users/{{user_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "users",
                "{{user_id}}"
              ]
            },
            "description": "Get one user by UUID."
          },
          "response": [
            {
              "name": "200 - restricted user",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/users/{{user_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "users",
                    "{{user_id}}"
                  ]
                },
                "description": "Get one user by UUID."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"user\": {\n    \"id\": \"00000000-0000-4000-8000-000000000101\",\n    \"name\": \"Example Player\",\n    \"member_id\": \"EXAMPLE0001\",\n    \"postcode\": \"ZZ1 1ZZ\",\n    \"photos\": []\n  }\n}"
            },
            {
              "name": "200 - broader profile, abbreviated",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/users/{{user_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "users",
                    "{{user_id}}"
                  ]
                },
                "description": "Get one user by UUID."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"user\": {\n    \"id\": \"00000000-0000-4000-8000-000000000101\",\n    \"member_id\": \"EXAMPLE0001\",\n    \"name\": \"Example Player\",\n    \"postcode\": \"ZZ1 1ZZ\",\n    \"email\": \"player@example.test\",\n    \"photos\": []\n  }\n}"
            }
          ]
        },
        {
          "name": "Get User IDs",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/users/ids?per_page=100",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "users",
                "ids"
              ],
              "query": [
                {
                  "key": "per_page",
                  "value": "100"
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Retrieve user UUIDs using cursor pagination."
          },
          "response": [
            {
              "name": "200 - last page",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/users/ids?per_page=100",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "users",
                    "ids"
                  ],
                  "query": [
                    {
                      "key": "per_page",
                      "value": "100"
                    },
                    {
                      "key": "cursor",
                      "value": "",
                      "disabled": true
                    }
                  ]
                },
                "description": "Retrieve user UUIDs using cursor pagination."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"data\": [\n    \"00000000-0000-4000-8000-000000000101\"\n  ],\n  \"path\": \"http://127.0.0.1/api/users/ids\",\n  \"per_page\": 100,\n  \"next_cursor\": null,\n  \"next_page_url\": null,\n  \"prev_cursor\": null,\n  \"prev_page_url\": null\n}"
            }
          ]
        },
        {
          "name": "Change Password",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"old_password\": \"{{login_password}}\",\n  \"password\": \"{{new_password}}\",\n  \"password_confirmation\": \"{{new_password}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/users/password",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "users",
                "password"
              ]
            },
            "description": "Change the authenticated user's password."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"old_password\": \"{{login_password}}\",\n  \"password\": \"{{new_password}}\",\n  \"password_confirmation\": \"{{new_password}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/users/password",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "users",
                    "password"
                  ]
                },
                "description": "Change the authenticated user's password."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Roles & Permissions",
      "item": [
        {
          "name": "List Roles",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/roles",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "roles"
              ]
            },
            "description": "List roles with their assigned permissions."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/roles",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "roles"
                  ]
                },
                "description": "List roles with their assigned permissions."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "[\n  {\n    \"id\": 1,\n    \"name\": \"Superuser\",\n    \"guard_name\": \"web\",\n    \"created_at\": \"2023-01-01T00:00:00.000000Z\",\n    \"updated_at\": \"2023-01-01T00:00:00.000000Z\",\n    \"permissions\": [\n      {\n        \"id\": 1,\n        \"name\": \"user-create\",\n        \"guard_name\": \"web\"\n      },\n      {\n        \"id\": 2,\n        \"name\": \"user-update\",\n        \"guard_name\": \"web\"\n      }\n    ]\n  },\n  {\n    \"id\": 7,\n    \"name\": \"Player\",\n    \"guard_name\": \"web\",\n    \"created_at\": \"2023-01-01T00:00:00.000000Z\",\n    \"updated_at\": \"2023-01-01T00:00:00.000000Z\",\n    \"permissions\": [\n      {\n        \"id\": 19,\n        \"name\": \"user-restricted\",\n        \"guard_name\": \"web\"\n      }\n    ]\n  }\n]"
            }
          ]
        },
        {
          "name": "Get Role",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/roles/{{role_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "roles",
                "{{role_id}}"
              ]
            },
            "description": "Get one role by ID."
          },
          "response": [
            {
              "name": "200 - abbreviated permission catalogue",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/roles/{{role_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "roles",
                    "{{role_id}}"
                  ]
                },
                "description": "Get one role by ID."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"role\": {\n    \"id\": 7,\n    \"name\": \"Player\",\n    \"guard_name\": \"web\",\n    \"permissions\": [\n      {\n        \"id\": 19,\n        \"name\": \"user-restricted\",\n        \"guard_name\": \"web\"\n      }\n    ]\n  },\n  \"permissions\": [\n    {\n      \"id\": 19,\n      \"name\": \"user-restricted\",\n      \"guard_name\": \"web\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Update Role",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Player\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/roles/{{role_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "roles",
                "{{role_id}}"
              ]
            },
            "description": "Update a role. Keep the existing name for a built-in role. To replace its permissions, supply permissions as a list of objects with numeric id values from Get Role."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Player\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/roles/{{role_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "roles",
                    "{{role_id}}"
                  ]
                },
                "description": "Update a role. Keep the existing name for a built-in role. To replace its permissions, supply permissions as a list of objects with numeric id values from Get Role."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"id\": 7,\n  \"name\": \"Player\",\n  \"guard_name\": \"web\",\n  \"created_at\": \"2023-01-01T00:00:00.000000Z\",\n  \"updated_at\": \"2024-01-15T12:00:00.000000Z\",\n  \"permissions\": [\n    {\n      \"id\": 19,\n      \"name\": \"user-restricted\",\n      \"guard_name\": \"web\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Assign Role To User",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/roles/assign/{{user_id}}/{{role_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "roles",
                "assign",
                "{{user_id}}",
                "{{role_id}}"
              ]
            },
            "description": "Assign a role to a user."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/roles/assign/{{user_id}}/{{role_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "roles",
                    "assign",
                    "{{user_id}}",
                    "{{role_id}}"
                  ]
                },
                "description": "Assign a role to a user."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true\n}"
            }
          ]
        },
        {
          "name": "Replace User Roles",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/roles/assign/{{user_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "roles",
                "assign",
                "{{user_id}}"
              ]
            },
            "description": "Replace the roles assigned to a test account. Requires user-assignrole and authority over the account and roles.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"roles\": [\n    \"Player\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [
            {
              "name": "200 - OK",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/roles/assign/{{user_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "roles",
                    "assign",
                    "{{user_id}}"
                  ]
                },
                "description": "Replace the roles assigned to a test account. Requires user-assignrole and authority over the account and roles.",
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"roles\": [\n    \"Player\"\n  ]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true,\n  \"roles\": [\n    \"Player\"\n  ]\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Sites",
      "item": [
        {
          "name": "List Sites",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/sites",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sites"
              ],
              "query": [
                {
                  "key": "search",
                  "value": "Example",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "active",
                  "disabled": true
                },
                {
                  "key": "site_type",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "since",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "List game sites. Enable search, status, site type or since filters as needed."
          },
          "response": [
            {
              "name": "200 - abbreviated",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/sites",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "sites"
                  ],
                  "query": [
                    {
                      "key": "search",
                      "value": "Example",
                      "disabled": true
                    },
                    {
                      "key": "status",
                      "value": "active",
                      "disabled": true
                    },
                    {
                      "key": "site_type",
                      "value": "",
                      "disabled": true
                    },
                    {
                      "key": "since",
                      "value": "",
                      "disabled": true
                    }
                  ]
                },
                "description": "List game sites. Enable search, status, site type or since filters as needed."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"00000000-0000-4000-8000-000000000118\",\n      \"name\": \"Example Airsoft Site\",\n      \"city\": \"Example Town\",\n      \"postcode\": \"ZZ1 1ZZ\",\n      \"phone\": \"07700900003\",\n      \"updated_at\": \"2026-10-01T10:30:00.000000Z\",\n      \"star_score\": 0,\n      \"status\": \"active\",\n      \"pending_site_actions_count\": 0\n    }\n  ],\n  \"queried_at\": \"2026-10-01T10:31:00.000000Z\"\n}"
            }
          ]
        },
        {
          "name": "Create Site",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Example Airsoft Site\",\n  \"address_1\": \"Unit X\",\n  \"address_2\": \"Sample Business Park\",\n  \"city\": \"Metro City\",\n  \"region\": \"Greater Metro City\",\n  \"postcode\": \"ZZ3 1ZZ\",\n  \"phone\": \"07000000003\",\n  \"email\": \"info@example.test\",\n  \"website\": \"https://awesomeairsoft.example.com\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/sites",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sites"
              ]
            },
            "description": "Create a new site."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Example Airsoft Site\",\n  \"address_1\": \"Unit X\",\n  \"address_2\": \"Sample Business Park\",\n  \"city\": \"Metro City\",\n  \"region\": \"Greater Metro City\",\n  \"postcode\": \"ZZ3 1ZZ\",\n  \"phone\": \"07000000003\",\n  \"email\": \"info@example.test\",\n  \"website\": \"https://awesomeairsoft.example.com\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/sites",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "sites"
                  ]
                },
                "description": "Create a new site."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"id\": \"00000000-0000-4000-8000-000000000118\",\n  \"name\": \"Example Airsoft Site\",\n  \"address_1\": \"Unit X\",\n  \"address_2\": \"Sample Business Park\",\n  \"city\": \"Metro City\",\n  \"region\": \"Greater Metro City\",\n  \"postcode\": \"ZZ3 1ZZ\",\n  \"phone\": \"07700900003\",\n  \"email\": \"info@example.test\",\n  \"website\": \"https://awesomeairsoft.example.com\",\n  \"details\": null,\n  \"created_at\": \"2025-02-21T16:00:00.000000Z\",\n  \"updated_at\": \"2025-02-21T16:00:00.000000Z\",\n  \"deleted_at\": null,\n  \"pending_site_actions_count\": 0\n}"
            }
          ]
        },
        {
          "name": "Get Site",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/sites/{{site_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sites",
                "{{site_id}}"
              ]
            },
            "description": "Get one site with canEdit and related data. Includes site.uri.lookup_code only when the authenticated user has site-uri-view and passes ownership checks for Site/SiteManager roles."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/sites/{{site_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "sites",
                    "{{site_id}}"
                  ]
                },
                "description": "Get one site with canEdit and related data. Includes site.uri.lookup_code only when the authenticated user has site-uri-view and passes ownership checks for Site/SiteManager roles."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"site\": {\n    \"id\": \"00000000-0000-4000-8000-000000000104\",\n    \"name\": \"Example Airsoft Site\",\n    \"address_1\": \"Unit X\",\n    \"address_2\": \"Sample Business Park\",\n    \"city\": \"Metro City\",\n    \"region\": \"Greater Metro City\",\n    \"postcode\": \"ZZ3 1ZZ\",\n    \"phone\": \"07700900003\",\n    \"email\": \"info@example.test\",\n    \"website\": \"https://awesomeairsoft.example.com\",\n    \"details\": null,\n    \"created_at\": \"2023-05-10T10:00:00.000000Z\",\n    \"updated_at\": \"2025-02-20T15:30:00.000000Z\",\n    \"deleted_at\": null,\n    \"uri\": {\n      \"id\": \"00000000-0000-4000-8000-000000000119\",\n      \"lookup_code\": \"SI_ABC12345\",\n      \"uriable_type\": \"App\\\\Models\\\\Site\",\n      \"uriable_id\": \"00000000-0000-4000-8000-000000000104\"\n    },\n    \"pending_site_actions_count\": 0\n  },\n  \"canEdit\": true\n}"
            }
          ]
        },
        {
          "name": "Update Site",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Updated Site Name\",\n  \"address_1\": \"Updated Address Line 1\",\n  \"address_2\": \"Updated Address Line 2\",\n  \"city\": \"North City\",\n  \"region\": \"Greater North City\",\n  \"postcode\": \"ZZ4 1ZZ\",\n  \"phone\": \"07000000004\",\n  \"email\": \"updated@example.test\",\n  \"website\": \"https://updatedsite.example.com\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/sites/{{site_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sites",
                "{{site_id}}"
              ]
            },
            "description": "Update an existing site."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Updated Site Name\",\n  \"address_1\": \"Updated Address Line 1\",\n  \"address_2\": \"Updated Address Line 2\",\n  \"city\": \"North City\",\n  \"region\": \"Greater North City\",\n  \"postcode\": \"ZZ4 1ZZ\",\n  \"phone\": \"07000000004\",\n  \"email\": \"updated@example.test\",\n  \"website\": \"https://updatedsite.example.com\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/sites/{{site_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "sites",
                    "{{site_id}}"
                  ]
                },
                "description": "Update an existing site."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true,\n  \"site\": {\n    \"id\": \"00000000-0000-4000-8000-000000000104\",\n    \"name\": \"Updated Site Name\",\n    \"address_1\": \"Updated Address Line 1\",\n    \"address_2\": \"Updated Address Line 2\",\n    \"city\": \"North City\",\n    \"region\": \"Greater North City\",\n    \"postcode\": \"ZZ4 1ZZ\",\n    \"phone\": \"07700900004\",\n    \"email\": \"updated@example.test\",\n    \"website\": \"https://updatedsite.example.com\",\n    \"details\": null,\n    \"created_at\": \"2023-05-10T10:00:00.000000Z\",\n    \"updated_at\": \"2025-02-21T16:00:00.000000Z\",\n    \"deleted_at\": null,\n    \"pending_site_actions_count\": 0\n  }\n}"
            }
          ]
        },
        {
          "name": "Get Site Count",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/sites/count",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sites",
                "count"
              ]
            },
            "description": "Return the current site count."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/sites/count",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "sites",
                    "count"
                  ]
                },
                "description": "Return the current site count."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"sites\": 12\n}"
            }
          ]
        },
        {
          "name": "Upload Site Photo",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "photo",
                  "type": "file",
                  "src": ""
                }
              ]
            },
            "url": {
              "raw": "{{base_url}}/sites/{{site_id}}/photo",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sites",
                "{{site_id}}",
                "photo"
              ]
            },
            "description": "Upload or replace the primary site photo using multipart/form-data."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "key": "photo",
                      "type": "file",
                      "src": ""
                    }
                  ]
                },
                "url": {
                  "raw": "{{base_url}}/sites/{{site_id}}/photo",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "sites",
                    "{{site_id}}",
                    "photo"
                  ]
                },
                "description": "Upload or replace the primary site photo using multipart/form-data."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"site\": {\n    \"id\": \"00000000-0000-4000-8000-000000000104\",\n    \"photos\": [\n      {\n        \"filename\": \"abc123.jpg\",\n        \"path\": \"/storage/images/abc123.jpg\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Attach User To Site",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/sites/{{site_id}}/attach-user/{{user_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sites",
                "{{site_id}}",
                "attach-user",
                "{{user_id}}"
              ]
            },
            "description": "Attach a staff user to a site."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/sites/{{site_id}}/attach-user/{{user_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "sites",
                    "{{site_id}}",
                    "attach-user",
                    "{{user_id}}"
                  ]
                },
                "description": "Attach a staff user to a site."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"site\": {\n    \"id\": \"00000000-0000-4000-8000-000000000104\",\n    \"staff\": [\n      {\n        \"id\": \"00000000-0000-4000-8000-000000000101\",\n        \"name\": \"John Blake\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Remove User From Site",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/sites/{{site_id}}/remove-user/{{user_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sites",
                "{{site_id}}",
                "remove-user",
                "{{user_id}}"
              ]
            },
            "description": "Remove a staff user from a site."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/sites/{{site_id}}/remove-user/{{user_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "sites",
                    "{{site_id}}",
                    "remove-user",
                    "{{user_id}}"
                  ]
                },
                "description": "Remove a staff user from a site."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"site\": {\n    \"id\": \"00000000-0000-4000-8000-000000000104\",\n    \"staff\": []\n  }\n}"
            }
          ]
        },
        {
          "name": "Get Site History",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/sites/{{site_id}}/history?page=1&per_page=25",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sites",
                "{{site_id}}",
                "history"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "per_page",
                  "value": "25"
                },
                {
                  "key": "from",
                  "value": "2026-11-01",
                  "disabled": true
                },
                {
                  "key": "to",
                  "value": "2026-11-24",
                  "disabled": true
                },
                {
                  "key": "search",
                  "value": "{{member_id}}",
                  "disabled": true
                }
              ]
            },
            "description": "Retrieve paginated game attendance for this site. Enable the optional date or player filters as needed. Requires site-list, access to the site, and an applicable scope when using OAuth."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/sites/{{site_id}}/history?page=1&per_page=25",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "sites",
                    "{{site_id}}",
                    "history"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "per_page",
                      "value": "25"
                    },
                    {
                      "key": "from",
                      "value": "2026-11-01",
                      "disabled": true
                    },
                    {
                      "key": "to",
                      "value": "2026-11-24",
                      "disabled": true
                    },
                    {
                      "key": "search",
                      "value": "{{member_id}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "Retrieve paginated game attendance for this site. Enable the optional date or player filters as needed. Requires site-list, access to the site, and an applicable scope when using OAuth."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"games\": [\n    {\n      \"id\": \"00000000-0000-4000-8000-000000000102\",\n      \"site_id\": \"00000000-0000-4000-8000-000000000104\",\n      \"player_id\": \"00000000-0000-4000-8000-000000000101\",\n      \"play_date\": \"2024-06-10T14:30:00.000000Z\",\n      \"created_at\": \"2024-06-10T14:35:00.000000Z\",\n      \"player\": {\n        \"id\": \"00000000-0000-4000-8000-000000000101\",\n        \"member_id\": \"EXAMPLE0001\",\n        \"forename\": \"John\",\n        \"surname\": \"Quinn\",\n        \"name\": \"Taylor Quinn\"\n      },\n      \"site\": {\n        \"id\": \"00000000-0000-4000-8000-000000000104\",\n        \"name\": \"Sample Airsoft Site\",\n        \"postcode\": \"ZZ1 1ZZ\"\n      }\n    }\n  ],\n  \"games_count\": 247,\n  \"pagination\": {\n    \"current_page\": 1,\n    \"per_page\": 25,\n    \"total\": 247,\n    \"last_page\": 10,\n    \"has_more_pages\": true,\n    \"next_page_url\": \"http://127.0.0.1/api/sites/00000000-0000-4000-8000-000000000104/history?page=2\",\n    \"prev_page_url\": null\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Stores",
      "item": [
        {
          "name": "List Stores",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/stores",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "stores"
              ],
              "query": [
                {
                  "key": "search",
                  "value": "Example",
                  "disabled": true
                },
                {
                  "key": "since",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "List retail stores. Enable search or since filters as needed."
          },
          "response": [
            {
              "name": "200 - abbreviated",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/stores",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "stores"
                  ],
                  "query": [
                    {
                      "key": "search",
                      "value": "Example",
                      "disabled": true
                    },
                    {
                      "key": "since",
                      "value": "",
                      "disabled": true
                    }
                  ]
                },
                "description": "List retail stores. Enable search or since filters as needed."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"00000000-0000-4000-8000-000000000122\",\n      \"name\": \"Example Airsoft Store\",\n      \"city\": \"Example Town\",\n      \"postcode\": \"ZZ1 1ZZ\",\n      \"phone\": \"07700900003\",\n      \"updated_at\": \"2026-10-01T10:30:00.000000Z\",\n      \"star_score\": 0\n    }\n  ],\n  \"queried_at\": \"2026-10-01T10:31:00.000000Z\"\n}"
            }
          ]
        },
        {
          "name": "Create Store",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Example Retail Store\",\n  \"address_1\": \"100 Demo Plaza\",\n  \"address_2\": null,\n  \"city\": \"Metro City\",\n  \"region\": \"Greater Metro City\",\n  \"postcode\": \"ZZ3 1ZZ\",\n  \"phone\": \"07000000003\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/stores",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "stores"
              ]
            },
            "description": "Create a new retail store."
          },
          "response": [
            {
              "name": "200 - abbreviated",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Example Retail Store\",\n  \"address_1\": \"100 Demo Plaza\",\n  \"address_2\": null,\n  \"city\": \"Metro City\",\n  \"region\": \"Greater Metro City\",\n  \"postcode\": \"ZZ3 1ZZ\",\n  \"phone\": \"07000000003\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/stores",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "stores"
                  ]
                },
                "description": "Create a new retail store."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"id\": \"00000000-0000-4000-8000-000000000122\",\n  \"name\": \"Example Airsoft Store\",\n  \"address_1\": \"10 Example Lane\",\n  \"postcode\": \"ZZ1 1ZZ\"\n}"
            }
          ]
        },
        {
          "name": "Get Store",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/stores/{{store_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "stores",
                "{{store_id}}"
              ]
            },
            "description": "Get one store with photos, staff, and canEdit metadata. Includes store.uri.lookup_code only when the authenticated user has store-uri-view and passes ownership checks for Store/StoreManager roles."
          },
          "response": [
            {
              "name": "200 - abbreviated",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/stores/{{store_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "stores",
                    "{{store_id}}"
                  ]
                },
                "description": "Get one store with photos, staff, and canEdit metadata. Includes store.uri.lookup_code only when the authenticated user has store-uri-view and passes ownership checks for Store/StoreManager roles."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"store\": {\n    \"id\": \"00000000-0000-4000-8000-000000000122\",\n    \"name\": \"Example Airsoft Store\",\n    \"postcode\": \"ZZ1 1ZZ\",\n    \"photos\": [],\n    \"staff\": []\n  },\n  \"canEdit\": true\n}"
            }
          ]
        },
        {
          "name": "Get Store Count",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/stores/count",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "stores",
                "count"
              ]
            },
            "description": "Return the current store count."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/stores/count",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "stores",
                    "count"
                  ]
                },
                "description": "Return the current store count."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"stores\": 8\n}"
            }
          ]
        },
        {
          "name": "Upload Store Photo",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "photo",
                  "type": "file",
                  "src": ""
                }
              ]
            },
            "url": {
              "raw": "{{base_url}}/stores/{{store_id}}/photo",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "stores",
                "{{store_id}}",
                "photo"
              ]
            },
            "description": "Upload or replace a store photo using multipart/form-data."
          },
          "response": [
            {
              "name": "200 - abbreviated",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "key": "photo",
                      "type": "file",
                      "src": ""
                    }
                  ]
                },
                "url": {
                  "raw": "{{base_url}}/stores/{{store_id}}/photo",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "stores",
                    "{{store_id}}",
                    "photo"
                  ]
                },
                "description": "Upload or replace a store photo using multipart/form-data."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"store\": {\n    \"id\": \"00000000-0000-4000-8000-000000000122\",\n    \"name\": \"Example Airsoft Store\",\n    \"postcode\": \"ZZ1 1ZZ\",\n    \"photos\": [\n      {\n        \"id\": \"00000000-0000-4000-8000-000000000124\",\n        \"path\": \"/storage/photos/stores/example-store.webp\",\n        \"filename\": \"example-store.webp\"\n      }\n    ],\n    \"staff\": []\n  }\n}"
            }
          ]
        },
        {
          "name": "Attach User To Store",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/stores/{{store_id}}/attach-user/{{user_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "stores",
                "{{store_id}}",
                "attach-user",
                "{{user_id}}"
              ]
            },
            "description": "Attach a staff user to a store."
          },
          "response": [
            {
              "name": "200 - abbreviated",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/stores/{{store_id}}/attach-user/{{user_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "stores",
                    "{{store_id}}",
                    "attach-user",
                    "{{user_id}}"
                  ]
                },
                "description": "Attach a staff user to a store."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"store\": {\n    \"id\": \"00000000-0000-4000-8000-000000000122\",\n    \"name\": \"Example Airsoft Store\",\n    \"postcode\": \"ZZ1 1ZZ\",\n    \"photos\": [],\n    \"staff\": [\n      {\n        \"id\": \"00000000-0000-4000-8000-000000000125\",\n        \"name\": \"Example Store Staff\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Remove User From Store",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/stores/{{store_id}}/remove-user/{{user_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "stores",
                "{{store_id}}",
                "remove-user",
                "{{user_id}}"
              ]
            },
            "description": "Remove a staff user from a store."
          },
          "response": [
            {
              "name": "200 - abbreviated",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/stores/{{store_id}}/remove-user/{{user_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "stores",
                    "{{store_id}}",
                    "remove-user",
                    "{{user_id}}"
                  ]
                },
                "description": "Remove a staff user from a store."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"store\": {\n    \"id\": \"00000000-0000-4000-8000-000000000122\",\n    \"name\": \"Example Airsoft Store\",\n    \"postcode\": \"ZZ1 1ZZ\",\n    \"photos\": [],\n    \"staff\": []\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "URI",
      "item": [
        {
          "name": "Search URI",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"lookup_code\": \"{{lookup_code}}\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/uri/search",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "uri",
                "search"
              ]
            },
            "description": "Search URI lookup code. Requires at least one permission: site-uri-search or store-uri-search. Returns relation type and related ID for clients to load /sites/{id} or /stores/{id}."
          },
          "response": [
            {
              "name": "200 - Site",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"lookup_code\": \"{{lookup_code}}\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/uri/search",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "uri",
                    "search"
                  ]
                },
                "description": "Search URI lookup code. Requires at least one permission: site-uri-search or store-uri-search. Returns relation type and related ID for clients to load /sites/{id} or /stores/{id}."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"type\": \"site\",\n  \"id\": \"00000000-0000-4000-8000-000000000104\",\n  \"lookup_code\": \"SI_ABC12345\"\n}"
            },
            {
              "name": "200 - Store",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"lookup_code\": \"{{lookup_code}}\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/uri/search",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "uri",
                    "search"
                  ]
                },
                "description": "Search URI lookup code. Requires at least one permission: site-uri-search or store-uri-search. Returns relation type and related ID for clients to load /sites/{id} or /stores/{id}."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"type\": \"store\",\n  \"id\": \"00000000-0000-4000-8000-000000000122\",\n  \"lookup_code\": \"ST_XYZ98765\"\n}"
            },
            {
              "name": "404 - Not Found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"lookup_code\": \"{{lookup_code}}\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/uri/search",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "uri",
                    "search"
                  ]
                },
                "description": "Search URI lookup code. Requires at least one permission: site-uri-search or store-uri-search. Returns relation type and related ID for clients to load /sites/{id} or /stores/{id}."
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"URI code was not found.\"\n}"
            },
            {
              "name": "401 - Unauthenticated",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"lookup_code\": \"{{lookup_code}}\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/uri/search",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "uri",
                    "search"
                  ]
                },
                "description": "Search URI lookup code. Requires at least one permission: site-uri-search or store-uri-search. Returns relation type and related ID for clients to load /sites/{id} or /stores/{id}."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Unauthenticated.\"\n}"
            },
            {
              "name": "403 - Forbidden",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"lookup_code\": \"{{lookup_code}}\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/uri/search",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "uri",
                    "search"
                  ]
                },
                "description": "Search URI lookup code. Requires at least one permission: site-uri-search or store-uri-search. Returns relation type and related ID for clients to load /sites/{id} or /stores/{id}."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Forbidden.\"\n}"
            },
            {
              "name": "422 - Unsupported Relation",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"lookup_code\": \"{{lookup_code}}\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/uri/search",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "uri",
                    "search"
                  ]
                },
                "description": "Search URI lookup code. Requires at least one permission: site-uri-search or store-uri-search. Returns relation type and related ID for clients to load /sites/{id} or /stores/{id}."
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Unsupported URI relation type.\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Games",
      "item": [
        {
          "name": "List Games",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/games?page=1&per_page=25",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "games"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "per_page",
                  "value": "25"
                },
                {
                  "key": "sort",
                  "value": "player.name",
                  "disabled": true
                },
                {
                  "key": "order",
                  "value": "asc",
                  "disabled": true
                }
              ]
            },
            "description": "List game records."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/games?page=1&per_page=25",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "games"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "per_page",
                      "value": "25"
                    },
                    {
                      "key": "sort",
                      "value": "player.name",
                      "disabled": true
                    },
                    {
                      "key": "order",
                      "value": "asc",
                      "disabled": true
                    }
                  ]
                },
                "description": "List game records."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"current_page\": 1,\n  \"per_page\": 25,\n  \"total\": 1854,\n  \"last_page\": 75,\n  \"data\": [\n    {\n      \"id\": \"00000000-0000-4000-8000-000000000102\",\n      \"user_id\": \"00000000-0000-4000-8000-000000000103\",\n      \"site_id\": \"00000000-0000-4000-8000-000000000104\",\n      \"play_date\": \"2023-05-01T00:00:00.000000Z\",\n      \"deleted_at\": null,\n      \"created_at\": \"2023-05-01T10:13:54.000000Z\",\n      \"updated_at\": \"2023-05-01T10:13:54.000000Z\",\n      \"site\": {\n        \"id\": \"00000000-0000-4000-8000-000000000104\",\n        \"name\": \"Sample Airsoft Site\",\n        \"postcode\": \"ZZ2 1ZZ\"\n      },\n      \"player\": {\n        \"id\": \"00000000-0000-4000-8000-000000000103\",\n        \"name\": \"Casey Harper\",\n        \"member_id\": \"EXAMPLE0002\"\n      }\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Get Game",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/games/{{game_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "games",
                "{{game_id}}"
              ]
            },
            "description": "Get one game by UUID."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/games/{{game_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "games",
                    "{{game_id}}"
                  ]
                },
                "description": "Get one game by UUID."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"id\": \"00000000-0000-4000-8000-000000000102\",\n  \"user_id\": \"00000000-0000-4000-8000-000000000103\",\n  \"site_id\": \"00000000-0000-4000-8000-000000000104\",\n  \"play_date\": \"2023-05-01T00:00:00.000000Z\",\n  \"deleted_at\": null,\n  \"created_at\": \"2023-05-01T10:13:54.000000Z\",\n  \"updated_at\": \"2023-05-01T10:13:54.000000Z\",\n  \"site\": {\n    \"id\": \"00000000-0000-4000-8000-000000000104\",\n    \"name\": \"Sample Airsoft Site\",\n    \"postcode\": \"ZZ2 1ZZ\"\n  },\n  \"player\": {\n    \"id\": \"00000000-0000-4000-8000-000000000103\",\n    \"name\": \"Casey Harper\",\n    \"member_id\": \"EXAMPLE0002\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Get Game Count",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/games/count",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "games",
                "count"
              ]
            },
            "description": "Return the current game count."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/games/count",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "games",
                    "count"
                  ]
                },
                "description": "Return the current game count."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"all_time\": 100,\n  \"this_month\": 10,\n  \"this_week\": 2,\n  \"today\": 1\n}"
            }
          ]
        },
        {
          "name": "Check In Player",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/games/checkin/{{site_id}}/{{user_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "games",
                "checkin",
                "{{site_id}}",
                "{{user_id}}"
              ]
            },
            "description": "Create a site check-in game record for a user."
          },
          "response": [
            {
              "name": "201 - Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/games/checkin/{{site_id}}/{{user_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "games",
                    "checkin",
                    "{{site_id}}",
                    "{{user_id}}"
                  ]
                },
                "description": "Create a site check-in game record for a user."
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Check-in submitted for processing.\",\n  \"site\": {\n    \"id\": \"00000000-0000-4000-8000-000000000104\",\n    \"name\": \"Sample Airsoft Site\"\n  },\n  \"player\": {\n    \"id\": \"00000000-0000-4000-8000-000000000101\",\n    \"name\": \"Sample Player\"\n  }\n}"
            },
            {
              "name": "409 - Already Checked In",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/games/checkin/{{site_id}}/{{user_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "games",
                    "checkin",
                    "{{site_id}}",
                    "{{user_id}}"
                  ]
                },
                "description": "Create a site check-in game record for a user."
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Sample Player has already checked in at Sample Airsoft Site today. Each site allows one self check-in per day.\"\n}"
            }
          ]
        },
        {
          "name": "Self Check In",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/games/self-checkin/{{site_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "games",
                "self-checkin",
                "{{site_id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"location\": {\n    \"latitude\": 51.5,\n    \"longitude\": -0.12,\n    \"accuracy\": 18\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Submit a self check-in at an active site. A duplicate returns 409. Location is optional and GPS-capable clients should supply it whenever a reading is available and the player permits access. Send permission_denied or unavailable when applicable. During the native app transition, clients without GPS support can omit location to skip the assessment."
          },
          "response": [
            {
              "name": "201 - Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/games/self-checkin/{{site_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "games",
                    "self-checkin",
                    "{{site_id}}"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"location\": {\n    \"latitude\": 51.5,\n    \"longitude\": -0.12,\n    \"accuracy\": 18\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Submit a self check-in at an active site. A duplicate returns 409. Location is optional and GPS-capable clients should supply it whenever a reading is available and the player permits access. Send permission_denied or unavailable when applicable. During the native app transition, clients without GPS support can omit location to skip the assessment."
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Check-in submitted for processing.\",\n  \"site\": {\n    \"id\": \"00000000-0000-4000-8000-000000000104\",\n    \"name\": \"Sample Airsoft Site\"\n  }\n}"
            },
            {
              "name": "409 - Already Checked In",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/games/self-checkin/{{site_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "games",
                    "self-checkin",
                    "{{site_id}}"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"location\": {\n    \"latitude\": 51.5,\n    \"longitude\": -0.12,\n    \"accuracy\": 18\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "description": "Submit a self check-in at an active site. A duplicate returns 409. Location is optional and GPS-capable clients should supply it whenever a reading is available and the player permits access. Send permission_denied or unavailable when applicable. During the native app transition, clients without GPS support can omit location to skip the assessment."
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"You have already checked in at Sample Airsoft Site today. Each site allows one self check-in per day.\"\n}"
            }
          ]
        },
        {
          "name": "List Penalty Point Types",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/penalty-point-types",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "penalty-point-types"
              ]
            },
            "description": "List configured penalty point types for issue/update flows. Requires one of penalty-point-edit, penalty-point-issue, or penalty-point-history-view."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/penalty-point-types",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-point-types"
                  ]
                },
                "description": "List configured penalty point types for issue/update flows. Requires one of penalty-point-edit, penalty-point-issue, or penalty-point-history-view."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"penalty_point_types\": [\n    {\n      \"id\": \"00000000-0000-4000-8000-000000000106\",\n      \"name\": \"Unsafe Eye Protection\",\n      \"points\": 3\n    }\n  ]\n}"
            },
            {
              "name": "401 - Unauthenticated",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/penalty-point-types",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-point-types"
                  ]
                },
                "description": "List configured penalty point types for issue/update flows. Requires one of penalty-point-edit, penalty-point-issue, or penalty-point-history-view."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Unauthenticated.\"\n}"
            },
            {
              "name": "403 - Forbidden",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/penalty-point-types",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-point-types"
                  ]
                },
                "description": "List configured penalty point types for issue/update flows. Requires one of penalty-point-edit, penalty-point-issue, or penalty-point-history-view."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Forbidden.\"\n}"
            }
          ]
        },
        {
          "name": "Issue Penalty Point",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"game_id\": \"{{game_id}}\",\n  \"penalty_point_type_id\": \"{{penalty_point_type_id}}\",\n  \"note\": \"Chrono fail during spot check\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/penalty-points",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "penalty-points"
              ]
            },
            "description": "Issue a penalty point against a game. Requires penalty-point-issue. Site/SiteManager callers are scoped to their own site(s)."
          },
          "response": [
            {
              "name": "201 - abbreviated",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"game_id\": \"{{game_id}}\",\n  \"penalty_point_type_id\": \"{{penalty_point_type_id}}\",\n  \"note\": \"Chrono fail during spot check\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/penalty-points",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points"
                  ]
                },
                "description": "Issue a penalty point against a game. Requires penalty-point-issue. Site/SiteManager callers are scoped to their own site(s)."
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true,\n  \"message\": \"Penalty point issued successfully.\",\n  \"penalty_point\": {\n    \"id\": \"00000000-0000-4000-8000-000000000110\",\n    \"game_id\": \"00000000-0000-4000-8000-000000000102\",\n    \"player_id\": \"00000000-0000-4000-8000-000000000101\",\n    \"issuer_id\": \"00000000-0000-4000-8000-000000000125\",\n    \"penalty_point_type_id\": \"00000000-0000-4000-8000-000000000106\",\n    \"note\": \"Example incident note\",\n    \"recalled\": false,\n    \"player\": {\n      \"id\": \"00000000-0000-4000-8000-000000000101\",\n      \"name\": \"Example Player\"\n    },\n    \"issuer\": {\n      \"id\": \"00000000-0000-4000-8000-000000000125\",\n      \"name\": \"Example Staff\"\n    }\n  }\n}"
            },
            {
              "name": "403 - Forbidden (site scope)",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"game_id\": \"{{game_id}}\",\n  \"penalty_point_type_id\": \"{{penalty_point_type_id}}\",\n  \"note\": \"Chrono fail during spot check\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/penalty-points",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points"
                  ]
                },
                "description": "Issue a penalty point against a game. Requires penalty-point-issue. Site/SiteManager callers are scoped to their own site(s)."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"You can only manage penalty points for games at your own site(s).\"\n}"
            },
            {
              "name": "404 - Not Found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"game_id\": \"{{game_id}}\",\n  \"penalty_point_type_id\": \"{{penalty_point_type_id}}\",\n  \"note\": \"Chrono fail during spot check\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/penalty-points",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points"
                  ]
                },
                "description": "Issue a penalty point against a game. Requires penalty-point-issue. Site/SiteManager callers are scoped to their own site(s)."
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Game not found.\"\n}"
            },
            {
              "name": "422 - Validation",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"game_id\": \"{{game_id}}\",\n  \"penalty_point_type_id\": \"{{penalty_point_type_id}}\",\n  \"note\": \"Chrono fail during spot check\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/penalty-points",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points"
                  ]
                },
                "description": "Issue a penalty point against a game. Requires penalty-point-issue. Site/SiteManager callers are scoped to their own site(s)."
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"The given data was invalid.\",\n  \"errors\": {\n    \"penalty_point_type_id\": [\n      \"The selected penalty point type id is invalid.\"\n    ]\n  }\n}"
            },
            {
              "name": "422 - Business Rule",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"game_id\": \"{{game_id}}\",\n  \"penalty_point_type_id\": \"{{penalty_point_type_id}}\",\n  \"note\": \"Chrono fail during spot check\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/penalty-points",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points"
                  ]
                },
                "description": "Issue a penalty point against a game. Requires penalty-point-issue. Site/SiteManager callers are scoped to their own site(s)."
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"This game already has an active penalty point applied.\"\n}"
            }
          ]
        },
        {
          "name": "Update Penalty Point",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"penalty_point_type_id\": \"{{penalty_point_type_id}}\",\n  \"note\": \"Updated review note\",\n  \"reinstate_on_update\": false\n}"
            },
            "url": {
              "raw": "{{base_url}}/penalty-points/{{penalty_point_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "penalty-points",
                "{{penalty_point_id}}"
              ]
            },
            "description": "Update penalty point type/note and optionally reinstate in one call. Requires penalty-point-edit."
          },
          "response": [
            {
              "name": "200 - abbreviated",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"penalty_point_type_id\": \"{{penalty_point_type_id}}\",\n  \"note\": \"Updated review note\",\n  \"reinstate_on_update\": false\n}"
                },
                "url": {
                  "raw": "{{base_url}}/penalty-points/{{penalty_point_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points",
                    "{{penalty_point_id}}"
                  ]
                },
                "description": "Update penalty point type/note and optionally reinstate in one call. Requires penalty-point-edit."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true,\n  \"message\": \"Penalty point updated successfully.\",\n  \"penalty_point\": {\n    \"id\": \"00000000-0000-4000-8000-000000000110\",\n    \"game_id\": \"00000000-0000-4000-8000-000000000102\",\n    \"player_id\": \"00000000-0000-4000-8000-000000000101\",\n    \"issuer_id\": \"00000000-0000-4000-8000-000000000125\",\n    \"penalty_point_type_id\": \"00000000-0000-4000-8000-000000000106\",\n    \"note\": \"Example incident note\",\n    \"recalled\": false,\n    \"player\": {\n      \"id\": \"00000000-0000-4000-8000-000000000101\",\n      \"name\": \"Example Player\"\n    },\n    \"issuer\": {\n      \"id\": \"00000000-0000-4000-8000-000000000125\",\n      \"name\": \"Example Staff\"\n    },\n    \"recalled_by\": null\n  }\n}"
            },
            {
              "name": "403 - Forbidden",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"penalty_point_type_id\": \"{{penalty_point_type_id}}\",\n  \"note\": \"Updated review note\",\n  \"reinstate_on_update\": false\n}"
                },
                "url": {
                  "raw": "{{base_url}}/penalty-points/{{penalty_point_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points",
                    "{{penalty_point_id}}"
                  ]
                },
                "description": "Update penalty point type/note and optionally reinstate in one call. Requires penalty-point-edit."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"You do not have permission to reinstate a recalled penalty point.\"\n}"
            },
            {
              "name": "404 - Not Found",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"penalty_point_type_id\": \"{{penalty_point_type_id}}\",\n  \"note\": \"Updated review note\",\n  \"reinstate_on_update\": false\n}"
                },
                "url": {
                  "raw": "{{base_url}}/penalty-points/{{penalty_point_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points",
                    "{{penalty_point_id}}"
                  ]
                },
                "description": "Update penalty point type/note and optionally reinstate in one call. Requires penalty-point-edit."
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Player not found.\"\n}"
            },
            {
              "name": "422 - Validation",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"penalty_point_type_id\": \"{{penalty_point_type_id}}\",\n  \"note\": \"Updated review note\",\n  \"reinstate_on_update\": false\n}"
                },
                "url": {
                  "raw": "{{base_url}}/penalty-points/{{penalty_point_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points",
                    "{{penalty_point_id}}"
                  ]
                },
                "description": "Update penalty point type/note and optionally reinstate in one call. Requires penalty-point-edit."
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"The given data was invalid.\",\n  \"errors\": {\n    \"penalty_point_type_id\": [\n      \"The selected penalty point type id is invalid.\"\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Revoke Penalty Point",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/penalty-points/{{penalty_point_id}}/revoke",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "penalty-points",
                "{{penalty_point_id}}",
                "revoke"
              ]
            },
            "description": "Revoke an active penalty point. Requires penalty-point-revoke. Site/SiteManager callers are scoped to their own site(s)."
          },
          "response": [
            {
              "name": "200 - abbreviated",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/penalty-points/{{penalty_point_id}}/revoke",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points",
                    "{{penalty_point_id}}",
                    "revoke"
                  ]
                },
                "description": "Revoke an active penalty point. Requires penalty-point-revoke. Site/SiteManager callers are scoped to their own site(s)."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true,\n  \"message\": \"Penalty point recalled successfully.\",\n  \"penalty_point\": {\n    \"id\": \"00000000-0000-4000-8000-000000000110\",\n    \"game_id\": \"00000000-0000-4000-8000-000000000102\",\n    \"player_id\": \"00000000-0000-4000-8000-000000000101\",\n    \"issuer_id\": \"00000000-0000-4000-8000-000000000125\",\n    \"penalty_point_type_id\": \"00000000-0000-4000-8000-000000000106\",\n    \"note\": \"Example incident note\",\n    \"recalled\": true,\n    \"player\": {\n      \"id\": \"00000000-0000-4000-8000-000000000101\",\n      \"name\": \"Example Player\"\n    },\n    \"issuer\": {\n      \"id\": \"00000000-0000-4000-8000-000000000125\",\n      \"name\": \"Example Staff\"\n    },\n    \"recalled_by\": {\n      \"id\": \"00000000-0000-4000-8000-000000000126\",\n      \"name\": \"Example Reviewer\"\n    }\n  }\n}"
            },
            {
              "name": "422 - Already Recalled",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/penalty-points/{{penalty_point_id}}/revoke",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points",
                    "{{penalty_point_id}}",
                    "revoke"
                  ]
                },
                "description": "Revoke an active penalty point. Requires penalty-point-revoke. Site/SiteManager callers are scoped to their own site(s)."
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"This penalty point has already been recalled.\"\n}"
            },
            {
              "name": "403 - Self-Revoke Block",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/penalty-points/{{penalty_point_id}}/revoke",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points",
                    "{{penalty_point_id}}",
                    "revoke"
                  ]
                },
                "description": "Revoke an active penalty point. Requires penalty-point-revoke. Site/SiteManager callers are scoped to their own site(s)."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"You cannot recall a penalty point that belongs to your own game record.\"\n}"
            },
            {
              "name": "403 - Site Scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/penalty-points/{{penalty_point_id}}/revoke",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points",
                    "{{penalty_point_id}}",
                    "revoke"
                  ]
                },
                "description": "Revoke an active penalty point. Requires penalty-point-revoke. Site/SiteManager callers are scoped to their own site(s)."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"You can only manage penalty points for games at your own site(s).\"\n}"
            }
          ]
        },
        {
          "name": "Reinstate Penalty Point",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/penalty-points/{{penalty_point_id}}/reinstate",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "penalty-points",
                "{{penalty_point_id}}",
                "reinstate"
              ]
            },
            "description": "Reinstate a previously revoked penalty point. Requires penalty-point-revoke. Site/SiteManager callers are scoped to their own site(s)."
          },
          "response": [
            {
              "name": "200 - abbreviated",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/penalty-points/{{penalty_point_id}}/reinstate",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points",
                    "{{penalty_point_id}}",
                    "reinstate"
                  ]
                },
                "description": "Reinstate a previously revoked penalty point. Requires penalty-point-revoke. Site/SiteManager callers are scoped to their own site(s)."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true,\n  \"message\": \"Penalty point reinstated successfully.\",\n  \"penalty_point\": {\n    \"id\": \"00000000-0000-4000-8000-000000000110\",\n    \"game_id\": \"00000000-0000-4000-8000-000000000102\",\n    \"player_id\": \"00000000-0000-4000-8000-000000000101\",\n    \"issuer_id\": \"00000000-0000-4000-8000-000000000125\",\n    \"penalty_point_type_id\": \"00000000-0000-4000-8000-000000000106\",\n    \"note\": \"Example incident note\",\n    \"recalled\": false,\n    \"player\": {\n      \"id\": \"00000000-0000-4000-8000-000000000101\",\n      \"name\": \"Example Player\"\n    },\n    \"issuer\": {\n      \"id\": \"00000000-0000-4000-8000-000000000125\",\n      \"name\": \"Example Staff\"\n    },\n    \"recalled_by\": null\n  }\n}"
            },
            {
              "name": "422 - Already Active",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/penalty-points/{{penalty_point_id}}/reinstate",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points",
                    "{{penalty_point_id}}",
                    "reinstate"
                  ]
                },
                "description": "Reinstate a previously revoked penalty point. Requires penalty-point-revoke. Site/SiteManager callers are scoped to their own site(s)."
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"This penalty point is already active.\"\n}"
            },
            {
              "name": "403 - Site Scope",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/penalty-points/{{penalty_point_id}}/reinstate",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "penalty-points",
                    "{{penalty_point_id}}",
                    "reinstate"
                  ]
                },
                "description": "Reinstate a previously revoked penalty point. Requires penalty-point-revoke. Site/SiteManager callers are scoped to their own site(s)."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"You can only manage penalty points for games at your own site(s).\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Players",
      "item": [
        {
          "name": "List Players",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/players?page=1&size=20",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "players"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "size",
                  "value": "20"
                }
              ]
            },
            "description": "List player records."
          },
          "response": [
            {
              "name": "200 - restricted list, abbreviated",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/players?page=1&size=20",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "size",
                      "value": "20"
                    }
                  ]
                },
                "description": "List player records."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"current_page\": 1,\n  \"data\": [\n    {\n      \"id\": \"00000000-0000-4000-8000-000000000101\",\n      \"name\": \"Example Player\",\n      \"member_id\": \"EXAMPLE0001\",\n      \"postcode\": \"ZZ1 1ZZ\",\n      \"status\": {\n        \"valid\": true\n      }\n    }\n  ],\n  \"per_page\": 20,\n  \"last_page\": 1,\n  \"total\": 1\n}"
            },
            {
              "name": "200 - audit-authorised list, abbreviated",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/players?page=1&size=20",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "size",
                      "value": "20"
                    }
                  ]
                },
                "description": "List player records."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"current_page\": 1,\n  \"data\": [\n    {\n      \"id\": \"00000000-0000-4000-8000-000000000101\",\n      \"member_id\": \"EXAMPLE0001\",\n      \"name\": \"Example Player\",\n      \"postcode\": \"ZZ1 1ZZ\",\n      \"dob\": \"1984-11-07T00:00:00.000000Z\",\n      \"open_police_holds_count\": 0,\n      \"games_count\": 14,\n      \"first_game_date\": \"2024-04-01\",\n      \"last_game_date\": \"2026-09-12\",\n      \"status\": {\n        \"valid\": true\n      }\n    }\n  ],\n  \"per_page\": 20,\n  \"total\": 1,\n  \"last_page\": 1\n}"
            }
          ]
        },
        {
          "name": "Create Player",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"forename\": \"Morgan\",\n  \"surname\": \"Example\",\n  \"dob\": \"1990-02-14\",\n  \"email\": \"morgan@example.test\",\n  \"address_1\": \"1 Example Road\",\n  \"address_2\": \"Example Quarter\",\n  \"city\": \"Example Town\",\n  \"region\": \"Example County\",\n  \"postcode\": \"ZZ1 1ZZ\",\n  \"phone\": \"07700900003\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/players",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "players"
              ]
            },
            "description": "Create a new player account."
          },
          "response": [
            {
              "name": "201 - Created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"forename\": \"Morgan\",\n  \"surname\": \"Example\",\n  \"dob\": \"1990-02-14\",\n  \"email\": \"morgan@example.test\",\n  \"address_1\": \"1 Example Road\",\n  \"address_2\": \"Example Quarter\",\n  \"city\": \"Example Town\",\n  \"region\": \"Example County\",\n  \"postcode\": \"ZZ1 1ZZ\",\n  \"phone\": \"07700900003\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/players",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players"
                  ]
                },
                "description": "Create a new player account."
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true\n}"
            }
          ]
        },
        {
          "name": "Get Player",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "X-Lookup-Grant",
                "value": "{{lookup_grant}}",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{base_url}}/players/{{player_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "players",
                "{{player_id}}"
              ]
            },
            "description": "Get one player. For cross-player restricted lookups, supply X-Lookup-Grant with the one-time lookup grant returned by player search."
          },
          "response": [
            {
              "name": "200 - restricted player",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "key": "X-Lookup-Grant",
                    "value": "{{lookup_grant}}",
                    "disabled": true
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/players/{{player_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "{{player_id}}"
                  ]
                },
                "description": "Get one player. For cross-player restricted lookups, supply X-Lookup-Grant with the one-time lookup grant returned by player search."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"player\": {\n    \"id\": \"00000000-0000-4000-8000-000000000101\",\n    \"name\": \"Example Player\",\n    \"member_id\": \"EXAMPLE0001\",\n    \"postcode\": \"ZZ1 1ZZ\",\n    \"level\": \"Player\",\n    \"photos\": []\n  },\n  \"status\": {\n    \"valid\": true\n  },\n  \"renewal_eligibility\": {\n    \"eligible\": true,\n    \"active_expires_at\": null,\n    \"renewable_from\": null,\n    \"message\": null\n  },\n  \"site_renewal_amount\": 2500\n}"
            },
            {
              "name": "403 - Cross-player lookup grant missing/used",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "key": "X-Lookup-Grant",
                    "value": "{{lookup_grant}}",
                    "disabled": true
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/players/{{player_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "{{player_id}}"
                  ]
                },
                "description": "Get one player. For cross-player restricted lookups, supply X-Lookup-Grant with the one-time lookup grant returned by player search."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Lookup access has already been used. Please search again to request fresh access.\"\n}"
            }
          ]
        },
        {
          "name": "Update Player",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Morgan Updated\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/players/{{player_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "players",
                "{{player_id}}"
              ]
            },
            "description": "Update player profile fields."
          },
          "response": [
            {
              "name": "200 - abbreviated",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Morgan Updated\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/players/{{player_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "{{player_id}}"
                  ]
                },
                "description": "Update player profile fields."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"player\": {\n    \"id\": \"00000000-0000-4000-8000-000000000101\",\n    \"name\": \"Example Player Updated\",\n    \"member_id\": \"EXAMPLE0001\",\n    \"postcode\": \"ZZ1 1ZZ\"\n  },\n  \"status\": {\n    \"valid\": true\n  }\n}"
            }
          ]
        },
        {
          "name": "Validate Player",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"verified\": {\n    \"name\": true,\n    \"photo\": true,\n    \"address\": true,\n    \"email\": true,\n    \"phone\": true,\n    \"id\": true,\n    \"dob\": true\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/players/{{player_id}}/validate",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "players",
                "{{player_id}}",
                "validate"
              ]
            },
            "description": "Mark player verification fields as verified."
          },
          "response": [
            {
              "name": "200 - validation queued, abbreviated",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"verified\": {\n    \"name\": true,\n    \"photo\": true,\n    \"address\": true,\n    \"email\": true,\n    \"phone\": true,\n    \"id\": true,\n    \"dob\": true\n  }\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/players/{{player_id}}/validate",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "{{player_id}}",
                    "validate"
                  ]
                },
                "description": "Mark player verification fields as verified."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"player\": {\n    \"id\": \"00000000-0000-4000-8000-000000000101\",\n    \"name\": \"Example Player\",\n    \"member_id\": \"EXAMPLE0001\",\n    \"postcode\": \"ZZ1 1ZZ\",\n    \"verified\": {\n      \"id\": true,\n      \"name\": true,\n      \"email\": true,\n      \"photo\": true,\n      \"address\": true,\n      \"phone\": true\n    }\n  },\n  \"status\": {\n    \"valid\": true\n  }\n}"
            }
          ]
        },
        {
          "name": "Site-Sponsored Renewal",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"site_id\": \"{{site_id}}\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/players/{{player_id}}/site-sponsored-renewal",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "players",
                "{{player_id}}",
                "site-sponsored-renewal"
              ]
            },
            "description": "Renew a player using the site-sponsored or complimentary internal-user flow."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"site_id\": \"{{site_id}}\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/players/{{player_id}}/site-sponsored-renewal",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "{{player_id}}",
                    "site-sponsored-renewal"
                  ]
                },
                "description": "Renew a player using the site-sponsored or complimentary internal-user flow."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true,\n  \"renewed_by\": {\n    \"type\": \"site\",\n    \"name\": \"North Test Site\",\n    \"id\": \"00000000-0000-4000-8000-000000000111\"\n  },\n  \"payment\": {\n    \"status\": \"site-sponsored\",\n    \"expires_at\": \"2027-09-16T00:00:00.000000Z\"\n  },\n  \"player\": {\n    \"id\": \"00000000-0000-4000-8000-000000000101\"\n  },\n  \"status\": {\n    \"valid\": true\n  }\n}"
            },
            {
              "name": "422 - Not eligible yet",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"site_id\": \"{{site_id}}\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/players/{{player_id}}/site-sponsored-renewal",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "{{player_id}}",
                    "site-sponsored-renewal"
                  ]
                },
                "description": "Renew a player using the site-sponsored or complimentary internal-user flow."
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Renewal is available from 16/07/2026.\",\n  \"renewal_eligibility\": {\n    \"eligible\": false,\n    \"active_expires_at\": \"2026-09-16T00:00:00.000000Z\",\n    \"renewable_from\": \"2026-07-16T00:00:00.000000Z\",\n    \"message\": \"Renewal is available from 16/07/2026.\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Search Player By Name",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Morgan Player\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/players/search",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "players",
                "search"
              ]
            },
            "description": "Search for a player by name. In player-to-player scenarios this can return requires_lookup_approval or a lookup_grant."
          },
          "response": [
            {
              "name": "200 - Success, simple lookup",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Morgan Player\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/players/search",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "search"
                  ]
                },
                "description": "Search for a player by name. In player-to-player scenarios this can return requires_lookup_approval or a lookup_grant."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"memberId\": \"EXAMPLE0001\"\n}"
            },
            {
              "name": "200 - Success, player-to-player lookup with OTP/approval",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Morgan Player\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/players/search",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "search"
                  ]
                },
                "description": "Search for a player by name. In player-to-player scenarios this can return requires_lookup_approval or a lookup_grant."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"memberId\": \"EXAMPLE0001\",\n  \"lookup_grant\": \"EXAMPLE_LOOKUP_GRANT\"\n}"
            },
            {
              "name": "403 - Approval/OTP required for player cross-lookup",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Morgan Player\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/players/search",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "search"
                  ]
                },
                "description": "Search for a player by name. In player-to-player scenarios this can return requires_lookup_approval or a lookup_grant."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"requires_lookup_approval\": true,\n  \"memberId\": \"EXAMPLE0001\",\n  \"message\": \"Lookup access requires a valid one-time passcode or player approval.\"\n}"
            }
          ]
        },
        {
          "name": "Resolve Lookup With Member ID / OTP",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"member_id\": \"{{member_id}}\",\n  \"otp\": \"{{lookup_otp}}\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{base_url}}/players/search",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "players",
                "search"
              ]
            },
            "description": "Alternate POST /players/search flow used after OTP or approval-based player lookup."
          },
          "response": [
            {
              "name": "200 - Success, simple lookup",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"member_id\": \"{{member_id}}\",\n  \"otp\": \"{{lookup_otp}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/players/search",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "search"
                  ]
                },
                "description": "Alternate POST /players/search flow used after OTP or approval-based player lookup."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"memberId\": \"EXAMPLE0001\"\n}"
            },
            {
              "name": "200 - Success, player-to-player lookup with OTP/approval",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"member_id\": \"{{member_id}}\",\n  \"otp\": \"{{lookup_otp}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/players/search",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "search"
                  ]
                },
                "description": "Alternate POST /players/search flow used after OTP or approval-based player lookup."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"memberId\": \"EXAMPLE0001\",\n  \"lookup_grant\": \"EXAMPLE_LOOKUP_GRANT\"\n}"
            },
            {
              "name": "403 - Approval/OTP required for player cross-lookup",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"member_id\": \"{{member_id}}\",\n  \"otp\": \"{{lookup_otp}}\"\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{base_url}}/players/search",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "search"
                  ]
                },
                "description": "Alternate POST /players/search flow used after OTP or approval-based player lookup."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"requires_lookup_approval\": true,\n  \"memberId\": \"EXAMPLE0001\",\n  \"message\": \"Lookup access requires a valid one-time passcode or player approval.\"\n}"
            }
          ]
        },
        {
          "name": "Search Player List",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Morgan Player\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/players/search-list",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "players",
                "search-list"
              ]
            },
            "description": "Return a list of players matching a search name."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"Morgan Player\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/players/search-list",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "search-list"
                  ]
                },
                "description": "Return a list of players matching a search name."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"members\": [\n    {\n      \"id\": \"00000000-0000-4000-8000-000000000101\",\n      \"member_id\": \"EXAMPLE0001\",\n      \"name\": \"Morgan Player\",\n      \"forename\": \"Morgan\",\n      \"surname\": \"Player\",\n      \"postcode\": \"ZZ1 1ZZ\",\n      \"level\": \"Player\",\n      \"photos\": [\n        {\n          \"filename\": \"abc123.jpg\",\n          \"path\": \"/storage/images/abc123.jpg\"\n        }\n      ]\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Upload Player Photo",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "photo",
                  "type": "file",
                  "src": ""
                }
              ]
            },
            "url": {
              "raw": "{{base_url}}/players/{{player_id}}/photo",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "players",
                "{{player_id}}",
                "photo"
              ]
            },
            "description": "Upload or replace a player photo using multipart/form-data."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "key": "photo",
                      "type": "file",
                      "src": ""
                    }
                  ]
                },
                "url": {
                  "raw": "{{base_url}}/players/{{player_id}}/photo",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "{{player_id}}",
                    "photo"
                  ]
                },
                "description": "Upload or replace a player photo using multipart/form-data."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"player\": {\n    \"id\": \"00000000-0000-4000-8000-000000000101\",\n    \"member_id\": \"EXAMPLE0001\",\n    \"name\": \"Morgan Player\",\n    \"forename\": \"Morgan\",\n    \"surname\": \"Player\",\n    \"postcode\": \"ZZ1 1ZZ\",\n    \"level\": \"Player\",\n    \"photos\": [\n      {\n        \"filename\": \"abc123.jpg\",\n        \"path\": \"/storage/images/abc123.jpg\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Get Player Status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/players/{{player_id}}/status",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "players",
                "{{player_id}}",
                "status"
              ]
            },
            "description": "Return membership validity and related player status details."
          },
          "response": [
            {
              "name": "200 - valid defence",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/players/{{player_id}}/status",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "{{player_id}}",
                    "status"
                  ]
                },
                "description": "Return membership validity and related player status details."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"valid\": true\n}"
            },
            {
              "name": "200 - membership payment required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/players/{{player_id}}/status",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "players",
                    "{{player_id}}",
                    "status"
                  ]
                },
                "description": "Return membership validity and related player status details."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"valid\": false,\n  \"code\": \"pay\",\n  \"message\": \"Account disabled, membership payment required\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Player Lookup",
      "item": [
        {
          "name": "Generate OTP",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/player-lookup/otp",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "player-lookup",
                "otp"
              ]
            },
            "description": "Generate a self-service single-use OTP for player lookup."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/player-lookup/otp",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "otp"
                  ]
                },
                "description": "Generate a self-service single-use OTP for player lookup."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true,\n  \"member_id\": \"APD12345\",\n  \"otp\": \"847291\",\n  \"expires_at\": \"2026-04-14T10:30:00+00:00\"\n}"
            },
            {
              "name": "403 - Non-player account",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/player-lookup/otp",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "otp"
                  ]
                },
                "description": "Generate a self-service single-use OTP for player lookup."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Only player-level accounts can generate a lookup passcode.\"\n}"
            }
          ]
        },
        {
          "name": "Request Lookup Access",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"member_id\": \"{{member_id}}\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/player-lookup/request",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "player-lookup",
                "request"
              ]
            },
            "description": "Request approval to view another player's defence profile."
          },
          "response": [
            {
              "name": "200 - Pending, request sent",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"member_id\": \"{{member_id}}\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/player-lookup/request",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "request"
                  ]
                },
                "description": "Request approval to view another player's defence profile."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"status\": \"pending\",\n  \"lookup_access_id\": \"00000000-0000-4000-8000-000000000108\",\n  \"message\": \"Approval request sent to the player email address.\"\n}"
            },
            {
              "name": "200 - Self, requesting own profile",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"member_id\": \"{{member_id}}\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/player-lookup/request",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "request"
                  ]
                },
                "description": "Request approval to view another player's defence profile."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"status\": \"self\",\n  \"message\": \"You can access your own player profile directly.\",\n  \"member_id\": \"APD12345\"\n}"
            },
            {
              "name": "404 - Player not found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"member_id\": \"{{member_id}}\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/player-lookup/request",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "request"
                  ]
                },
                "description": "Request approval to view another player's defence profile."
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Player not found.\"\n}"
            },
            {
              "name": "429 - Rate limited",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"member_id\": \"{{member_id}}\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/player-lookup/request",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "request"
                  ]
                },
                "description": "Request approval to view another player's defence profile."
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"status\": \"cooldown\",\n  \"message\": \"Request already sent recently. Please wait before requesting access again.\",\n  \"retry_after_seconds\": 240,\n  \"retry_after_at\": \"2026-04-13T10:34:00+00:00\"\n}"
            }
          ]
        },
        {
          "name": "List Pending Requests",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/player-lookup/pending",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "player-lookup",
                "pending"
              ]
            },
            "description": "List pending lookup requests for the authenticated owner/player."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/player-lookup/pending",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "pending"
                  ]
                },
                "description": "List pending lookup requests for the authenticated owner/player."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"pending_requests\": [\n    {\n      \"id\": \"00000000-0000-4000-8000-000000000108\",\n      \"owner_user_id\": \"00000000-0000-4000-8000-000000000109\",\n      \"requester_user_id\": \"00000000-0000-4000-8000-000000000110\",\n      \"requester_email\": \"jane@example.test\",\n      \"access_member_id\": \"APD12345\",\n      \"decision_status\": \"pending\",\n      \"request_expires_at\": \"2026-04-14T10:00:00+00:00\",\n      \"created_at\": \"2026-04-13T10:00:00+00:00\",\n      \"requester\": {\n        \"id\": \"00000000-0000-4000-8000-000000000110\",\n        \"name\": \"Jane Smith\",\n        \"member_id\": \"APD67890\"\n      }\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Get Lookup Status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/player-lookup/{{lookup_access_id}}/status",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "player-lookup",
                "{{lookup_access_id}}",
                "status"
              ]
            },
            "description": "Poll lookup approval status until it moves away from pending."
          },
          "response": [
            {
              "name": "200 - pending",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/player-lookup/{{lookup_access_id}}/status",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "{{lookup_access_id}}",
                    "status"
                  ]
                },
                "description": "Poll lookup approval status until it moves away from pending."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"status\": \"pending\",\n  \"message\": \"Waiting for player approval.\"\n}"
            },
            {
              "name": "200 - approved-live",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/player-lookup/{{lookup_access_id}}/status",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "{{lookup_access_id}}",
                    "status"
                  ]
                },
                "description": "Poll lookup approval status until it moves away from pending."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"status\": \"approved-live\",\n  \"member_id\": \"APD12345\",\n  \"message\": \"Access approved. Call POST /api/players/search with the member_id to receive a lookup_grant for the profile fetch.\"\n}"
            },
            {
              "name": "200 - approved-otp-emailed",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/player-lookup/{{lookup_access_id}}/status",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "{{lookup_access_id}}",
                    "status"
                  ]
                },
                "description": "Poll lookup approval status until it moves away from pending."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"status\": \"approved-otp-emailed\",\n  \"message\": \"Access approved. A one-time passcode has been emailed to you. Use it in POST /api/players/search.\"\n}"
            },
            {
              "name": "200 - denied",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/player-lookup/{{lookup_access_id}}/status",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "{{lookup_access_id}}",
                    "status"
                  ]
                },
                "description": "Poll lookup approval status until it moves away from pending."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"status\": \"denied\",\n  \"message\": \"Your access request was denied.\"\n}"
            },
            {
              "name": "200 - used",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/player-lookup/{{lookup_access_id}}/status",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "{{lookup_access_id}}",
                    "status"
                  ]
                },
                "description": "Poll lookup approval status until it moves away from pending."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"status\": \"used\",\n  \"message\": \"This approval has already been used.\"\n}"
            }
          ]
        },
        {
          "name": "Approve Or Deny Lookup Request",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"decision\": \"approve\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/player-lookup/{{lookup_access_id}}/decision",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "player-lookup",
                "{{lookup_access_id}}",
                "decision"
              ]
            },
            "description": "Approve or deny a pending player lookup request."
          },
          "response": [
            {
              "name": "200 - Approved, requester online",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"decision\": \"approve\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/player-lookup/{{lookup_access_id}}/decision",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "{{lookup_access_id}}",
                    "decision"
                  ]
                },
                "description": "Approve or deny a pending player lookup request."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true,\n  \"message\": \"Request approved. If the requester is still polling the status endpoint, access will open automatically.\"\n}"
            },
            {
              "name": "200 - Approved, requester offline or signalled away",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"decision\": \"approve\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/player-lookup/{{lookup_access_id}}/decision",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "{{lookup_access_id}}",
                    "decision"
                  ]
                },
                "description": "Approve or deny a pending player lookup request."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true,\n  \"message\": \"Request approved. The requester was offline, so a one-time passcode was emailed to them.\"\n}"
            },
            {
              "name": "200 - Denied",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"decision\": \"approve\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/player-lookup/{{lookup_access_id}}/decision",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "{{lookup_access_id}}",
                    "decision"
                  ]
                },
                "description": "Approve or deny a pending player lookup request."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true,\n  \"message\": \"Request denied. The requester cannot view your defence details.\"\n}"
            },
            {
              "name": "422 - Already processed or expired",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"decision\": \"approve\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/player-lookup/{{lookup_access_id}}/decision",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "{{lookup_access_id}}",
                    "decision"
                  ]
                },
                "description": "Approve or deny a pending player lookup request."
              },
              "status": "Unprocessable Entity",
              "code": 422,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"This request has already been processed.\"\n}"
            }
          ]
        },
        {
          "name": "Signal Requester Away",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/player-lookup/{{lookup_access_id}}/signal-away",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "player-lookup",
                "{{lookup_access_id}}",
                "signal-away"
              ]
            },
            "description": "Mark the requester as offline so approval falls back to OTP email delivery."
          },
          "response": [
            {
              "name": "200 - Signalled",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/player-lookup/{{lookup_access_id}}/signal-away",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "{{lookup_access_id}}",
                    "signal-away"
                  ]
                },
                "description": "Mark the requester as offline so approval falls back to OTP email delivery."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"status\": \"ok\"\n}"
            },
            {
              "name": "200 - Ignored, request already decided or used",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/player-lookup/{{lookup_access_id}}/signal-away",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "player-lookup",
                    "{{lookup_access_id}}",
                    "signal-away"
                  ]
                },
                "description": "Mark the requester as offline so approval falls back to OTP email delivery."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"status\": \"ignored\"\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Police Holds",
      "item": [
        {
          "name": "List Holds For Player",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/police-holds/{{player_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "police-holds",
                "{{player_id}}"
              ]
            },
            "description": "List police holds for a player."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/police-holds/{{player_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "police-holds",
                    "{{player_id}}"
                  ]
                },
                "description": "List police holds for a player."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "[\n  {\n    \"id\": \"00000000-0000-4000-8000-000000000112\",\n    \"officer\": {\n      \"id\": \"00000000-0000-4000-8000-000000000101\",\n      \"name\": \"Officer Example\"\n    },\n    \"public_note\": \"Hold placed pending investigation\",\n    \"lifted\": null\n  }\n]"
            }
          ]
        },
        {
          "name": "Create Police Hold",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"player_id\": \"{{player_id}}\",\n  \"public_note\": \"Hold for investigation\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/police-holds",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "police-holds"
              ]
            },
            "description": "Create a police hold record on a player."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"player_id\": \"{{player_id}}\",\n  \"public_note\": \"Hold for investigation\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/police-holds",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "police-holds"
                  ]
                },
                "description": "Create a police hold record on a player."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true,\n  \"hold\": {\n    \"id\": \"00000000-0000-4000-8000-000000000112\",\n    \"player_id\": \"00000000-0000-4000-8000-000000000101\",\n    \"officer_id\": \"00000000-0000-4000-8000-000000000113\",\n    \"public_note\": \"Hold placed pending investigation\",\n    \"lifted\": null,\n    \"created_at\": \"2026-04-10T14:30:00.000000Z\",\n    \"updated_at\": \"2026-04-10T14:30:00.000000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Update Police Hold",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"public_note\": \"Updated public note\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/police-holds/{{police_hold_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "police-holds",
                "{{police_hold_id}}"
              ]
            },
            "description": "Update a police hold."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"public_note\": \"Updated public note\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/police-holds/{{police_hold_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "police-holds",
                    "{{police_hold_id}}"
                  ]
                },
                "description": "Update a police hold."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true,\n  \"hold\": {\n    \"id\": \"00000000-0000-4000-8000-000000000112\",\n    \"player_id\": \"00000000-0000-4000-8000-000000000101\",\n    \"officer_id\": \"00000000-0000-4000-8000-000000000113\",\n    \"public_note\": \"Updated hold reason\",\n    \"lifted\": null,\n    \"created_at\": \"2026-04-10T14:30:00.000000Z\",\n    \"updated_at\": \"2026-04-10T15:00:00.000000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Delete Police Hold",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/police-holds/{{police_hold_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "police-holds",
                "{{police_hold_id}}"
              ]
            },
            "description": "Delete a police hold record."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/police-holds/{{police_hold_id}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "police-holds",
                    "{{police_hold_id}}"
                  ]
                },
                "description": "Delete a police hold record."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true\n}"
            }
          ]
        },
        {
          "name": "Lift Police Hold",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/police-holds/{{police_hold_id}}/lift",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "police-holds",
                "{{police_hold_id}}",
                "lift"
              ]
            },
            "description": "Lift a police hold without deleting its record."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/police-holds/{{police_hold_id}}/lift",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "police-holds",
                    "{{police_hold_id}}",
                    "lift"
                  ]
                },
                "description": "Lift a police hold without deleting its record."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"success\": true,\n  \"hold\": {\n    \"id\": \"00000000-0000-4000-8000-000000000112\",\n    \"player_id\": \"00000000-0000-4000-8000-000000000101\",\n    \"officer_id\": \"00000000-0000-4000-8000-000000000113\",\n    \"public_note\": \"Hold placed pending investigation\",\n    \"lifted\": \"2026-04-11T09:00:00.000000Z\",\n    \"created_at\": \"2026-04-10T14:30:00.000000Z\",\n    \"updated_at\": \"2026-04-11T09:00:00.000000Z\"\n  }\n}"
            }
          ]
        }
      ]
    },
    {
      "name": "Other & System",
      "item": [
        {
          "name": "List Audits",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/audits",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "audits"
              ],
              "query": [
                {
                  "key": "user_id",
                  "value": "{{user_id}}",
                  "disabled": true
                }
              ]
            },
            "description": "List audit logs. Optionally filter by user_id."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/audits",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "audits"
                  ],
                  "query": [
                    {
                      "key": "user_id",
                      "value": "{{user_id}}",
                      "disabled": true
                    }
                  ]
                },
                "description": "List audit logs. Optionally filter by user_id."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"audits\": [\n    {\n      \"id\": 1,\n      \"user_id\": \"00000000-0000-4000-8000-000000000101\",\n      \"audit_id\": \"00000000-0000-4000-8000-000000000101\",\n      \"audit_type\": \"App\\\\Models\\\\User\",\n      \"action\": \"update\",\n      \"data\": \"{\\\"name\\\":\\\"Alex Carter\\\"}\",\n      \"ip_address\": \"192.0.2.10\",\n      \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64)\",\n      \"source\": \"web\",\n      \"created_at\": \"2026-03-28T18:09:21.000000Z\",\n      \"updated_at\": \"2026-03-28T18:09:21.000000Z\"\n    }\n  ],\n  \"users\": [\n    {\n      \"id\": \"00000000-0000-4000-8000-000000000101\",\n      \"name\": \"Alex Carter\",\n      \"email\": \"u**r@example.test\"\n    }\n  ]\n}"
            }
          ]
        },
        {
          "name": "Get Metrics",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/metrics?metric={{metric}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "metrics"
              ],
              "query": [
                {
                  "key": "metric",
                  "value": "{{metric}}"
                }
              ]
            },
            "description": "Return nested count metrics. Valid metric values include user_count, player_count, player_total_count, store_count, site_count, and game_count."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/metrics?metric={{metric}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "metrics"
                  ],
                  "query": [
                    {
                      "key": "metric",
                      "value": "{{metric}}"
                    }
                  ]
                },
                "description": "Return nested count metrics. Valid metric values include user_count, player_count, player_total_count, store_count, site_count, and game_count."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"2024\": {\n    \"1\": {\n      \"1\": 850,\n      \"15\": 862\n    },\n    \"2\": {\n      \"1\": 875\n    }\n  },\n  \"2025\": {\n    \"4\": {\n      \"7\": 1234\n    }\n  }\n}"
            },
            {
              "name": "400 - invalid metric",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/metrics?metric={{metric}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "metrics"
                  ],
                  "query": [
                    {
                      "key": "metric",
                      "value": "{{metric}}"
                    }
                  ]
                },
                "description": "Return nested count metrics. Valid metric values include user_count, player_count, player_total_count, store_count, site_count, and game_count."
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"error\": \"Invalid metric key\"\n}"
            },
            {
              "name": "401 - sign-in required",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/metrics?metric={{metric}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "metrics"
                  ],
                  "query": [
                    {
                      "key": "metric",
                      "value": "{{metric}}"
                    }
                  ]
                },
                "description": "Return nested count metrics. Valid metric values include user_count, player_count, player_total_count, store_count, site_count, and game_count."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Unauthenticated.\"\n}"
            },
            {
              "name": "403 - access denied",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/metrics?metric={{metric}}",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "metrics"
                  ],
                  "query": [
                    {
                      "key": "metric",
                      "value": "{{metric}}"
                    }
                  ]
                },
                "description": "Return nested count metrics. Valid metric values include user_count, player_count, player_total_count, store_count, site_count, and game_count."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"Forbidden.\"\n}"
            }
          ]
        },
        {
          "name": "Get Profile",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/profile",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "profile"
              ]
            },
            "description": "Return the current authenticated user's profile payload."
          },
          "response": [
            {
              "name": "200 - Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/profile",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "profile"
                  ]
                },
                "description": "Return the current authenticated user's profile payload."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"user\": {\n    \"id\": \"00000000-0000-4000-8000-000000000101\",\n    \"member_id\": \"EXAMPLE0001\",\n    \"forename\": \"Morgan\",\n    \"surname\": \"Quinn\",\n    \"name\": \"Morgan Quinn\",\n    \"address_1\": \"20 Sample Road\",\n    \"address_2\": null,\n    \"city\": \"Example City\",\n    \"region\": \"Example Cityshire\",\n    \"postcode\": \"ZZ1 2ZZ\",\n    \"phone\": \"07700900002\",\n    \"dob\": \"1990-05-15T00:00:00.000000Z\",\n    \"email\": \"user@example.test\",\n    \"police_hold\": 0,\n    \"verified\": {\n      \"id\": true,\n      \"name\": true,\n      \"email\": true,\n      \"phone\": false,\n      \"photo\": true,\n      \"address\": true\n    },\n    \"two_factor_enabled_at\": null,\n    \"created_at\": \"2025-01-10T09:00:00.000000Z\",\n    \"updated_at\": \"2026-04-07T10:30:00.000000Z\",\n    \"games\": [\n      {\n        \"id\": \"00000000-0000-4000-8000-000000000114\",\n        \"site_id\": \"00000000-0000-4000-8000-000000000115\",\n        \"play_date\": \"2024-09-08T00:00:00.000000Z\"\n      }\n    ],\n    \"photos\": [\n      {\n        \"id\": \"00000000-0000-4000-8000-000000000116\",\n        \"path\": \"/storage/photos/users/b1/69c9023ff3d7a4.35107503.jpg\",\n        \"filename\": \"69c9023ff3d7a4.35107503.jpg\"\n      }\n    ]\n  }\n}"
            }
          ]
        },
        {
          "name": "Update Profile",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{bearer_token}}"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"John Updated\"\n}"
            },
            "url": {
              "raw": "{{base_url}}/profile",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "profile"
              ]
            },
            "description": "Update the authenticated user's profile."
          },
          "response": [
            {
              "name": "200 - abbreviated",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{bearer_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"name\": \"John Updated\"\n}"
                },
                "url": {
                  "raw": "{{base_url}}/profile",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "profile"
                  ]
                },
                "description": "Update the authenticated user's profile."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"user\": {\n    \"id\": \"00000000-0000-4000-8000-000000000101\",\n    \"name\": \"Example Player Updated\",\n    \"member_id\": \"EXAMPLE0001\",\n    \"postcode\": \"ZZ1 1ZZ\",\n    \"email\": \"player@example.test\",\n    \"forename\": \"Example\",\n    \"surname\": \"Player Updated\",\n    \"updated_at\": \"2026-10-01T10:30:00.000000Z\"\n  }\n}"
            }
          ]
        },
        {
          "name": "Ping",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/ping",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "ping"
              ]
            },
            "description": "Live public utility route for basic API reachability checks.",
            "auth": {
              "type": "noauth"
            }
          },
          "response": [
            {
              "name": "200 - OK",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/ping",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "ping"
                  ]
                },
                "description": "Live public utility route for basic API reachability checks.",
                "auth": {
                  "type": "noauth"
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"message\": \"pong\"\n}"
            }
          ]
        },
        {
          "name": "Get Current API User",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{legacy_api_token}}"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{base_url}}/user",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "user"
              ]
            },
            "description": "Legacy account bearer endpoint. For Sanctum and Passport use Get Profile."
          },
          "response": [
            {
              "name": "200 - abbreviated",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{legacy_api_token}}"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{base_url}}/user",
                  "host": [
                    "{{base_url}}"
                  ],
                  "path": [
                    "user"
                  ]
                },
                "description": "Legacy account bearer endpoint. For Sanctum and Passport use Get Profile."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "body": "{\n  \"id\": \"00000000-0000-4000-8000-000000000001\",\n  \"name\": \"Morgan Example\",\n  \"email\": \"morgan@example.test\"\n}"
            }
          ]
        }
      ]
    }
  ]
}
