import { _asyncToGenerator } from "../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/asyncToGenerator.js";
import { request } from "../../../../../utils/index.js";
//#region src/components/pay/toC/PaymentMethods/CustomPayment/serve.ts
const customPaymentApi = function() {
	var _ref = _asyncToGenerator(function* (orderId, params) {
		const { data } = yield request.getRequest().post(`/h5/pay/order/custom-payment/${orderId}`, params);
		return data;
	});
	return function customPaymentApi(_x, _x2) {
		return _ref.apply(this, arguments);
	};
}();
//#endregion
export { customPaymentApi };
