Mangopay User Data Format API

The userDataFormat API from Mangopay — 1 operation(s) for userdataformat.

Operations 1

POST /v2.01/{ClientId}/users/data-formats/validation Validate the format of User data #

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/mangopay:mangopay-userdataformat-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

mangopay-userdataformat-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reference User Data Format API
  version: 1.0.0
servers:
- url: https://api.sandbox.mangopay.com
  description: Sandbox
- url: https://api.mangopay.com
  description: Production
- url: https://api-mtls.sandbox.mangopay.com
  description: mTLS Sandbox
- url: https://api-mtls.mangopay.com
  description: mTLS Production
- url: '%7BCardRegistrationUrl%7D'
  description: "The full dynamic URL returned by the Create a Card Registration call, including host, path, and query parameters. \n"
- url: '%7BSettlementFileUploadUrl%7D'
  description: 'The unique URL returned by the [POST Create a Settlement and secure URL](/api-reference/settlements/create-settlement) endpoint.


    **Note:** Use the full dynamic URL including the host, path, and all query parameters. The URL is already authenticated, so this call does not require an Authorization header.

    '
tags:
- name: userDataFormat
paths:
  /v2.01/{ClientId}/users/data-formats/validation:
    post:
      operationId: userDataFormat_validate_user_data_format
      summary: Validate the format of User data
      description: '**Caution – Veracity of data checked during verification**


        This endpoint only checks that the format of the data corresponds to that which is expected. Whether or not the data is true and correct for the specific User is checked during the user verification process when documents are submitted.


        Validate the format of User data


        This endpoint allows you to check that the format of the `CompanyNumber` is correct and retrieve the validation rules applied to it.


        The `CompanyNumber` must be in the correct format for Business Legal Users to be KYC/B verified.'
      tags:
      - userDataFormat
      parameters:
      - name: ClientId
        in: path
        description: Platform's API account identifier, associated with the API key.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidateTheFormatOfUserDataResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ValidateTheFormatOfUserDataRequest'
      security:
      - oauth2: []
components:
  schemas:
    ValidateTheFormatOfUserDataResponseCompanyNumber:
      type: object
      properties:
        CompanyNumber:
          type: string
          description: The registration number of a legal entity, assigned by the relevant national authority.
        CountryCode:
          type: string
          description: 'Format: Two-letter country code ([ISO 3166-1 alpha-2 format](/api-reference/overview/data-formats))


            The country of the registration of the legal entity, against which the company number format is validated.'
        IsValid:
          type: boolean
          description: Whether the format of the company number is valid for the given country.
        ValidationRules:
          type: array
          items:
            type: string
          description: The validation rules applied to the company number format for the given country.
      description: Information about the registration number of a legal entity. For details, see the [Company number](/guides/users/verification/company-number) article.
      title: ValidateTheFormatOfUserDataResponseCompanyNumber
    ValidateTheFormatOfUserDataRequestCompanyNumber:
      type: object
      properties:
        CompanyNumber:
          type: string
          description: 'The registration number of a legal entity, assigned by the relevant national authority.


            **Note:** Any non-alphanumeric characters, like dashes or spaces, are removed before applying the validation rules.'
        CountryCode:
          type: string
          description: 'Format: Two-letter country code ([ISO 3166-1 alpha-2 format](/api-reference/overview/data-formats))


            The country of the registration of the legal entity, against which the company number format is validated.'
      required:
      - CompanyNumber
      - CountryCode
      description: Information about the registration number of a legal entity. For details, see the [Company number](/guides/users/verification/company-number) article.
      title: ValidateTheFormatOfUserDataRequestCompanyNumber
    ValidateTheFormatOfUserDataResponse:
      type: object
      properties:
        CompanyNumber:
          $ref: '#/components/schemas/ValidateTheFormatOfUserDataResponseCompanyNumber'
          description: Information about the registration number of a legal entity. For details, see the [Company number](/guides/users/verification/company-number) article.
      title: ValidateTheFormatOfUserDataResponse
    Error:
      type: object
      properties:
        Message:
          type: string
          description: Description of the error.
        Type:
          type: string
          description: 'The category of the error.

            '
        Id:
          type: string
          description: Unique identifier of the error instance, useful when contacting Mangopay for support.
        Date:
          type: number
          format: double
          description: Unix timestamp (UTC) of the date and time the error was triggered.
        errors:
          type:
          - object
          - 'null'
          additionalProperties:
            type: string
          description: 'Object containing one or more field-level errors.

            '
      description: 'The error body typically returned by the Mangopay API for any non-2xx HTTP status code.

        '
      title: Error
    ValidateTheFormatOfUserDataRequest:
      type: object
      properties:
        CompanyNumber:
          $ref: '#/components/schemas/ValidateTheFormatOfUserDataRequestCompanyNumber'
          description: Information about the registration number of a legal entity. For details, see the [Company number](/guides/users/verification/company-number) article.
      title: ValidateTheFormatOfUserDataRequest
  securitySchemes:
    oauth2:
      type: http
      scheme: bearer
      description: "Bearer authentication of the form `Bearer <token>`, where token is your auth token. \n\nIf your platform is using a [proxy](/guides/sca/proxy-management) to take SCA-triggering action on behalf of users, you also need to integrate [mTLS authentication](/guides/sca/platform) and use the `api-mtls` base URL."
x-provenance:
  method: harvested
  publisher: Mangopay
  source: https://docs.mangopay.com/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)