/
Full Viewer Query
Full Viewer Query
Query: Viewer
This query retrieves information about the viewer, including user details, account details, and supporting documents.
Input Variables:
$filterBy: SupportingDocumentTypes
: A filter parameter for supporting documents. You can use this to filter documents by type.
GraphQLInput VariableSample Response
query ViewerQuery($supportingDocumentFilter: SupportingDocumentTypes) {
viewer {
id
me {
...UserDetails
userMetadata {
...UserMetadataDetails
}
bvnStatus {
image
}
supportingDocument(filterBy: $supportingDocumentFilter) {
...SupportingDocument
}
}
account {
...AccountDetails
loans: portfolios(orderBy: createdAt_DESC) {
nodes {
...AccountPortfolio
}
}
applications(orderBy: createdAt_DESC) {
nodes {
...AccountApplication
loan: portfolio {
...AccountPortfolio
}
}
}
bankAccounts {
id
bank {
, multiple selections available,
Related content
Viewer
Viewer
More like this
BVN Viewer
BVN Viewer
More like this
GraphQL Basics
GraphQL Basics
More like this
Application
Application
More like this
Portfolio (Loan)
Portfolio (Loan)
More like this
Policy/Loan product Queries & Mutations
Policy/Loan product Queries & Mutations
More like this