code: function createCardTransaction(cardId, _ref2, commit, otp, options) {
    let amount = _ref2.amount,
        currency = _ref2.currency,
        destination = _ref2.destination,
        origin = _ref2.origin,
        message = _ref2.message,
        securityCode = _ref2.securityCode;
  
    options = (0, _lodash2.default)({
      body: {
        denomination: {
          amount: amount,
          currency: currency
        },
        destination: destination,
        message: message,
        origin: origin,
        securityCode: securityCode
      },
      method: 'post'
    }, options);
  
    if (commit) {
      options.queryParams = _extends({
        commit: true
      }, options.queryParams);
    }
  
    if (otp) {
      options.headers = _extends({
        'otp-token': otp
      }, options.headers);
    }
  
    return this.api(`/me/cards/${cardId}/transactions`, options);
  }
docs: eslint-disable-next-line max-params