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

24 lines (20 loc) 670 B
/** * Account information PNZ-API-CentreLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { number, object, Schema, string } from '../schema'; export interface HFEP8ExchangeauthorizationCodeforaccesstoken { tokenType: string; expiresIn: number; refreshToken: string; accessToken: string; } export const hFEP8ExchangeauthorizationCodeforaccesstokenSchema: Schema<HFEP8ExchangeauthorizationCodeforaccesstoken> = object( { tokenType: ['token_type', string()], expiresIn: ['expires_in', number()], refreshToken: ['refresh_token', string()], accessToken: ['access_token', string()], } );