{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/moneygram/main/json-schema/moneygram-post-v1-accounts-validate-response-schema.json",
  "title": "PostV1AccountsValidateResponse",
  "x-generated": "2026-10-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/moneygram-openapi-generated.yml#/components/schemas/PostV1AccountsValidateResponse",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "Optional response message."
    },
    "receiver.accountTitle": {
      "type": "string",
      "description": "Name associated with the account."
    },
    "receiver.accountStatus": {
      "type": "string",
      "description": "Account status."
    },
    "receiver.accountCurrency": {
      "type": "string",
      "description": "Currency of the account."
    },
    "receiver.nameMatchPercentage": {
      "type": "string",
      "description": "Percentage match between the beneficiary name and the institution's records."
    },
    "receiver.accountType": {
      "type": "string",
      "description": "Type of account."
    },
    "error.code": {
      "type": "string",
      "description": "MoneyGram-defined error code."
    },
    "error.message": {
      "type": "string",
      "description": "Human‑readable error message."
    },
    "error.target": {
      "type": "string",
      "description": "Field causing the error."
    }
  }
}