@circle-fin/circle-sdk
Version:
Node.js SDK for Circle API
37 lines (33 loc) • 1.06 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.
*/
/**
* The destination amount of the refund, it must be in the original payment currency.
* @export
* @interface CryptoRefundCreationRequestToAmount
*/
export interface CryptoRefundCreationRequestToAmount {
/**
* Magnitude of the amount, in units of the currency, with a `.`.
* @type {string}
* @memberof CryptoRefundCreationRequestToAmount
*/
amount: string;
/**
* Currency code.
* @type {string}
* @memberof CryptoRefundCreationRequestToAmount
*/
currency: CryptoRefundCreationRequestToAmountCurrencyEnum;
}
export const CryptoRefundCreationRequestToAmountCurrencyEnum = {
Usd: "USD",
Eth: "ETH",
Btc: "BTC"
} as const;
export type CryptoRefundCreationRequestToAmountCurrencyEnum =
typeof CryptoRefundCreationRequestToAmountCurrencyEnum[keyof typeof CryptoRefundCreationRequestToAmountCurrencyEnum];