code: function commitCardTransaction(cardId, transactionId, _ref, otp, options) {
    let message = _ref.message,
        securityCode = _ref.securityCode;
  
    options = (0, _lodash2.default)({
      body: {
        message: message,
        securityCode: securityCode
      },
      method: 'post'
    }, options);
  
    if (otp) {
      options.headers = _extends({
        'otp-token': otp
      }, options.headers);
    }
  
    return this.api(`/me/cards/${cardId}/transactions/${transactionId}/commit`, options);
  }
docs: eslint-disable-next-line max-params