---
updatedAt: 2026-05-12T10:16:23.000Z
agentTools:
  projectIndex: https://docs.mondu.ai/llms.txt
---

# Pre-check buyer

Check that buyer can use Mondu payment method

### Use Case:

* **Legal Requirement: Show the buyer limit in the checkout or buyer account.**
* If you request the limit, it is legally required to show the information.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "API V1",
    "version": "v1"
  },
  "paths": {
    "/api/v1/buyers/pre_check": {
      "post": {
        "summary": "Pre-check buyer",
        "tags": [
          "Buyers"
        ],
        "description": "Check that buyer can use Mondu payment method",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "successful",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuyerPreCheck"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Unprocessable Entity"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PreCheckBuyerRequest"
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.demo.mondu.ai"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "name": "Api-Token",
        "in": "header"
      }
    },
    "schemas": {
      "DateTime": {
        "type": "string",
        "format": "date-time"
      },
      "NonEmptyString": {
        "type": "string",
        "minLength": 1
      },
      "Name": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1024
      },
      "ExternalId": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1024,
        "description": "Reference ID of resource in external service"
      },
      "Phone": {
        "type": "string",
        "minLength": 1
      },
      "Email": {
        "type": "string",
        "pattern": "^[^@\\s]+@[^@\\s]+$"
      },
      "Currency": {
        "type": "string",
        "enum": [
          "EUR",
          "GBP"
        ],
        "default": "EUR",
        "description": "Currency code according <a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\">ISO_4217</a> i.e EUR"
      },
      "CountryCode": {
        "type": "string",
        "enum": [
          "DE",
          "AT",
          "NL",
          "FR",
          "BE",
          "GB",
          "CH",
          "DK",
          "ES",
          "GR",
          "HU",
          "IE",
          "IT",
          "LT",
          "NO",
          "PL",
          "PT",
          "RO",
          "SE",
          "CY",
          "CZ",
          "EE",
          "FI",
          "IS",
          "LV",
          "LU",
          "MT",
          "SK",
          "SI",
          "BG",
          "HR"
        ],
        "default": "DE",
        "description": "Two-letter country code (<a href=\"https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes\" target=\"_blank\">ISO_3166 Alpha 2</a> )i.e DE"
      },
      "RegistrationID": {
        "type": "string",
        "minLength": 1
      },
      "GrossAmountCents": {
        "type": "integer",
        "minimum": 1
      },
      "NonNegativeInteger": {
        "type": "integer",
        "minimum": 0
      },
      "PaymentType": {
        "type": "string",
        "enum": [
          "prepayment",
          "card",
          "pay_now",
          "pay_later",
          "sms",
          "wallet",
          "other"
        ]
      },
      "BuyerPreCheck": {
        "type": "object",
        "properties": {
          "passed": {
            "type": "boolean"
          }
        }
      },
      "Address": {
        "type": "object",
        "required": [
          "country_code",
          "city",
          "address_line1",
          "zip_code"
        ],
        "properties": {
          "country_code": {
            "$ref": "#/components/schemas/CountryCode"
          },
          "state": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NonEmptyString"
              }
            ],
            "description": "State, county, province, or region."
          },
          "city": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NonEmptyString"
              }
            ],
            "description": "City, district, suburb, town, or village."
          },
          "zip_code": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NonEmptyString"
              }
            ],
            "description": "ZIP or postal code."
          },
          "address_line1": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NonEmptyString"
              }
            ],
            "description": "Street, PO Box, or company name."
          },
          "address_line2": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NonEmptyString"
              }
            ],
            "description": "Apartment, suite, unit, or building."
          }
        }
      },
      "PreCheckBuyerRequest": {
        "type": "object",
        "required": [
          "buyer",
          "account"
        ],
        "properties": {
          "buyer": {
            "type": "object",
            "required": [
              "company_name",
              "registration_id",
              "registration_address"
            ],
            "properties": {
              "company_name": {
                "$ref": "#/components/schemas/Name"
              },
              "registration_id": {
                "$ref": "#/components/schemas/RegistrationID"
              },
              "registration_address": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ],
                "description": "Buyer company registration address."
              }
            }
          },
          "account": {
            "type": "object",
            "required": [
              "external_reference_id",
              "first_name",
              "last_name",
              "email",
              "created_at",
              "updated_at"
            ],
            "properties": {
              "external_reference_id": {
                "$ref": "#/components/schemas/ExternalId"
              },
              "first_name": {
                "$ref": "#/components/schemas/Name"
              },
              "last_name": {
                "$ref": "#/components/schemas/Name"
              },
              "email": {
                "$ref": "#/components/schemas/Email"
              },
              "phone": {
                "$ref": "#/components/schemas/Phone"
              },
              "ip": {
                "$ref": "#/components/schemas/NonEmptyString"
              },
              "purchase_history": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "first_purchase_paid_at",
                    "last_purchase_paid_at",
                    "total_paid_purchases_count",
                    "total_paid_gross_amount_cents",
                    "currency",
                    "payment_type"
                  ],
                  "properties": {
                    "first_purchase_paid_at": {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/DateTime"
                        }
                      ],
                      "description": "First purchase paid timestamp."
                    },
                    "last_purchase_paid_at": {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/DateTime"
                        }
                      ],
                      "description": "Last purchase paid timestamp."
                    },
                    "total_paid_purchases_count": {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/NonNegativeInteger"
                        }
                      ],
                      "description": "Total paid purchases count."
                    },
                    "total_paid_gross_amount_cents": {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/NonNegativeInteger"
                        }
                      ],
                      "description": "Total paid gross amount."
                    },
                    "currency": {
                      "$ref": "#/components/schemas/Currency"
                    },
                    "payment_type": {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/PaymentType"
                        }
                      ],
                      "description": "Payment type."
                    }
                  }
                }
              },
              "created_at": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/DateTime"
                  }
                ],
                "description": "Buyer account created timestamp."
              },
              "updated_at": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/DateTime"
                  }
                ],
                "description": "Buyer account updated timestamp."
              }
            }
          },
          "order": {
            "type": "object",
            "properties": {
              "currency": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Currency"
                  }
                ],
                "description": "Currency code according <a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\">ISO_4217</a>. <br/> Note: the field is required in case gross_amount_cents is set."
              },
              "gross_amount_cents": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GrossAmountCents"
                  }
                ],
                "description": "The gross amount of the order."
              },
              "billing_address": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ],
                "description": "Billing address details."
              },
              "shipping_address": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Address"
                  }
                ],
                "description": "Shipping address details."
              }
            }
          }
        }
      }
    }
  }
}
```

# Sibling pages

* [Onboard Buyer](https://docs.mondu.ai/reference/post_api-v1-buyers.md)
* [Get buyer limit](https://docs.mondu.ai/reference/get_api-v1-buyers-uuid-purchasing-limit.md)
* [Update Buyer Limit](https://docs.mondu.ai/reference/patch_api-v1-buyers-buyer-uuid-update-limit.md)
* [Hosted Buyer Onboarding](https://docs.mondu.ai/reference/post_api-v1-buyers-hosted-onboarding.md)
* [Create billing configuration](https://docs.mondu.ai/reference/post_api-v1-buyers-buyer-uuid-billing-configurations.md)
* [List billing configurations](https://docs.mondu.ai/reference/get_api-v1-buyers-buyer-uuid-billing-configurations.md)