---
updatedAt: 2026-10-27T08:51:14.000Z
---

# /api/diligence/{id}

This endpoint allows you to retrieve a Diligence Application by application ID

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "OpenAPI definition",
    "version": "v0"
  },
  "servers": [
    {
      "url": "https://merchant-services.fiservapp.com/boarding-ui/external-api/lts",
      "description": "Generated server url"
    }
  ],
  "paths": {
    "/api/diligence/{id}": {
      "get": {
        "tags": [
          "diligence-controller"
        ],
        "description": "This endpoint allows you to retrieve a Diligence Application by application ID",
        "operationId": "getApplication_1",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/DiligenceApplicationResponse"
                }
              }
            }
          },
          "204": {
            "description": "No register was found"
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "string",
            "description": "Date and time of error",
            "format": "date-time"
          },
          "statusCode": {
            "type": "integer",
            "description": "HTTP status code",
            "format": "int32"
          },
          "statusMessage": {
            "type": "string",
            "description": "HTTP status message"
          },
          "errorType": {
            "type": "string",
            "description": "HTTP error type"
          },
          "requestPath": {
            "type": "string",
            "description": "HTTP request path"
          },
          "errors": {
            "type": "array",
            "description": "Error list",
            "items": {
              "type": "object",
              "additionalProperties": {
                "type": "object",
                "description": "Error list"
              },
              "description": "Error list"
            }
          }
        }
      },
      "DiligenceAddressResponse": {
        "type": "object",
        "properties": {
          "addressId": {
            "type": "integer"
          },
          "lineOne": {
            "type": "string",
            "description": "Name of street address of the Principal Onwer."
          },
          "lineTwo": {
            "type": "string",
            "description": "Address number of the Principal Owner."
          },
          "lineThree": {
            "type": "string",
            "description": "Complement address of the Principal Owner."
          },
          "city": {
            "type": "string",
            "description": "City address of the Principal Owner."
          },
          "stateCode": {
            "type": "string",
            "description": "State address of the Principal Owner.  It should be standard state codes from Postal Authority."
          },
          "countryCode": {
            "type": "string",
            "description": "Country code address of the Principal Owner.  For a list of valid values get api/v1/application/acquirer-profile endpoint address countryCode."
          },
          "postalCode": {
            "type": "string",
            "description": "Zip code address of the Principal Owner."
          },
          "phoneNumber": {
            "type": "string",
            "description": "Phone number of the Principal Owner. The correct format without any leading zeros."
          },
          "mobileNumber": {
            "type": "string",
            "description": "Principal Phone Number.Leading zeros will not be accepted."
          },
          "email": {
            "type": "string",
            "description": "E-mail address of the Principal Owner."
          }
        }
      },
      "DiligenceApplicationResponse": {
        "type": "object",
        "properties": {
          "diligenceMerchantResponse": {
            "$ref": "#/components/schemas/DiligenceMerchantResponse"
          },
          "diligencePrincipalResponses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiligencePrincipalResponse"
            }
          },
          "salesManDetailsResponse": {
            "$ref": "#/components/schemas/DiligenceSalesManDetailsResponse"
          },
          "diligenceSalesDataResponse": {
            "$ref": "#/components/schemas/DiligenceSalesDataResponse"
          },
          "currencyResponse": {
            "$ref": "#/components/schemas/DiligenceCurrencyResponse"
          },
          "diligenceVisitationResponse": {
            "$ref": "#/components/schemas/DiligenceVisitationResponse"
          },
          "diligenceApplicationStatusDto": {
            "$ref": "#/components/schemas/DiligenceApplicationStatusDto"
          },
          "applicationId": {
            "type": "integer",
            "description": "Application identification. Return on the API after the first save - post:/application/v1."
          }
        }
      },
      "DiligenceApplicationStatusDto": {
        "required": [
          "applicationStatus",
          "diligenceId",
          "diligencePushId"
        ],
        "type": "object",
        "properties": {
          "diligencePushId": {
            "type": "integer"
          },
          "diligenceId": {
            "type": "integer"
          },
          "applicationStatus": {
            "type": "string",
            "enum": [
              "APPROVED",
              "DECLINED",
              "IN_PROCESS",
              "BACK_TO_SALES",
              "DECLINE_REVALUATION"
            ]
          },
          "puwStatus": {
            "type": "string",
            "enum": [
              "APPROVED",
              "DECLINED",
              "IN_PROCESS",
              "BACK_TO_SALES",
              "DECLINE_REVALUATION"
            ]
          },
          "puwReasonCode": {
            "type": "string"
          },
          "creditOfficerId": {
            "type": "string"
          },
          "creditOfficerName": {
            "type": "string"
          },
          "comments": {
            "type": "string"
          },
          "reasonDesc1": {
            "type": "string"
          },
          "reasonDesc2": {
            "type": "string"
          },
          "reasonDesc3": {
            "type": "string"
          },
          "reasonDesc4": {
            "type": "string"
          }
        }
      },
      "DiligenceCurrencyResponse": {
        "type": "object",
        "properties": {
          "currencyId": {
            "type": "integer"
          },
          "applicationCurrency": {
            "type": "string",
            "description": "The identification of merchant (MID) will be based on this supported currency. Possible value: Mexican PESO MXN / 484 or US Dollar USD / 840"
          }
        }
      },
      "DiligenceMerchantResponse": {
        "type": "object",
        "properties": {
          "merchantId": {
            "type": "integer"
          },
          "legalForm": {
            "type": "string",
            "description": "Business Legal Form"
          },
          "businessStartDate": {
            "pattern": "YYYYMMDD",
            "type": "string",
            "description": "The date business opened its doors.",
            "format": "date"
          }
        }
      },
      "DiligenceNationalIdResponse": {
        "type": "object",
        "properties": {
          "nationalId": {
            "type": "integer"
          },
          "type": {
            "pattern": "^[a-zA-Z0-9]{12}",
            "type": "string",
            "description": "National ID Type."
          },
          "value": {
            "pattern": "^[a-zA-Z0-9]{12}",
            "type": "string",
            "description": "National ID Value"
          }
        }
      },
      "DiligenceOutletResponse": {
        "type": "object",
        "properties": {
          "percentDeliveredZeroDays": {
            "type": "number",
            "description": "Percentage of order delivered in 0 days.Mandatory field if settle up card not present at post:/api/v1/application/requiredDetail/eCommerceIndCode/ECOMMERCE_ONLY, BOTH"
          },
          "percentDeliveredSevenDays": {
            "type": "number",
            "description": "Percentage of Order delivered in 1-7 days.Mandatory field if settle up card not present at post:/api/v1/application/requiredDetail/eCommerceIndCode/ECOMMERCE_ONLY, BOTH"
          },
          "percentDeliveredFourTeenDays": {
            "type": "number",
            "description": "Percentage of Order delivered in 0-14 days.Mandatory field if settle up card not present at post:/api/v1/application/requiredDetail/eCommerceIndCode/ECOMMERCE_ONLY, BOTH"
          },
          "percentDeliveredThirtyDays": {
            "type": "number",
            "description": "Percentage of Order delivered in 15-30 days.Mandatory field if settle up card not present at post:/api/v1/application/requiredDetail/eCommerceIndCode/ECOMMERCE_ONLY, BOTH"
          },
          "percentDeliveredThirtyDaysMore": {
            "type": "number",
            "description": "Percentage of Order delivered in more than 30 days.Mandatory field if settle up card not present at post:/api/v1/application/requiredDetail/eCommerceIndCode/ECOMMERCE_ONLY, BOTH"
          },
          "percentMailOrderTelephoneOrder": {
            "type": "number",
            "description": "Percentage of Order placed over Telephone. Mandatory field if settle up card not present at post:/api/v1/application/requiredDetail/eCommerceIndCode/ECOMMERCE_ONLY, BOTH"
          },
          "percentInStore": {
            "type": "number",
            "description": "Percentage of Order placed in Store. Mandatory field if settle up card not present at post:/api/v1/application/requiredDetail/eCommerceIndCode/ECOMMERCE_ONLY, BOTH"
          },
          "percentInternet": {
            "type": "number",
            "description": "Percentage of Order placed on Internet. Mandatory field if settle up card not present at post:/api/v1/application/requiredDetail/eCommerceIndCode/ECOMMERCE_ONLY, BOTH"
          },
          "web": {
            "type": "string",
            "description": "Site url. Mandatory field if percentInternet > 0 and settle up card not present at post:/api/v1/application/requiredDetail/eCommerceIndCode/ECOMMERCE_ONLY, BOTH"
          },
          "outletBusinessId": {
            "type": "integer"
          },
          "creditCardSalesVolume": {
            "type": "number",
            "description": "Rolled up Total Credit Card Sales. If boarding group level, sub-group 1 level or sub-group 2 Level - with multiple outlets - the value shoud be the total Credit Card sales of all the outlets. But, if boarding a Member Level the value must be the total credit card sales of unic outlet."
          },
          "totalAverageTicket": {
            "type": "number",
            "description": "Outlet average ticket. If boarding group level, sub-group 1 level or sub-group 2 Level - with multiple outlets - this should be the average tick value for the respective level. But, if boarding a Member Level the value must be the average ticket for the unic outlet."
          }
        }
      },
      "DiligencePrincipalResponse": {
        "type": "object",
        "properties": {
          "principalId": {
            "type": "integer"
          },
          "firstName": {
            "type": "string",
            "description": "First Name of the Principal Owner."
          },
          "lastName": {
            "type": "string",
            "description": "Last Name of the Principal Owner."
          },
          "dateOfBirth": {
            "pattern": "YYYYMMDD",
            "type": "string",
            "description": "Date of Birth the Principal Owner",
            "format": "date"
          },
          "nationality": {
            "pattern": "^[a-zA-Z]{3}$",
            "type": "integer",
            "description": "Nationality of the Principal Owner",
            "format": "int32"
          },
          "diligenceAddress": {
            "$ref": "#/components/schemas/DiligenceAddressResponse"
          },
          "personalGuarantee": {
            "pattern": "^[YN]{1}$",
            "type": "string",
            "description": "Principal Guarantee Flag. Possible values are yes or no."
          },
          "percentOwnership": {
            "type": "number",
            "description": "Principal Ownership percentage."
          },
          "pullCBReport": {
            "pattern": "^[YN]{1}$",
            "type": "string",
            "description": "Rights to Pull Credit Bureau Report."
          },
          "diligenceNationalId": {
            "$ref": "#/components/schemas/DiligenceNationalIdResponse"
          }
        }
      },
      "DiligenceSalesDataResponse": {
        "type": "object",
        "properties": {
          "salesDataId": {
            "type": "integer"
          },
          "diligenceBusinessProceduresDTO": {
            "$ref": "#/components/schemas/DiligenceOutletResponse"
          }
        }
      },
      "DiligenceSalesManDetailsResponse": {
        "type": "object",
        "properties": {
          "salesManDetailsId": {
            "type": "integer"
          },
          "salesManId": {
            "type": "string",
            "description": "Sales Rep Code"
          },
          "agentFName": {
            "type": "string",
            "description": "Name of the Principal Owner."
          },
          "agentLName": {
            "type": "string",
            "description": "Last Name of the Principal Owner"
          },
          "agentEmailID": {
            "type": "string",
            "description": "E-mail address of the Principal Owner"
          }
        }
      },
      "DiligenceVisitationResponse": {
        "type": "object",
        "properties": {
          "visitationId": {
            "type": "integer"
          },
          "productServiceSold": {
            "pattern": "^[a-zA-Z0-9]{0-200}$",
            "type": "string",
            "description": "Description of Goods and Services sold. Free Form Text, must not be pre-filled."
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```