National Id (DNI Number)

{
    "template_id" : "{{YOUR_TEMPLATE_ID}}",
    "user_data": {
        "identity": {
            "identity_country_code": "PE",
            "identity_number_type": "NATIONAL_ID",
            "identity_number": "{{Valid_DNI_Number}}"
        },
    }
}

Tax Id (RUC)

{
    "template_id" : "{{YOUR_TEMPLATE_ID}}",
    "user_data": {
        "identity": {
            "identity_country_code": "PE",
            "identity_number_type": "TAX_ID",
            "identity_number": "{{Valid_RUC_Number}}"
        },
    }
}