@adyen/kyc-components
Version:
This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.
19 lines (18 loc) • 691 B
TypeScript
import type { QueryOptions } from '../types';
import type { RetrieveAddressSuccessResponse } from './address.types';
export declare const useRetrieveFromPostcodeJp: (postalCode: string, options?: QueryOptions<RetrieveAddressSuccessResponse>) => import("@tanstack/preact-query").UseQueryResult<{
city?: string;
country: string;
houseNumberOrName?: string;
isPoBox?: boolean;
line1?: string;
line2?: string;
line3?: string;
locale?: string;
multilocale?: import("./address.contract").components["schemas"]["AddressDetails"][];
poBox?: boolean;
postalCode?: string;
stateOrProvince?: string;
street?: string;
street2?: string;
}, Error>;