const URL = "/one-api/mockup/process/resultverification-v21/"; export async function history(token, order_id) { try { var resp = await axios.post(URL + 'history/search_v2', { token: token, order_id: order_id }); if (resp.status != 200) { return { status: "ERR", message: resp.statusText }; } let data = resp.data; return data; } catch(e) { return { status: "ERR", message: e.message }; } }