package com.crm.pay.service;


import com.crm.rely.backend.model.entity.finance.deposit.FinanceDepositAddEntity;
import java.util.Map;

/**
 * @program:
 * @description:
 * @author: houn
 * @create: 2025-04-02 18:22
 */
public interface XPayCryptocurrencieService {

    /**
     * 支付
     *
     * @param entity
     * @return
     * @throws ServiceException
     */
    String pay(FinanceDepositAddEntity entity) throws Exception;

    /**
     * 回调
     *
     * @param callbackEntity
     * @throws ServiceException
     */
    void callback(Map<String, String> callbackEntity) throws Exception;
}
