UNPKG

ucc-sdk

Version:
18 lines (16 loc) 523 B
import axios from 'axios'; /** * Get Crypto Deposit * @function * @memberof payments * @param {string} customerId - customerId * @param {string} depositId - depositId * @returns {Promise<any>} Get Crypto Deposit Response */ async function getDeposit(customerId, depositId) { const response = await axios.get( `https://4wm9uqkg41.execute-api.eu-central-1.amazonaws.com/customers/${customerId}/crypto-deposits/${depositId}` ); return response.data; } export const _getDeposit = getDeposit;