UNPKG

pnz-payments-sdk

Version:

PNZ Payments Account and Transaction API

19 lines (18 loc) 768 B
/** * Account and Transaction API SpecificationLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../schema'; import { ErrorCodeEnum } from './errorCodeEnum'; export interface Error { /** Low level textual error code. */ errorCode: ErrorCodeEnum; /** A free text description of the error that occurred. E.g., 'A mandatory field isn't supplied'. */ message: string; /** A recommended but optional reference to the JSON Path of the field with error, e.g., Data.Consent.InstructedAmount.Currency */ path?: string; /** URL to help remediate the problem, provide more information or to API Reference. */ url?: string; } export declare const errorSchema: Schema<Error>;