pnz-payments-sdk
Version:
PNZ Payments Account and Transaction API
30 lines • 1.18 kB
JavaScript
/**
* Account and Transaction API SpecificationLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { lazy, object, optional, string } from '../schema';
import { deliveryAddressSchema } from './deliveryAddress';
import { geoLocationSchema } from './geoLocation';
import { paymentContextCodeEnumSchema, } from './paymentContextCodeEnum';
export const riskSchema = object({
geoLocation: ['GeoLocation', optional(lazy(() => geoLocationSchema))],
paymentContextCode: [
'PaymentContextCode',
optional(paymentContextCodeEnumSchema),
],
merchantCategoryCode: ['MerchantCategoryCode', optional(string())],
merchantCustomerIdentification: [
'MerchantCustomerIdentification',
optional(string()),
],
deliveryAddress: [
'DeliveryAddress',
optional(lazy(() => deliveryAddressSchema)),
],
endUserAppName: ['EndUserAppName', optional(string())],
endUserAppVersion: ['EndUserAppVersion', optional(string())],
merchantName: ['MerchantName', optional(string())],
merchantNZBN: ['MerchantNZBN', optional(string())],
});
//# sourceMappingURL=risk.js.map