pnz-payments-sdk
Version:
PNZ Payments Account and Transaction API
20 lines (16 loc) • 675 B
text/typescript
/**
* Account and Transaction API SpecificationLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { object, Schema, string } from '../schema';
/** Amount of money of the cash balance. */
export interface Amount {
amount: string;
/** A code allocated to a currency by a Maintenance Agency under an international identification scheme, as described in the latest edition of the international standard ISO 4217 'Codes for the representation of currencies and funds' */
currency: string;
}
export const amountSchema: Schema<Amount> = object({
amount: ['Amount', string()],
currency: ['Currency', string()],
});