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

# Create a gateway



## OpenAPI

````yaml /openapi.json post /v1/admin/gateways
openapi: 3.0.0
info:
  title: OneSubnet Core API
  description: >-
    OneSubnet hosting panel API. Toutes les routes sont préfixées par /v1/
    (versioning URI). Les routes Panel sont appelées par le daemon Wings, pas
    par les clients. Les routes Admin nécessitent le rôle admin.
  version: '1.0'
  contact: {}
servers: []
security: []
tags:
  - name: Auth & Users
    description: Authentification, profil, gestion utilisateurs
  - name: Store
    description: 'Boutique: catégories, produits, panier'
  - name: Billing
    description: Facturation, checkout Stripe, webhooks
  - name: Services
    description: Services hébergés (enregistrements facturation)
  - name: Affiliation
    description: Parrainage et commissions
  - name: Notifications
    description: Notifications
  - name: Admin - RBAC
    description: Gestion des rôles, permissions, groupes
  - name: Admin - Store & Invoices
    description: CRUD produits, plans, coupons, factures
  - name: Admin - Settings & Tenants
    description: Configuration, multi-tenant, whitelabel
  - name: Admin - Audit
    description: Journal d'audit des requêtes
  - name: System
    description: Health, meta-info
paths:
  /v1/admin/gateways:
    post:
      tags:
        - Admin - Gateways
      summary: Create a gateway
      operationId: AdminGatewayController_create_v1
      parameters: []
      responses:
        '201':
          description: ''
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````

## Related topics

- [Create a checkout session for an offer](/api-reference/billing/create-a-checkout-session-for-an-offer.md)
- [Delete a gateway](/api-reference/admin--gateways/delete-a-gateway.md)
- [Update a gateway](/api-reference/admin--gateways/update-a-gateway.md)
- [List all configured gateways](/api-reference/admin--gateways/list-all-configured-gateways.md)
- [List enabled payment gateways for checkout](/api-reference/billing/list-enabled-payment-gateways-for-checkout.md)
