# V3 Get Gifts and Grants

API to retrieve the list of Gifts and Grants for a specific borrower pair in a loan.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "version": "1.0",
    "title": "Loan: Loan Verifications",
    "summary": "",
    "description": ""
  },
  "servers": [
    {
      "url": "https://api.elliemae.com",
      "description": "Production"
    },
    {
      "url": "https://concept.api.elliemae.com",
      "description": "UAT"
    }
  ],
  "paths": {
    "/encompass/v3/loans/{loanId}/applications/{applicationId}/giftsGrants": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "V3 Get Gifts and Grants",
        "description": "API to retrieve the list of Gifts and Grants for a specific borrower pair in a loan.",
        "operationId": "get-gifts-and-grants",
        "parameters": [
          {
            "$ref": "#/components/parameters/Authorization"
          },
          {
            "name": "loanId",
            "in": "path",
            "description": "Unique identifier of the loan.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "applicationId",
            "in": "path",
            "description": "Unique identifier of the Application or Borrower Pair in the loan for which VOGGs need to be retrieved..",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Gift-Grant-Contract"
                },
                "examples": {
                  "Model Data Sample": {
                    "value": {
                      "id": "string",
                      "assetType": "string",
                      "attention": "string",
                      "source": "string",
                      "otherSourceDescription": "string",
                      "holderAddressCity": "string",
                      "holderAddressPostalCode": "string",
                      "holderAddressState": "string",
                      "holderAddressStreetLine1": "string",
                      "holderEmail": "string",
                      "holderFax": "string",
                      "holderName": "string",
                      "holderPhone": "string",
                      "amount": 0,
                      "owner": "string",
                      "title": "string",
                      "printAttachmentIndicator": true,
                      "printUserNameIndicator": true,
                      "printUserJobTitleIndicator": true,
                      "depositedIndicator": true,
                      "titlePhone": "string",
                      "titleFax": "string",
                      "giftorGrantDate": "string"
                    }
                  },
                  "Live Data Sample": {
                    "value": [
                      {
                        "id": "3f97f050-680f-43a3-b306-32652c15f214",
                        "assetType": "Grant",
                        "attention": "Gifts and Grants Attention",
                        "source": "Employer",
                        "holderAddressCity": "Pleasanton",
                        "holderAddressPostalCode": "94588",
                        "holderAddressState": "CA",
                        "holderEmail": "gifts@grants.com",
                        "amount": 10000.58,
                        "owner": "Borrower",
                        "printAttachmentIndicator": true,
                        "giftorGrantDate": "2020-03-15",
                        "altId": "85e2f56d-4bb4-4a28-afc1-74f9e2dfec65"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "servers": [
          {
            "url": "https://api.elliemae.com",
            "description": "Production"
          },
          {
            "url": "https://concept.api.elliemae.com",
            "description": "UAT"
          }
        ]
      }
    }
  },
  "components": {
    "parameters": {
      "Authorization": {
        "name": "Authorization",
        "in": "header",
        "description": "Bearer token",
        "required": true,
        "schema": {
          "type": "string"
        }
      }
    },
    "schemas": {
      "Gift-Grant-Contract": {
        "type": "object",
        "title": "Gift-Grant-Contract",
        "properties": {
          "id": {
            "type": "string",
            "description": "System-generated, unique identifier of additional loans in the loan.\r\n"
          },
          "assetType": {
            "type": "string",
            "description": "Type of asset.\r\n"
          },
          "attention": {
            "type": "string",
            "description": "Person's name or department."
          },
          "source": {
            "type": "string",
            "description": "Source of gifts and grants."
          },
          "otherSourceDescription": {
            "type": "string",
            "description": "Description of other source of gifts and grants."
          },
          "holderAddressCity": {
            "type": "string",
            "description": "City of the gift and grants holder's address."
          },
          "holderAddressPostalCode": {
            "type": "string",
            "description": "Postal Code of the gift and grants holder's address."
          },
          "holderAddressState": {
            "type": "string",
            "description": "State of the gift and grants holder's address."
          },
          "holderAddressStreetLine1": {
            "type": "string",
            "description": "Street Line 1 of the gift and grants holder's address."
          },
          "holderEmail": {
            "type": "string",
            "description": "Email Address of the gifts and grants holder."
          },
          "holderFax": {
            "type": "string",
            "description": "Fax Number of the gifts and grants holder."
          },
          "holderName": {
            "type": "string",
            "description": "Name of the gifts and grants holder."
          },
          "holderPhone": {
            "type": "string",
            "description": "Phone number of the gifts and grants holder."
          },
          "amount": {
            "type": "number",
            "description": "Amount of gifts and grants on the loan."
          },
          "owner": {
            "type": "string",
            "description": "Owner of the gifts and grants holder."
          },
          "title": {
            "type": "string",
            "description": "Title of the user verifying the gifts and grants."
          },
          "printAttachmentIndicator": {
            "type": "boolean",
            "description": "Indicates if the attachment is to be printed."
          },
          "printUserNameIndicator": {
            "type": "boolean",
            "description": "Indicates if the user's name is to be printed."
          },
          "printUserJobTitleIndicator": {
            "type": "boolean",
            "description": "Job Title of the user verifying the gifts and grants"
          },
          "depositedIndicator": {
            "type": "boolean",
            "description": "Indicates if the Gift and Grant is deposited."
          },
          "titlePhone": {
            "type": "string",
            "description": "Phone Number of the user verifying the gifts and grants."
          },
          "titleFax": {
            "type": "string",
            "description": "Fax number of the user verifying the gifts and grants."
          },
          "giftorGrantDate": {
            "type": "string",
            "description": "Date on which gifts and grants were assigned to the borrower."
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 105,
      "1": 124,
      "2": 198,
      "3": 34,
      "4": 51,
      "5": 194,
      "6": 73,
      "7": 233,
      "8": 170,
      "9": 196,
      "10": 56,
      "11": 69
    }
  }
}
```