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

# Get your gateway

> Your gateway and its API keys (prefixes only).



## OpenAPI

````yaml GET /payments/merchants/me
openapi: 3.1.0
info:
  title: Paywire API
  version: 1.0.0
  description: >-
    Accept crypto payments: create payment links, follow orders, receive signed
    webhooks.
servers:
  - url: https://api.staging.paywire.xyz
    description: Staging (testnets)
security:
  - apiKey: []
tags:
  - name: Payment links
  - name: Orders
  - name: Account
  - name: Webhooks
paths:
  /payments/merchants/me:
    get:
      tags:
        - Account
      summary: Get your gateway
      description: Your gateway and its API keys (prefixes only).
      operationId: getMerchant
      responses:
        '200':
          description: Your gateway.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Merchant'
              example:
                id: 0193a0b1-2c3d-7e4f-8a9b-0c1d2e3f4a5b
                name: Example Shop
                createdAt: '2026-10-20T08:00:00Z'
                isEnabled: true
                disabledAt: null
                apiKeys:
                  - id: 0193a0b1-9f8e-7d6c-8b5a-4f3e2d1c0b9a
                    prefix: w3g_7Kp2
                    label: production
                    createdAt: '2026-10-20T08:00:00Z'
                    revokedAt: null
        '401':
          description: Missing, unknown or revoked API key.
components:
  schemas:
    Merchant:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        createdAt:
          type: string
          format: date-time
        isEnabled:
          type: boolean
        disabledAt:
          type:
            - string
            - 'null'
          format: date-time
        apiKeys:
          type: array
          items:
            $ref: '#/components/schemas/ApiKey'
    ApiKey:
      type: object
      properties:
        id:
          type: string
          format: uuid
        prefix:
          type: string
        label:
          type:
            - string
            - 'null'
        createdAt:
          type: string
          format: date-time
        revokedAt:
          type:
            - string
            - 'null'
          format: date-time
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: Your gateway's API key (`w3g_...`).

````

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