@circle-fin/circle-sdk
Version:
Node.js SDK for Circle API
51 lines (50 loc) • 1.73 kB
TypeScript
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CryptoPaymentsMoney } from "./crypto-payments-money";
import { PaymentMethodBlockchain } from "./payment-method-blockchain";
/**
*
* @export
* @interface PaymentIntentCreationRequest
*/
export interface PaymentIntentCreationRequest {
/**
* Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests.
* @type {string}
* @memberof PaymentIntentCreationRequest
*/
idempotencyKey: string;
/**
*
* @type {CryptoPaymentsMoney}
* @memberof PaymentIntentCreationRequest
*/
amount: CryptoPaymentsMoney;
/**
* Desired currency for the payments to settle in.
* @type {string}
* @memberof PaymentIntentCreationRequest
*/
settlementCurrency: PaymentIntentCreationRequestSettlementCurrencyEnum;
/**
*
* @type {Array<PaymentMethodBlockchain>}
* @memberof PaymentIntentCreationRequest
*/
paymentMethods: Array<PaymentMethodBlockchain>;
/**
* Unique system generated identifier for the wallet of the merchant.
* @type {string}
* @memberof PaymentIntentCreationRequest
*/
merchantWalletId?: string;
}
export declare const PaymentIntentCreationRequestSettlementCurrencyEnum: {
readonly Usd: "USD";
readonly Btc: "BTC";
readonly Eth: "ETH";
};
export declare type PaymentIntentCreationRequestSettlementCurrencyEnum = typeof PaymentIntentCreationRequestSettlementCurrencyEnum[keyof typeof PaymentIntentCreationRequestSettlementCurrencyEnum];