/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ChainEnum } from './ChainEnum'; /** * * @export * @interface CryptoDotComPaymentCreateRequest */ export interface CryptoDotComPaymentCreateRequest { /** * A positive integer representing how much to collect in the smallest currency unit (e.g., 100 cents to collect $1.00). Refer to [Pricing Currencies](https://pay-docs.crypto.com/#api-reference-resources-payments-pricing-currencies) for the smallest unit for each currency. * @type {number} * @memberof CryptoDotComPaymentCreateRequest */ amount: number; /** * Three-letter currency code for the payment amount (pricing currency). Must be a supported fiat currency / cryptocurrency. Refer to [Pricing Currencies](https://pay-docs.crypto.com/#api-reference-resources-payments-pricing-currencies) for the currency code. * @type {string} * @memberof CryptoDotComPaymentCreateRequest */ currency: string; /** * * @type {string} * @memberof CryptoDotComPaymentCreateRequest */ description?: string; /** * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. * @type {object} * @memberof CryptoDotComPaymentCreateRequest */ metadata?: object; /** * * @type {string} * @memberof CryptoDotComPaymentCreateRequest */ orderId?: string; /** * * @type {string} * @memberof CryptoDotComPaymentCreateRequest */ subMerchantId?: string; /** * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight) * @type {string} * @memberof CryptoDotComPaymentCreateRequest */ walletAddress: string; /** * * @type {string} * @memberof CryptoDotComPaymentCreateRequest */ networkId?: string; /** * * @type {ChainEnum} * @memberof CryptoDotComPaymentCreateRequest */ chain: ChainEnum; /** * * @type {string} * @memberof CryptoDotComPaymentCreateRequest */ merchantName?: string; } export declare function CryptoDotComPaymentCreateRequestFromJSON(json: any): CryptoDotComPaymentCreateRequest; export declare function CryptoDotComPaymentCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CryptoDotComPaymentCreateRequest; export declare function CryptoDotComPaymentCreateRequestToJSON(value?: CryptoDotComPaymentCreateRequest | null): any;