Mercoa entity > bnpl API

The entity > bnpl API from Mercoa — 1 operation(s) for entity > bnpl.

GitHub OpenAPI

Operations 1

GET /entity/{entityId}/bnpl/loans Get Entity BNPL Loans #

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/mercoa:mercoa-entity-bnpl-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

mercoa-entity-bnpl-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reference entity > bnpl API
  version: 1.0.0
servers:
- url: https://api.mercoa.com
  description: Production
tags:
- name: entity > bnpl
paths:
  /entity/{entityId}/bnpl/loans:
    get:
      operationId: entity_bnpl_getLoans
      summary: Get Entity BNPL Loans
      description: Get all BNPL loans associated with an entity
      tags:
      - entity > bnpl
      parameters:
      - name: entityId
        in: path
        description: The ID of the entity to get loans for
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Response with status 200
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/invoiceTypes_BnplLoanResponse'
        '400':
          description: Error response with status 400
          content:
            application/json:
              schema:
                type: object
                properties:
                  errorName:
                    type: string
                    enum:
                    - BadRequest
                  content:
                    type: string
                required:
                - errorName
                - content
        '401':
          description: Error response with status 401
          content:
            application/json:
              schema:
                type: object
                properties:
                  errorName:
                    type: string
                    enum:
                    - Unauthorized
                  content:
                    type: string
                required:
                - errorName
                - content
        '403':
          description: Error response with status 403
          content:
            application/json:
              schema:
                type: object
                properties:
                  errorName:
                    type: string
                    enum:
                    - Forbidden
                  content:
                    type: string
                required:
                - errorName
                - content
        '404':
          description: Error response with status 404
          content:
            application/json:
              schema:
                type: object
                properties:
                  errorName:
                    type: string
                    enum:
                    - NotFound
                  content:
                    type: string
                required:
                - errorName
                - content
        '409':
          description: Error response with status 409
          content:
            application/json:
              schema:
                type: object
                properties:
                  errorName:
                    type: string
                    enum:
                    - Conflict
                  content:
                    type: string
                required:
                - errorName
                - content
        '500':
          description: Error response with status 500
          content:
            application/json:
              schema:
                type: object
                properties:
                  errorName:
                    type: string
                    enum:
                    - InternalServerError
                  content:
                    type: string
                required:
                - errorName
                - content
        '501':
          description: Error response with status 501
          content:
            application/json:
              schema:
                type: object
                properties:
                  errorName:
                    type: string
                    enum:
                    - Unimplemented
                  content:
                    type: string
                required:
                - errorName
                - content
      security:
      - default: []
components:
  schemas:
    invoiceTypes_BnplLoanInstallment:
      type: object
      properties:
        number:
          type: integer
          description: Installment number (0 for down payment)
        startDate:
          type: integer
          description: Start date as timestamp in milliseconds
        dueDate:
          type: integer
          description: Due date as timestamp in milliseconds
        maturityDate:
          type: integer
          description: Maturity date as timestamp in milliseconds
        outstandingBalance:
          type: integer
          description: Outstanding balance for this installment in cents
        amount:
          type: integer
          description: Total amount for this installment in cents
        status:
          $ref: '#/components/schemas/invoiceTypes_BnplLoanStatus'
          description: Status of this installment
        type:
          $ref: '#/components/schemas/invoiceTypes_BnplInstallmentType'
          description: Type of installment
        totalPaid:
          $ref: '#/components/schemas/invoiceTypes_BnplInstallmentTotalPaid'
          description: Total amounts paid for this installment
      required:
      - number
      - startDate
      - dueDate
      - maturityDate
      - outstandingBalance
      - amount
      - status
      - type
      - totalPaid
      title: BnplLoanInstallment
    invoiceTypes_BnplOutstandingBalance:
      type: object
      properties:
        principalBalance:
          type: integer
          description: Outstanding principal balance in cents
        feeBalance:
          type: integer
          description: Outstanding fee balance in cents
        totalBalance:
          type: integer
          description: Total outstanding balance in cents
        lateFeeBalance:
          type: integer
          description: Outstanding late fee balance in cents
      required:
      - principalBalance
      - feeBalance
      - totalBalance
      - lateFeeBalance
      title: BnplOutstandingBalance
    invoiceTypes_BnplInstallmentTotalPaid:
      type: object
      properties:
        principalBalance:
          type: integer
          description: Total principal paid in cents
        dueInterest:
          type: integer
          description: Total interest paid in cents
        totalLateFees:
          type: integer
          description: Total late fees paid in cents
        feeAmount:
          type: integer
          description: Total fees paid in cents
      required:
      - principalBalance
      - dueInterest
      - totalLateFees
      - feeAmount
      title: BnplInstallmentTotalPaid
    invoiceTypes_BnplLoanStatus:
      type: string
      enum:
      - PENDING
      - ACTIVE
      - PAID_OFF
      - DELINQUENT
      title: BnplLoanStatus
    invoiceTypes_BnplLoanResponse:
      type: object
      properties:
        loanId:
          type: string
          description: The unique identifier for the loan
        businessExternalId:
          type: string
          description: The external ID of the business entity
        dueDate:
          type: integer
          description: The final due date as timestamp in milliseconds
        originalPrincipalBalance:
          type: integer
          description: The original principal balance in cents
        drawDate:
          type: integer
          description: The date the loan was drawn as timestamp in milliseconds
        repaidAmount:
          type: integer
          description: The total amount repaid in cents
        paymentMethodId:
          type: string
          description: The ID of the payment method used
        repaymentMethodId:
          type: string
          description: The ID of the repayment method
        status:
          $ref: '#/components/schemas/invoiceTypes_BnplLoanStatus'
          description: The current status of the loan
        outstandingBalance:
          $ref: '#/components/schemas/invoiceTypes_BnplOutstandingBalance'
          description: The current outstanding balance breakdown
        termsAgreementFile:
          type: string
          description: URL to the terms agreement file
        invoiceUrl:
          type: string
          description: URL to the invoice PDF
        invoiceAmount:
          type: integer
          description: The original invoice amount in cents
        invoiceExternalId:
          type: string
          description: The external ID of the associated invoice
        invoiceDueDate:
          type: integer
          description: The original invoice due date as timestamp in milliseconds
        downPaymentAmount:
          type: integer
          description: The down payment amount in cents
        installments:
          type: array
          items:
            $ref: '#/components/schemas/invoiceTypes_BnplLoanInstallment'
          description: List of all installments for this loan
        cadence:
          $ref: '#/components/schemas/invoiceTypes_BnplCadence'
          description: The payment cadence for the loan
        baseFeeRate:
          type: number
          format: double
          description: The base fee rate as a percentage
      required:
      - loanId
      - businessExternalId
      - dueDate
      - originalPrincipalBalance
      - drawDate
      - repaidAmount
      - paymentMethodId
      - repaymentMethodId
      - status
      - outstandingBalance
      - invoiceAmount
      - invoiceExternalId
      - invoiceDueDate
      - downPaymentAmount
      - installments
      - cadence
      - baseFeeRate
      title: BnplLoanResponse
    invoiceTypes_BnplCadence:
      type: string
      enum:
      - WEEKLY
      - BIWEEKLY
      - MONTHLY
      title: BnplCadence
    invoiceTypes_BnplInstallmentType:
      type: string
      enum:
      - DOWN_PAYMENT
      - REGULAR
      title: BnplInstallmentType
  securitySchemes:
    default:
      type: http
      scheme: bearer