import { GraphQLClient, gql } from 'graphql-request';
const API_URL = 'https://transactional-graph.fluzapp.com/api/v1/graphql';
const VERIFY_USER_PREFILL_INFORMATION = gql`
mutation verifyUserPrefillInformation {
verifyUserPrefillInformation {
status
message
}
}
`;
const client = new GraphQLClient(API_URL, {
headers: {
Authorization: `Bearer <<USER_ACCESS_TOKEN>>`,
'Content-Type': 'application/json',
},
});
const response = await client.request(VERIFY_USER_PREFILL_INFORMATION);
console.log(response);
Identity verification
Request KYC Autofill
Request an identity decision using data already on file for the customer — no fields to submit.