UNPKG

digital-payments-sdk

Version:

The APIs detailed within this SDK will enable Shell's Fleet Solutions Customers to digitalize Shell Card/s and use them to pay to refuel their vehicles at Shell Stations.

23 lines (19 loc) 741 B
/** * Shell SmartPay APILib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { object, optional, Schema, string } from '../schema'; export interface AccessTokenResponse { /** It is the token used for the requests that required an authenticated user. This will be used for all the callback URLs. */ accessToken?: string; /** validity of the access token in seconds */ expiresIn?: string; /** Type of token provided */ tokenType?: string; } export const accessTokenResponseSchema: Schema<AccessTokenResponse> = object({ accessToken: ['access_token', optional(string())], expiresIn: ['expires_in', optional(string())], tokenType: ['token_type', optional(string())], });