/** * 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 { DestinationConfigInput } from './DestinationConfigInput'; import { SettlementConfigInput } from './SettlementConfigInput'; /** * Create-time payload for a flow. amount, currency, settlementConfig and destinationConfig are written once here (by a trusted API-key caller) and are accepted by no later endpoint. mode is supplied in the URL path. * @export * @interface FlowCreateRequest */ export interface FlowCreateRequest { /** * Amount in the specified currency * @type {string} * @memberof FlowCreateRequest */ amount: string; /** * * @type {string} * @memberof FlowCreateRequest */ currency: string; /** * * @type {SettlementConfigInput} * @memberof FlowCreateRequest */ settlementConfig: SettlementConfigInput; /** * * @type {DestinationConfigInput} * @memberof FlowCreateRequest */ destinationConfig: DestinationConfigInput; /** * Arbitrary metadata attached to the flow * @type {object} * @memberof FlowCreateRequest */ memo?: object; /** * Seconds until the flow expires (default 3600, clamped server-side) * @type {number} * @memberof FlowCreateRequest */ expiresIn?: number; } export declare function FlowCreateRequestFromJSON(json: any): FlowCreateRequest; export declare function FlowCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowCreateRequest; export declare function FlowCreateRequestToJSON(value?: FlowCreateRequest | null): any;