Nestcoin Payment Methods Users API

The payment-methods-users API from Nestcoin — 1 operation(s) for payment-methods-users.

Operations 1

PUT /payment-methods/channels/payment-methods/{id} update a 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/nestcoin-payment-methods-users-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

nestcoin-payment-methods-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 3.0.2
  title: Onboard External API Gateway Payment Methods Users API
  description: '**Introduction**

    API Gateway for Onboard


    This specification describes API endpoints that are available to the public internet via the API gateway.'
  contact:
    name: Nestcoin TechOps
    email: techops@nestcoin.com
  license:
    name: UNLICENSED
servers:
- url: https://external.dev.onboardpay.co
  description: Gateway for external API on staging environment.
tags:
- name: payment-methods-users
paths:
  /payment-methods/channels/payment-methods/{id}:
    x-original-path: /channels/payment-methods/{id}
    put:
      tags:
      - payment-methods-users
      summary: update a payment method
      operationId: updatePaymentMethodById
      parameters:
      - name: id
        in: path
        description: the id of the payment method
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PaymentMethodUpdateRequest'
        required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentMethod'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessageDto'
        '401':
          description: Unauthorized request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessageDto'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessageDto'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessageDto'
      security:
      - authToken: []
      x-visibility: external
      x-codegen-request-body-name: updatePaymentMethodRequest
components:
  schemas:
    PaymentMethod:
      type: object
      required:
      - paymentMethodId
      - userId
      - paymentChannelId
      - paymentChannelName
      - paymentChannelType
      - data
      properties:
        paymentMethodId:
          type: string
          description: Id of the payment method
        userId:
          type: string
          description: Id of the owner of a payment method
        paymentChannelId:
          type: string
          description: Payment Channel's id
        paymentChannelName:
          type: string
          description: Payment Channel's name
        paymentChannelType:
          type: string
          description: The type of the payment channel
          example: P2P_WALLET
        defaultCurrencyMap:
          type: object
          description: 'map of currencies set as default

            - A payment method can belong to a channel that supports multiple currencies

            - This contains a map currency symbols to boolean to indicate if method is default for the currency

            '
          additionalProperties:
            type: boolean
            default: false
        data:
          type: object
          additionalProperties:
            type: string
            description: Fields
          description: Can be used to store the required fields and their values for a payment method created by a user.
        isBeneficiary:
          type: boolean
          description: 'Flag indicating if the payment method is a beneficiary account or owned by user.

            Beneficiary accounts CANNOT be used to process P2P trades.

            '
      x-source-svc: payment-methods
    ErrorMessageDto:
      description: Default error object for services. This gives consistent error object that all services may use.
      type: object
      required:
      - code
      - message
      properties:
        code:
          type: string
          description: Error code
          example: UNKNOWN_ERROR
        message:
          type: string
          description: Descriptive error message
          example: Request could not be completed due to an error
        data:
          type: object
          description: Additional data for this error message.
          additionalProperties: true
          properties: {}
      x-common-model: ErrorMessageDto
    PaymentMethodUpdateRequest:
      required:
      - data
      type: object
      properties:
        data:
          type: object
          additionalProperties: true
          description: Can be used to store the required fields and their values for a payment method created by a user.
        otp:
          type: string
          description: Otp code to verify if user exists
      x-source-svc: payment-methods
  securitySchemes:
    authSignature:
      type: apiKey
      name: x-signature
      in: header
    authToken:
      type: apiKey
      name: x-auth-token
      in: header
      description: Auth Token header for inter-service communication
x-organization: onboard
x-service-id: external-gateway
x-preserve-refs:
- '#/components/schemas/IntegrationProduct'
- '#/components/schemas/AdAppliedEscrowBalanceDto'
- '#/components/schemas/P2PWalletRecipient'
- '#/components/schemas/BankAccountRecipient'
- '#/components/schemas/MobileMoneyRecipient'
- '#/components/schemas/OrderEvent'
- '#/components/schemas/PaymentMethodEventAction'
- '#/components/schemas/PaymentMethodEventPayload'
- '#/components/schemas/TransactionServiceErrorCode'
- '#/components/schemas/ErrorCodes'