PagoPA MBD - v1 API

APIs for @eBollo v1

GitHub OpenAPI

Operations 2

POST /organizations/{organization-fiscal-code}/mbd getMbd #
GET /organizations/{organization-fiscal-code}/receipt/{nav} getPaymentReceipt #

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/pagopa:pagopa-mbd-v1-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

pagopa-mbd-v1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Marca da Bollo Digitale MBD - v1 API
  description: API for eBollo 2.0
  termsOfService: https://www.pagopa.gov.it/
  version: v1
servers:
- url: https://api.platform.pagopa.it/pagopa-mbd-service/v1
security:
- apiKeyHeader: []
- apiKeyQuery: []
tags:
- name: MBD - v1
  description: APIs for @eBollo v1
paths:
  /organizations/{organization-fiscal-code}/mbd:
    post:
      tags:
      - MBD - v1
      summary: getMbd
      description: Return mbd data for payment on requirement
      operationId: getMdb
      parameters:
      - name: organization-fiscal-code
        in: path
        description: Organization fiscal code
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetMbdRequest'
            example:
              idCIService: '04'
              paymentNotices:
              - amount: 1600
                documentHash: string
                email: mario.rossi@test.test
                firstName: Mario
                fiscalCode: '00000000000000000'
                lastName: Rossi
                province: RM
              returnUrls:
                cancelUrl: https://url2.it
                errorUrl: https://url3.it
                successUrl: https://url1.it
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCartResponse'
              example:
                checkoutRedirectUrl: https://dev.checkout.pagopa.it.it/c/123
                mbdDownloadLink: https://api.platform.pagopa.it/mbd/mbd-payment/v1/00000000000/receipt/300996299640641032
                nav: '300996299640641032'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
              example:
                status: 400
                title: Bad Request
                detail: <detail.message>
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '429':
          description: Too many requests
        '500':
          description: Service unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCartErrorResponse'
              example:
                errorUrl: https://url.it
  /organizations/{organization-fiscal-code}/receipt/{nav}:
    get:
      tags:
      - MBD - v1
      summary: getPaymentReceipt
      description: Return the Marca da Bollo Digitale
      operationId: getPaymentReceipts
      parameters:
      - name: organization-fiscal-code
        in: path
        description: Organization fiscal code
        required: true
        schema:
          type: string
      - name: nav
        in: path
        description: Notice number
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMdbReceipt'
              example:
                content:
                - string
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
              example:
                detail: There was an error processing the request
                status: 400
                title: string
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
              example:
                status: 404
                title: Not Found
                detail: <detail.message>
        '429':
          description: Too many requests
        '500':
          description: Service unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
              example:
                status: 500
                title: Internal Server Error
                detail: <detail.message>
components:
  schemas:
    GetCartResponse:
      type: object
      properties:
        checkoutRedirectUrl:
          type: string
          description: Redirect URL to Checkout page.
          example: https://dev.checkout.pagopa.it.it/c/123
        mbdDownloadLink:
          type: string
          description: URL to download MBD receipt.
          example: https://api.platform.pagopa.it/mbd/mbd-payment/v1/00000000000/receipt/300996299640641032
        nav:
          type: string
          description: Notice number, used to download MBD receipt.
          example: '300996299640641032'
    GetMbdRequest:
      required:
      - idCIService
      - returnUrls
      type: object
      properties:
        idCIService:
          type: string
          description: Identifier of the association between the organization and MBD payment service.
          example: '04'
        paymentNotices:
          maxItems: 1
          minItems: 1
          type: array
          items:
            $ref: '#/components/schemas/PaymentNotice'
        returnUrls:
          $ref: '#/components/schemas/ReturnUrls'
    GetCartErrorResponse:
      type: object
      properties:
        errorUrl:
          type: string
          description: The error URL provided in the request.
          example: https://url.it
    GetMdbReceipt:
      type: object
      properties:
        content:
          type: array
          items:
            type: string
            description: The MBD receipt.
            format: byte
          description: The MBD receipt.
    ReturnUrls:
      required:
      - cancelUrl
      - errorUrl
      - successUrl
      type: object
      properties:
        cancelUrl:
          type: string
          description: Redirect cancel URL.
          example: https://url2.it
        errorUrl:
          type: string
          description: Redirect error URL.
          example: https://url3.it
        successUrl:
          type: string
          description: Redirect success URL.
          example: https://url1.it
    PaymentNotice:
      required:
      - amount
      - documentHash
      - email
      - firstName
      - fiscalCode
      - lastName
      - province
      type: object
      properties:
        amount:
          type: integer
          description: MBD amount (Eurocents value).
          format: int64
          example: 1600
        documentHash:
          type: string
          description: Document hash.
        email:
          type: string
          description: Debtor mail.
          example: mario.rossi@test.test
        firstName:
          type: string
          description: Debtor name.
          example: Mario
        fiscalCode:
          pattern: ^(?:[A-Z]{6}\d{2}[A-Z]\d{2}[A-Z]\d{3}[A-Z]|\d{11})$
          type: string
          description: Debtor fiscal code.
          example: '00000000000000000'
        lastName:
          type: string
          description: Debtor surname.
          example: Rossi
        province:
          type: string
          description: Debtor province.
          example: RM
    ProblemJson:
      type: object
      properties:
        detail:
          type: string
          description: A human readable explanation specific to this occurrence of the problem.
          example: There was an error processing the request
        status:
          maximum: 600
          minimum: 100
          type: integer
          description: The HTTP status code generated by the origin server for this occurrence of the problem.
          format: int32
          example: 400
        title:
          type: string
          description: 'A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized); example: Service Unavailable'
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      name: Ocp-Apim-Subscription-Key
      in: header
    apiKeyQuery:
      type: apiKey
      name: subscription-key
      in: query