import { GraphQLClient, gql } from 'graphql-request';
const API_URL = 'https://transactional-graph.fluzapp.com/api/v1/graphql';
const VERIFY_USER_INFORMATION = gql`
mutation verifyUserInformation {
verifyUserInformation(
input: {
firstName: "John"
lastName: "Smith"
streetLine1: "123 Main St"
streetLine2: ""
city: "Los Angeles"
state: "CA"
postalCode: "91234"
country: "United States"
dateOfBirth: "01/28/1975"
ssnLast4: "1234"
}
) {
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_INFORMATION);
console.log(response);
Verificación de identidad
Solicitar una verificación KYC de usuario
Envía la información de identidad del usuario para verificación KYC inmediata.