Tradeline

'query'

The tradeline query allows you to retrieve a specific tradeline by ID. These query requires authentication and requires your session token to be passed along with the request. (See how to authenticate here).

Query

query Tradeline {
    tradeline(id: ID!) {
        id
        merchant
        category
        isOpen
        isEligible
        paymentFrequency
        serviceAddress
        servicePhone
        leaseStartDate
        utilityTypes
        serviceAddressType
        createdAt
        updatedAt
        transactions(input: { first: Int, after: String }) {
            totalCount
            edges {
                node {
                    id
                    date
                    value {
                        amount
                        currency
                    }
                }
            }
        }
    }
}

Input Attributes from Full User Query

AttributeDescription
idThe unique identifier for the tradeline you are querying.
firstThis is a pagination parameter. (I.e. get the first N records). - Optional. Only required if you are wanting to query for the transactionsas well.
afterThis is a pagination parameter. (I.e. get the first Nrecords AFTERthis cursor). - Optional. Only required if you are wanting to query for the transactionsas well.

Output Attributes from Query

AttributeDescription
idUnique identifier for the organization
merchantMerchant Name.
categoryThe tradeline's category. See TradelineCategory
isEligibleA boolean of whether or not the tradeline is eligible for reporting to credit bureaus. .
paymentFrequencyHow often this tradline is paid. SeePaymentFrequency
serviceAddressThe address associated with the tradeline, if applicable.
servicePhoneThe phone number associated with the tradeline, if applicable.
leaseStartDateThe least start date, if applicable.
utilityTypeThe type of utility, if applicable. See UtilityType
serviceAddressTypeThe type of the address that is associated with the tradeline. See AddressType
createdAtWhen this tradeline was created in the database.
updatedAtWhen this tradeline was last updated in the database.
transactionsThe transactions for this particular tradeline. See Transactions