UNPKG

pnz-payments-sdk

Version:

PNZ Payments Account and Transaction API

21 lines (17 loc) 740 B
/** * Account and Transaction API SpecificationLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { object, optional, Schema, string } from '../schema'; /** Details of the merchant involved in the transaction. */ export interface MerchantDetails { /** Name by which the merchant is known. */ merchantName?: string; /** Category code conform to ISO 18245, related to the type of services or goods the merchant provides for the transaction. */ merchantCategoryCode?: string; } export const merchantDetailsSchema: Schema<MerchantDetails> = object({ merchantName: ['MerchantName', optional(string())], merchantCategoryCode: ['MerchantCategoryCode', optional(string())], });