Skip to main content
Audience: This page is for title companies that integrate directly with Pylon to write fees to loan files. If you are a lender or building a general integration, see the Order-Outs Overview and Complete integration guide instead.
You write your final title and settlement fees to the loan file via the API; those values flow into the Closing Disclosure (CD). There is no separate “balancing” step—writing the fees is how the CD gets the correct numbers. Pylon is responsible for all tolerance cures and represents and warrants the file; fees should have been disclosed within TRID tolerance bands at initial disclosure, so you only need to send final amounts.

How to write fees

1. Get the loan’s fees — Query so you have fee IDs and can match your figures to the right line items:
query GetLoanFees($loanId: ID!) {
  loan(id: $loanId) {
    id
    fees {
      id
      feeType
      feeDescription
      feeSpecifiedFixedAmount
      feeTotalPercent
      integratedDisclosureSectionType
    }
  }
}
  • feeSpecifiedFixedAmount is in cents (e.g. 50000 = $500.00).
  • Use feeType, feeDescription, and integratedDisclosureSectionType to map to your title/settlement fees. For percent units, see the GraphQL API Reference for Fee and UpdateFeeInput.
2. Update each fee — Call the fee mutation with UpdateFeeInput: required id, and either feeSpecifiedFixedAmount (cents) or feeTotalPercent. Only send the field you’re updating so you don’t switch a fixed fee to percent (or vice versa).
mutation UpdateFee($input: UpdateFeeInput!) {
  fee {
    update(input: $input) {
      fee {
        id
        feeSpecifiedFixedAmount
        feeTotalPercent
      }
    }
  }
}
Example variables for a $750 fixed amount:
{
  "input": {
    "id": "fee_abc123",
    "feeSpecifiedFixedAmount": 75000
  }
}
Call the mutation once per fee you need to update. The CD will reflect the new amounts.