NexGen Cloud User API

Account-level user information and billing identity.

Operations 4

GET /billing/user/countries GET: Retrieve allowed country codes #
GET /billing/user/info GET: Retrieve billing info #
PUT /billing/user/info PUT: Update billing info #
POST /billing/user/info POST: Insert billing info #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nexgen-cloud-user-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

nexgen-cloud-user-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Infrahub User API
  version: '1.0'
servers:
- url: https://infrahub-api.nexgencloud.com/v1
security:
- accessToken: []
- apiKey: []
tags:
- name: User
paths:
  /billing/user/countries:
    get:
      tags:
      - User
      summary: 'GET: Retrieve allowed country codes'
      description: Retrieve the list of allowed ISO 3166-1 alpha-2 country codes that can be used for billing information.
      operationId: Get_allowed_country_codes
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AllowedCountriesResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
        '500':
          description: Internal Server Error
          content: {}
      security:
      - accessToken: []
      - apiKey: []
  /billing/user/info:
    get:
      tags:
      - User
      summary: 'GET: Retrieve billing info'
      description: Retrieve the billing details associated with your user.
      operationId: Get_User_billing_info
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsersInfoListResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
        '500':
          description: Internal Server Error
          content: {}
      security:
      - accessToken: []
      - apiKey: []
    put:
      tags:
      - User
      summary: 'PUT: Update billing info'
      description: Update the billing information for your user in the request body.
      operationId: Update_user_billing_info
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User_info_post_payload'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddUserInfoSuccessResponseModel'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
        '500':
          description: Internal Server Error
          content: {}
      security:
      - accessToken: []
      - apiKey: []
      x-codegen-request-body-name: payload
    post:
      tags:
      - User
      summary: 'POST: Insert billing info'
      description: Add billing details associated with your user in the request body.
      operationId: Add_user_billing_info
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User_info_post_payload'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddUserInfoSuccessResponseModel'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
        '500':
          description: Internal Server Error
          content: {}
      security:
      - accessToken: []
      - apiKey: []
      x-codegen-request-body-name: payload
components:
  schemas:
    AddUserInfoSuccessResponseModel:
      type: object
      properties:
        status:
          type: boolean
        message:
          type: string
        data:
          $ref: '#/components/schemas/UsersInfoFields'
    User_info_post_payload:
      required:
      - business
      - country
      - zip_code
      type: object
      properties:
        business:
          type: boolean
        name:
          type: string
        email:
          type: string
        company_name:
          type: string
        vat_number:
          type: string
        phone:
          type: string
        billing_address1:
          type: string
        billing_address2:
          type: string
        zip_code:
          type: string
        country:
          type: string
        state:
          type: string
    ErrorResponseModel:
      type: object
      properties:
        status:
          type: boolean
          default: false
        message:
          type: string
        error_reason:
          type: string
    AllowedCountriesResponse:
      type: object
      properties:
        status:
          type: boolean
        countries:
          type: array
          items:
            type: string
    UsersInfoFields:
      type: object
      properties:
        id:
          type: integer
        organization_id:
          type: integer
        name:
          type: string
        email:
          type: string
        business:
          type: boolean
        company_name:
          type: string
        vat_number:
          type: string
        phone:
          type: string
        billing_address1:
          type: string
        billing_address2:
          type: string
        zip_code:
          type: string
        country:
          type: string
        state:
          type: string
        created_at:
          type: string
          format: date-time
        stripe_user_id:
          type: string
    UsersInfoListResponse:
      type: object
      properties:
        status:
          type: boolean
        message:
          type: string
        users_info:
          $ref: '#/components/schemas/UsersInfoFields'
  securitySchemes:
    accessToken:
      type: apiKey
      description: Bearer Token
      name: Authorization
      in: header
    apiKey:
      type: apiKey
      description: Send it as api_key in header
      name: api_key
      in: header
x-original-swagger-version: '2.0'