{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/citi/main/json-schema/citi-merchant-onboarding-response-schema.json",
  "title": "MerchantOnboardingResponse",
  "description": "Response parameters for Merchant Onboarding Response.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/citi-merchantcreation-api-openapi.yml#/components/schemas/Merchant-Onboarding-Response",
  "type": "object",
  "properties": {
    "merchant_id": {
      "$ref": "#/$defs/Merchant-Id"
    },
    "status_details": {
      "$ref": "#/$defs/Status-Details"
    }
  },
  "$defs": {
    "Merchant-Id": {
      "type": "string",
      "description": "Unique identifier generated by Citi for each seller. Seller to use this id for the further functional calls.",
      "title": "merchant_id",
      "minLength": 1,
      "maxLength": 36
    },
    "Message": {
      "type": "string",
      "description": "Description of the status.",
      "title": "message",
      "minLength": 1,
      "maxLength": 500
    },
    "Status": {
      "type": "string",
      "description": "Status of the request.",
      "title": "status",
      "minLength": 1,
      "maxLength": 64
    },
    "Status-Details": {
      "title": "StatusDetails",
      "description": "Status Details.",
      "type": "object",
      "properties": {
        "status": {
          "$ref": "#/$defs/Status"
        },
        "message": {
          "$ref": "#/$defs/Message"
        }
      }
    }
  }
}