> ## Documentation Index
> Fetch the complete documentation index at: https://docs.skinloop.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Identify the merchant owning an API key

> Server-to-server identity lookup using any valid, non-revoked merchant
API key with a supported scope. No additional scope is required.
account_id is the stable Skinloop merchant ID, independent of the key,
dashboard user, and upstream payment provider. Compare this value
before replacing a stored key; a different ID requires an explicit
account switch. Matching IDs do not imply matching key permissions.
Suspended merchants cannot access this endpoint.




## OpenAPI

````yaml /openapi.yaml get /v1/me
openapi: 3.1.0
info:
  title: Skinloop API
  version: 1.1.0-draft
  description: |
    Public contract for Skinloop merchant payments, hosted checkout status,
    merchant dashboard reads, and merchant webhooks. Skinloop never exposes
    credentials, private identifiers, trade URLs, or client tokens.
servers:
  - url: https://api.skinloop.io
    description: Production
security: []
tags:
  - name: Account
  - name: Payments
  - name: Checkout
  - name: Reporting
  - name: Dashboard
paths:
  /v1/me:
    get:
      tags:
        - Account
      summary: Identify the merchant owning an API key
      description: |
        Server-to-server identity lookup using any valid, non-revoked merchant
        API key with a supported scope. No additional scope is required.
        account_id is the stable Skinloop merchant ID, independent of the key,
        dashboard user, and upstream payment provider. Compare this value
        before replacing a stored key; a different ID requires an explicit
        account switch. Matching IDs do not imply matching key permissions.
        Suspended merchants cannot access this endpoint.
      operationId: getMerchantIdentity
      responses:
        '200':
          description: Identity of the authenticated merchant
          headers:
            Cache-Control:
              schema:
                type: string
                const: no-store
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MerchantIdentity'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '405':
          description: Only GET is supported; OPTIONS is available for preflight.
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
      security:
        - merchantApiKey: []
components:
  schemas:
    MerchantIdentity:
      type: object
      additionalProperties: false
      required:
        - account_id
      properties:
        account_id:
          type: string
          format: uuid
          description: Stable Skinloop merchant ID; unchanged when API keys rotate.
    Error:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: object
          additionalProperties: false
          required:
            - code
            - message
            - request_id
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
  responses:
    Unauthorized:
      description: Authentication or signature verification failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Checkout origin is not allowed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Rate limit exceeded
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServiceUnavailable:
      description: Checkout service is not configured or unavailable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    merchantApiKey:
      type: http
      scheme: bearer
      bearerFormat: Skinloop API key
      description: >
        One API-key record may allow cs2, rust, or both. Every checkout's
        allowedGames must be a subset of that key's allowed games; use one key
        record rather than separate CS2 and Rust keys.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.