@circle-fin/circle-sdk
Version:
Node.js SDK for Circle API
46 lines (41 loc) • 1.19 kB
text/typescript
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
// May contain unused imports in some cases
// @ts-ignore
import { PaymentTokenRequestTokenData } from "./payment-token-request-token-data";
/**
*
* @export
* @interface PaymentTokenRequest
*/
export interface PaymentTokenRequest {
/**
* Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests.
* @type {string}
* @memberof PaymentTokenRequest
*/
idempotencyKey: string;
/**
* Type of the digital wallet token.
* @type {string}
* @memberof PaymentTokenRequest
*/
type: PaymentTokenRequestTypeEnum;
/**
*
* @type {PaymentTokenRequestTokenData}
* @memberof PaymentTokenRequest
*/
tokenData: PaymentTokenRequestTokenData;
}
export const PaymentTokenRequestTypeEnum = {
Applepay: "applepay",
Googlepay: "googlepay"
} as const;
export type PaymentTokenRequestTypeEnum =
typeof PaymentTokenRequestTypeEnum[keyof typeof PaymentTokenRequestTypeEnum];