UNPKG

pnz-apicentre-sandbox-sdk

Version:

The sandbox, powered by Middleware New Zealand, is a dedicated environment that mimics an API Provider, as defined in the [Payments NZ API Centre standards](https://paymentsnz.atlassian.net/wiki/spaces/PaymentsNZAPIStandards/overview). This SDK is generat

27 lines (23 loc) 732 B
/** * Account information PNZ-API-CentreLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, lazy, object, Schema, string } from '../schema'; import { Amount, amountSchema } from './amount'; export interface Balance { accountId: string; type: string; amount: Amount; creditLine: string[]; dateTime: string; creditDebitIndicator: string; } export const balanceSchema: Schema<Balance> = object({ accountId: ['AccountId', string()], type: ['Type', string()], amount: ['Amount', lazy(() => amountSchema)], creditLine: ['CreditLine', array(string())], dateTime: ['DateTime', string()], creditDebitIndicator: ['CreditDebitIndicator', string()], });