IOutput: {
    marketplaceGetOutgoingPayment?: undefined | {
        core_payment?: {
            completed_at?: unknown;
            created_at: unknown;
            id?: null | string;
            memo?: null | string;
            message?: null | string;
            quantity: number;
            status: PaymentStatus;
            symbol: string;
        };
        order?: {
            accepted_cost?: null | string;
            delivery_point_name?: null | string;
            id: string;
            orderer_name?: null | string;
            price_per_unit: string;
            product_name?: null | string;
            quantity: number;
            status: MarketplaceOrderStatus;
            total_cost: string;
            unit_of_measure?: null | string;
        };
        payment: {
            amount: string;
            apl_reception_id: string;
            completed_at?: unknown;
            coopname: string;
            core_payment_id?: null | string;
            created_at: unknown;
            decline_reason?: null | string;
            id: string;
            order_hash: string;
            order_id: string;
            payee_account: string;
            payee_name?: null | string;
            payout_destination?: null | string;
            payout_tx_hash?: null | string;
            purpose: string;
            status: MarketplaceOutgoingPaymentRequestStatus;
            symbol: string;
            updated_at: unknown;
            withheld_amount: string;
        };
    };
}

Type declaration

  • Optional marketplaceGetOutgoingPayment?: undefined | {
        core_payment?: {
            completed_at?: unknown;
            created_at: unknown;
            id?: null | string;
            memo?: null | string;
            message?: null | string;
            quantity: number;
            status: PaymentStatus;
            symbol: string;
        };
        order?: {
            accepted_cost?: null | string;
            delivery_point_name?: null | string;
            id: string;
            orderer_name?: null | string;
            price_per_unit: string;
            product_name?: null | string;
            quantity: number;
            status: MarketplaceOrderStatus;
            total_cost: string;
            unit_of_measure?: null | string;
        };
        payment: {
            amount: string;
            apl_reception_id: string;
            completed_at?: unknown;
            coopname: string;
            core_payment_id?: null | string;
            created_at: unknown;
            decline_reason?: null | string;
            id: string;
            order_hash: string;
            order_id: string;
            payee_account: string;
            payee_name?: null | string;
            payout_destination?: null | string;
            payout_tx_hash?: null | string;
            purpose: string;
            status: MarketplaceOutgoingPaymentRequestStatus;
            symbol: string;
            updated_at: unknown;
            withheld_amount: string;
        };
    }

    Разворот одной выплаты: сама выплата, оплаченный заказ и запись в реестре кассира. Null — выплаты с таким идентификатором в кооперативе нет.