{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bitpagos/main/json-schema/bitpagos-post-api-v1-customers-request-schema.json",
  "title": "PostApiV1CustomersRequest",
  "x-generated": "2026-09-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/bitpagos-openapi-generated.yml#/components/schemas/PostApiV1CustomersRequest",
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "description": "Optional customer identifier supplied by the partner. If you send it, it **must be a valid UUID** — any other value is rejected with a 400. If you omit it, Ripio generates one and returns it in the response."
    },
    "email": {
      "type": "string",
      "description": "The email of the individual or juridical person."
    },
    "phoneNumber": {
      "type": "string",
      "description": "Optional phone number for the customer."
    },
    "type": {
      "type": "string",
      "description": "The type of customer involved."
    }
  },
  "required": [
    "email",
    "type"
  ]
}