pnz-payments-sdk
Version:
PNZ Payments Account and Transaction API
20 lines (16 loc) • 666 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';
/** Fee associated with the offer type. */
export interface Fee {
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 feeSchema: Schema<Fee> = object({
amount: ['Amount', string()],
currency: ['Currency', string()],
});