NodeRings Inc. Payment Method Service API

The PaymentMethodService API from NodeRings Inc. — 3 operation(s) for paymentmethodservice.

GitHub OpenAPI

Operations 4

GET /v1/payment-methods List payment methods for an organization/subscription Returns payment method… #
POST /v1/payment-methods Attach a payment method to a subscription/organization Works for both providers… #
DELETE /v1/payment-methods/{paymentMethodId} Remove a payment method Validation: - Providers: Cannot remove if only one… #
POST /v1/payment-methods/{paymentMethodId}:set-default Set a payment method as the default payment method Validates payment method… #

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/noderings-com:noderings-com-paymentmethodservice-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

noderings-com-paymentmethodservice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NodeRings Payment Method Service API
  version: '1.0'
  contact:
    name: NodeRings
    url: https://noderings.com
servers:
- url: https://api.noderings.com
security:
- BearerAuth: []
  OrgIDHeader: []
tags:
- name: PaymentMethodService
paths:
  /v1/payment-methods:
    get:
      summary: List payment methods for an organization/subscription Returns payment method…
      operationId: PaymentMethodService_ListPaymentMethods
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1ListPaymentMethodsResponse'
      parameters:
      - name: subscriptionId
        description: 'Filters


          Filter by subscription'
        in: query
        required: false
        schema:
          type: string
      - name: onlyDefault
        description: Only return default payment method
        in: query
        required: false
        schema:
          type: boolean
      - name: page
        description: Pagination
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: pageSize
        in: query
        required: false
        schema:
          type: integer
          format: int32
      tags:
      - PaymentMethodService
    post:
      summary: Attach a payment method to a subscription/organization Works for both providers…
      operationId: PaymentMethodService_AttachPaymentMethod
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1AttachPaymentMethodResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v1AttachPaymentMethodRequest'
        required: true
      tags:
      - PaymentMethodService
  /v1/payment-methods/{paymentMethodId}:
    delete:
      summary: 'Remove a payment method Validation: - Providers: Cannot remove if only one…'
      operationId: PaymentMethodService_RemovePaymentMethod
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1RemovePaymentMethodResponse'
      parameters:
      - name: paymentMethodId
        in: path
        required: true
        schema:
          type: string
      tags:
      - PaymentMethodService
  /v1/payment-methods/{paymentMethodId}:set-default:
    post:
      summary: Set a payment method as the default payment method Validates payment method…
      operationId: PaymentMethodService_SetDefaultPaymentMethod
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SetDefaultPaymentMethodResponse'
      parameters:
      - name: paymentMethodId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PaymentMethodServiceSetDefaultPaymentMethodBody'
        required: true
      tags:
      - PaymentMethodService
components:
  schemas:
    PaymentMethodServiceSetDefaultPaymentMethodBody:
      type: object
    v1SetDefaultPaymentMethodResponse:
      type: object
      properties:
        paymentMethod:
          $ref: '#/components/schemas/v1PaymentMethod'
    v1ListPaymentMethodsResponse:
      type: object
      properties:
        paymentMethods:
          type: array
          items:
            $ref: '#/components/schemas/v1PaymentMethod'
        totalCount:
          type: integer
          format: int32
    v1Timestamps:
      type: object
      properties:
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
      title: Object details
    v1AttachPaymentMethodResponse:
      type: object
      properties:
        paymentMethod:
          $ref: '#/components/schemas/v1PaymentMethod'
    v1PaymentMethod:
      type: object
      properties:
        id:
          type: string
        customerId:
          type: string
          title: Payment provider customer ID
        paymentProviderPaymentMethodId:
          type: string
          title: Payment provider payment method ID (e.g., Stripe payment method ID,
        type:
          type: string
          description: 'Payment method type: "card", "paypal", etc.'
          title: PayPal billing agreement ID)
        last4:
          type: string
          title: Last 4 digits (for cards)
        brand:
          type: string
          description: 'Card brand (for cards): "visa", "mastercard", etc.'
        expiryMonth:
          type: integer
          format: int32
          title: Expiry month (for cards, 1-12)
        expiryYear:
          type: integer
          format: int32
          title: Expiry year (for cards)
        isDefault:
          type: boolean
          title: Whether this is the default payment method
        metadata:
          type: object
          title: Payment method metadata
        createdAt:
          type: string
          format: date-time
          title: When payment method was attached
        organizationId:
          type: string
          description: Organization that owns this payment method
          title: Relations
        subscriptionId:
          type: string
          title: 'Optional: Subscription this payment method is associated with'
        status:
          $ref: '#/components/schemas/protov1Status'
        timestamps:
          $ref: '#/components/schemas/v1Timestamps'
      title: PaymentMethod represents a payment method attached to a customer/organization
    protov1Status:
      type: string
      enum:
      - STATUS_UNSPECIFIED
      - STATUS_ACTIVE
      - STATUS_INACTIVE
      - STATUS_BANNED
      - STATUS_SOFT_DELETED
      default: STATUS_UNSPECIFIED
      title: Status of the object
    v1AttachPaymentMethodRequest:
      type: object
      properties:
        subscriptionId:
          type: string
          title: 'Subscription reference (required for client subscriptions to provider

            plans) For provider platform subscriptions, subscription_id is required'
        paymentMethodId:
          type: string
          description: 'Optional: Payment method ID (if using existing)'
          title: 'Payment method details

            Either payment_method_id or payment_method_token must be provided'
        paymentMethodToken:
          type: string
          title: 'Optional: Payment method token from frontend (Stripe.js, PayPal SDK)'
        setAsDefault:
          type: boolean
          description: Whether to set as default payment method
          title: Options
        metadata:
          type: object
          description: 'Optional: custom metadata'
          title: Metadata
      title: Payment method messages
    v1RemovePaymentMethodResponse:
      type: object
      properties:
        success:
          type: boolean
  securitySchemes:
    BearerAuth:
      type: apiKey
      description: Bearer token
      name: Authorization
      in: header
    OrgIDHeader:
      type: apiKey
      description: Tenant or organization identifier
      name: X-Organization-ID
      in: header